|
[Sponsors] |
help! about mass-flow-rate boundary-condition UDF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 25, 2008, 05:09 |
help! about mass-flow-rate boundary-condition UDF
|
#1 |
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!
|
|
|
|
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 |