CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[ANSYS Meshing] Dynamic mesh on rotary engine

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 24, 2011, 02:37
Default Dynamic mesh on rotary engine
  #1
New Member
 
Join Date: Mar 2011
Posts: 2
Rep Power: 0
mark yoe is on a distinguished road
I'm newbie here. I got prob with dynamic mesh in FLUENT
can anybody help me on doing udf in order to make the rotor of the rotary engine cycle continuously in 360 degree
mark yoe is offline   Reply With Quote

Old   May 24, 2011, 16:18
Default
  #2
New Member
 
Fergus Cannon
Join Date: Mar 2011
Posts: 2
Rep Power: 0
fergie_cannon is on a distinguished road
hey, i had a really similar problem this semester for my final project which unfortunately i havent been able to complete. The udf wouldnt compile for me when i was trying to set up the library, twas a bit of a bummer but i guess this would be more of a phd thing than a bachelors degree project. Anyways, have you had a look at the fluent UDF manual? it pretty much says that you can use the define_cg_motion macro to tell fluent the linear or rotational velocity of the rotor though i think you've picked a rough one trying to do rotary engines what with the eccentric shaft mounting, assuming its like a wankel engine that is. From the example in the manual, it looks like you can use pressures on faces of the rotor/piston to calculate accelerations and thus given a starting velocity of zero and a given time step you can calculate the velocity at a given time. After that i think you just have to tell it where the centre of rotation is in fluent and smash in all the various dynamic meshing properties. How have you been getting on with this project anyways?
fergie_cannon is offline   Reply With Quote

Old   September 4, 2011, 12:42
Default
  #3
Member
 
Join Date: May 2010
Posts: 57
Rep Power: 7
Catthan is on a distinguished road
Hi guys!

Mark yoe have you had any luck with the UDF?

I'm having the same problem myself..

Please post if you figured it out..
Thanks

Best wishes,
Thanos
Catthan is offline   Reply With Quote

Old   November 15, 2012, 15:32
Unhappy Please help me
  #4
New Member
 
sara
Join Date: Nov 2012
Posts: 2
Rep Power: 0
sonia.majd is on a distinguished road
Hi to all
I am also trying to model the gas circuit in a Wankel engine,I cannot figure out the proper UDF to move the rotor CG along the eccentricity path and then rotate the rotor around its CG.
I have find a UDF (following code) that describe rotating of rotor respect to the geometric center of housing, but Iím cannot Define rotation of rotor respect to its own geometric center.

Code:
#include "udf.h"
#define r -0.0116 /*Eccentricity*/
float beta;
DEFINE_CG_MOTION(rotor, dt, vel, omega,time, dtime)
{
NV_S(vel, =, 0.0);
NV_S(omega, =, 0.0);
omega[2] = 314.16; /*angular velocity in rad/sec*/
beta = 942.48; /*angular velocity of rotor in rad/sec*/
vel[0] = -beta*r*sin(beta*time);
vel[1] = beta*r*cos(beta*time);
vel[2]= 0;
}

Can anybody please give me some guidance?
Best regards.
Sonia majd
sonia.majd is offline   Reply With Quote

Old   November 16, 2012, 04:53
Default
  #5
Member
 
Join Date: May 2010
Posts: 57
Rep Power: 7
Catthan is on a distinguished road
Hi Sonia,

the UDF you've found is the one everyone seems to be using.
It should be OK.

The velocity expressions are the obtained by differentiating the x and y coordinates equations as you know.

These include a part that "says" that the CG of the rotor moves on the periphery of a circle and the other part "says" that the tips follow the path of the peritrochoid.

So, differentiating those you get 2 velocity equations that should be all you need.


Check that your rotor has the proper dimensions, eccentricity particularly, and make sure you define you dynamic mesh settings correctly.

There's a lot to read about that in the users guide and the manual.

Make sure you compile the UDF correctly and that "rotor" appears in the rigid body drop down list for mesh motion. Have your rotor center coordinates in hand and you may need to play with the orientation angle.

Is your problem with meshing error (negative volumes etc) or is it that the rotor is not moving at all??


There are other Wankel threads in the Fluent and possibly UDF sections of the forum that would be a good read for you.

Also make sure that the tips or seals don't touch the housing. There needs to be a gap..
The issue with the gap at tips is that the bigger, the less problems you have in solving.. However, depending on the pressure gradients developed, there will be backflow and pressure loss. So you need to keep the gap small.
But you can worry about that later..
Catthan is offline   Reply With Quote

Old   November 21, 2012, 17:23
Default
  #6
New Member
 
sara
Join Date: Nov 2012
Posts: 2
Rep Power: 0
sonia.majd is on a distinguished road
Hi Catthan, I appreciate your attention and thanks for your guidance.
Iím solving three-dimensional flow in Wankel engine.
After compiling the user defined function (UDF) in Fluent and setting all the dynamic parameters and dynamic zones parameterís when I check the dynamic mesh motion it is giving me the message of NEGATIVE VOLUME DETECTED .i.e. dynamic mesh update failed. What exactly it mean? How to minimize the negative volume?
I guess rotor center coordinates and its orientation angle is properly selected and I am using smoothing and remeshing and not layering.
Maximum cell skewness is 0.8 and Iím using two zones in dynamic mesh setting, rotor as rigid body motion and housing as stationary zone.
But I donít know how to define cell height?
I would be pleased more, if you help me in this regard.
sonia.majd is offline   Reply With Quote

Old   November 17, 2014, 12:21
Default Same problem
  #7
New Member
 
Amin
Join Date: Nov 2014
Location: Istanbul/ MŁnchen
Posts: 1
Rep Power: 0
amin. is on a distinguished road
Hi All
I have the same problem of how to define the mesh moving for wankel engine with fluent.
I think this post is old but if it is possible, some one help me on this
Thank all
amin. is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incylinder dynamic mesh with volumetric reaction mas FLUENT 4 May 3, 2012 10:22
Dynamic Mesh on Pintle type injector. herntan FLUENT 15 January 4, 2012 04:31
Dynamic Mesh moving interface help akash.iitb FLUENT 0 August 23, 2010 23:53
Dynamic Mesh Pj FLUENT 1 March 12, 2007 16:16
dynamic mesh and sliding mesh nasser FLUENT 0 November 1, 2005 03:37


All times are GMT -4. The time now is 03:33.