how can give UDF for mass (m_dot=m0*cos(omega*t)) for Periodic BC
hello guys !!! do u have any Idea how is it work periodic boundary condition in fluent when we choses UDF for mass (m_dot=m0*cos(omega*t))....
|
DEFINE_PROFILE(pressure,thread,index)
{ real m_dot real m0 = 5.0 (some value) real omega real t=CURRENT_TIME face_t f; m_dot = m0*cos(omega*t); begin_f_loop(f,thread){F_PROFILE(f,thread,index) = m_dot;}end_f_loop(f,thread) } Apply this on your pressure boundary. Should work. Read through the UDF manual for fluent. It helps. http://my.fit.edu/itresources/manual...help/index.htm |
All times are GMT -4. The time now is 23:12. |