CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF to define the motion of vanes in an air motor

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2017, 08:07
Post UDF to define the motion of vanes in an air motor
  #1
New Member
 
Lalith Muralikrishnan
Join Date: Sep 2017
Posts: 1
Rep Power: 0
lalith3930 is on a distinguished road
Hi,

I am trying create a CFD model of a vane type air motor which rotates when the pressure is applied at the inlet.

I am trying to use the dynamic meshing option in fluent in my model. The interior part is defined as a deforming mesh. The rotor and the passive mesh along the rotor is defined as the rigid body motion and is free to rotate in z axis. I have used the following UDF code to define this,

#include "udf.h"
#include "math.h"

DEFINE_SDOF_PROPERTIES(rotor,prop,dt,time,dtime)
{
prop[SDOF_MASS] = 0.187;
prop[SDOF_IZZ] = 55890.50 ;
prop[SDOF_ZERO_TRANS_X]=TRUE;
prop[SDOF_ZERO_TRANS_Y]=TRUE;
prop[SDOF_ZERO_TRANS_Z]=TRUE;

prop[SDOF_ZERO_ROT_X]=TRUE;
prop[SDOF_ZERO_ROT_Y]=TRUE;
prop[SDOF_ZERO_ROT_Z]=FALSE;
}

Now I am not sure how I should define the motion of the vanes and the passive layer of mesh around the vanes. It should rotate freely about the z axis, and have the same centre of rotation as the rotor, but should also be simultaneously be in contact with the stator walls. So setting the rotational degree of motion about z axis is not enough, but the profile of the CG motion should also be specified for the vanes.

I dont know how to enable both SDOF motion and specify CG motion in fluent. Any ideas on how should proceed on this further?
Or am I approaching at this in a wrong way? Any inputs on my approach will also be much helpful

I am attaching the pictures of the mesh for your reference.

Thanks in advance.

Regards,
Lalith
Attached Images
File Type: jpg overall_mesh.JPG (70.2 KB, 10 views)
File Type: jpg mesh at vanes.JPG (150.7 KB, 7 views)
lalith3930 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CG Motion UDF Problem leoarmas Fluent UDF and Scheme Programming 17 February 14, 2023 09:59
Problem with UDF for CG Circular Motion luthlau Fluent UDF and Scheme Programming 1 September 16, 2016 03:08
An odd ERROR mdakbari Fluent UDF and Scheme Programming 7 April 4, 2016 05:30
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 08:59


All times are GMT -4. The time now is 14:13.