CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF : 6DOF valve in rotation (https://www.cfd-online.com/Forums/fluent-udf/141894-udf-6dof-valve-rotation.html)

Johnmuddy September 18, 2014 13:53

UDF : 6DOF valve in rotation
 
Hi mates,

Hi mates,
I'm making a simulation of an aortic valve,it is a fluid-structure interaction between the fluid and this valve.
The valve has 1 degree of freedom that is the rotation, so i used this udf:

#include "udf.h"
DEFINE_SDOF_PROPERTIES(valve, prop, dt, time, dtime)
{
prop[SDOF_MASS] = 0.001;
prop[SDOF_IZZ] = 0.00833;
prop[SDOF_ZERO_TRANS_X] = TRUE ;
prop[SDOF_ZERO_TRANS_Y] = TRUE ;
prop[SDOF_ZERO_TRANS_Z] = TRUE ;
prop[SDOF_ZERO_ROT_Y] = TRUE ;
prop[SDOF_ZERO_ROT_Z] = TRUE ;
printf ("\n2d_valve: Updated 6DOF properties");
}

what i missed ?


All times are GMT -4. The time now is 16:32.