|
[Sponsors] |
UDF for time-dependent velocity polynomial using VOF model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 26, 2009, 07:40 |
UDF for time-dependent velocity polynomial using VOF model
|
#1 |
New Member
Rahaman Md. Mashiur
Join Date: Apr 2009
Posts: 4
Rep Power: 17 |
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 |
|
October 26, 2009, 08:23 |
|
#2 |
Member
Krishna
Join Date: Oct 2009
Posts: 34
Rep Power: 17 |
Can you tell about the error you are getting
|
|
October 26, 2009, 10:14 |
|
#3 |
New Member
Rahaman Md. Mashiur
Join Date: Apr 2009
Posts: 4
Rep Power: 17 |
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. |
|
July 17, 2014, 10:51 |
hi im soory .have guive mi your tim
|
#4 |
New Member
lazreg
Join Date: Jul 2014
Posts: 9
Rep Power: 12 |
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 |
|
August 29, 2018, 08:56 |
How to write UDF for defining the fluid properties???
|
#5 |
New Member
Devanarayanan
Join Date: Aug 2018
Posts: 3
Rep Power: 8 |
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.
Linkhttps://syeilendrapramuditya.wordpre...ic-properties/) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Phase velocity in VOF model UDF | baechtel | Fluent UDF and Scheme Programming | 2 | August 4, 2019 12:17 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
help; UDF of VOF model | Jay | FLUENT | 1 | March 5, 2005 01:00 |
UDF for ellipse shape volume patch in VOF model | nazeem | FLUENT | 1 | October 8, 2004 12:22 |