UDF for time-dependent velocity polynomial using VOF model
For 2D water entry problem with VOF model I want to input the following inlet velocity polynomial
v(t)=2.436+3.82t+326.3t2-7255t3+39381t4 0.0<=t<=0.08 I worte the following UDF but it is not working , if possible please help me. I am beginner in writing UDF #include"udf.h" DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; real t=RP_Get_Real("flow-time") begin_f_loop(f,thread) { F_PROFILE(f,thread,position)=2.436+3.82 *t+ 326.3*pow(t,2)-7255*pow(t,3)+39381*pow(t,4); } end_f_loop(f,thread) } Thank you very much |
Can you tell about the error you are getting
|
thank you very much for your reply. actually it does not give any error when i compile it but i am not sure is it ok for my simulation case or not. Do u know what type of boundary condition to need to use for flow separation from sharp corner in case of inviscid model in FLUENT?
Thank you once again for your reply. |
hi im soory .have guive mi your tim
how to calcul A1.A2.A3....
http://jullio.pe.kr/fluent6.1/help/html/ug/node282.htm im in th big pb .halp me soory and thanks |
How to write UDF for defining the fluid properties???
I have set of polynomial equations which defines the water properties like density, thermal conductivity,dynamic viscosity, specific heat capacity and i want to write UDF for my research work. kindly explain me with example.
Link:(https://syeilendrapramuditya.wordpre...ic-properties/) |
All times are GMT -4. The time now is 14:59. |