# UDF for time-dependent velocity polynomial using VOF model

 Register Blogs Members List Search Today's Posts Mark Forums Read

 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: 10 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 lazregenset likes this.

 October 26, 2009, 08:23 #2 Member   Krishna Join Date: Oct 2009 Posts: 34 Rep Power: 10 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: 10 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, 09:51 hi im soory .have guive mi your tim #4 New Member   lazreg Join Date: Jul 2014 Posts: 9 Rep Power: 5 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

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post baechtel Fluent UDF and Scheme Programming 1 April 18, 2016 19:39 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36 dm2747 FLUENT 0 April 17, 2009 01:29 Jay FLUENT 1 March 5, 2005 01:00 nazeem FLUENT 1 October 8, 2004 11:22

All times are GMT -4. The time now is 14:44.