|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
alliche redha
Join Date: Jun 2010
Posts: 53
Rep Power: 17 ![]() |
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 |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |