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

6DOF for moving piston

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2016, 19:12
Default 6DOF for moving piston
  #1
Member
 
alliche redha
Join Date: Jun 2010
Posts: 53
Rep Power: 15
cheredha is on a distinguished road
hello everybody;
i have a problem with 6DOF.

Imagine a cylinder closed by a piston mass (eg 1 kg) and filled with a gas (eg air) . if I let the piston, it will move down.

and it stops if:

the piston weight (p = m.g ) = pressing force ( pressure force = pressure. area)


here is the UDF that I use :

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

DEFINE_SDOF_PROPERTIES(mass_6dof, prop, dt, time, dtime)
{
prop[SDOF_MASS] = 1;
prop[SDOF_ZERO_TRANS_X] = TRUE;
prop[SDOF_ZERO_TRANS_Y] = FALSE;
prop[SDOF_ZERO_TRANS_Z] = TRUE;
prop[SDOF_ZERO_ROT_X] = TRUE;
prop[SDOF_ZERO_ROT_Y] = TRUE;
prop[SDOF_ZERO_ROT_Z] = TRUE;
prop[SDOF_LOAD_F_Y] = -9.81*1;

}


the problem is that the piston does not stop

the real case :


my case:



thank you in advance
cheredha is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
6DOF piston amrmoataz Fluent UDF and Scheme Programming 1 April 7, 2016 09:36
one piston dynamic deforming and mesh moving simultaneously john Lu FLUENT 1 June 20, 2014 08:13
Piston Cooling Nozzle Simulation rajeev50588 STAR-CCM+ 1 February 26, 2013 04:41
Piston Simulation helloworld922 Autodesk Simulation CFD 1 September 9, 2012 23:54
Piston stroke cutoff ChesterP FLUENT 7 April 1, 2010 23:58


All times are GMT -4. The time now is 04:55.