CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

help! about mass-flow-rate boundary-condition UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2008, 05:09
Default help! about mass-flow-rate boundary-condition UDF
  #1
andy
Guest
 
Posts: n/a
Hi everyone: I am trying to solve a problem using UDF(about mass-flow-rate boundary-condition ). My short code is as follows: #include "udf.h" DEFINE_PROFILE(unsteady_massflow,thread,position) { face_t f; begin_f_loop(f,thread) { real t = RP_Get_Real("flow-time"); F_PROFILE(f,thread,position) =-0.00007*t*t*t*t*t*t+0.00315*t*t*t*t*t-0.05087*t*t*t*t+0.39321*t*t*t-1.66906*t*t+4.7406*t-0.70907; } end_f_loop(f,thread) } The compile was wrong.Can anyone please help me with this program or give me some advice? Thank you so much. I am nearly exhausted by this problem!

  Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can apply mass flow rate boundary condition? Sima Phoenics 1 December 1, 2007 19:55
HOW TO GIVE FLOW RATE IN OUTLET BOUNDARY CONDITION venky FLUENT 1 April 5, 2006 05:09
Constant Volumetric Flow Rate Boundary Condition Hadley Main CFD Forum 0 October 21, 2005 00:13
Unsteady mass-flow rate boundary condition Leon FLUENT 0 October 20, 2004 07:29
Constant mass flow rate / choking outlet bounardy condition Min Zhu Main CFD Forum 1 September 29, 1998 16:33


All times are GMT -4. The time now is 05:28.