andy

August 25, 2008 04:09 
help! about massflowrate boundarycondition UDF
Hi everyone: I am trying to solve a problem using UDF(about massflowrate boundarycondition ). 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("flowtime"); F_PROFILE(f,thread,position) =0.00007*t*t*t*t*t*t+0.00315*t*t*t*t*t0.05087*t*t*t*t+0.39321*t*t*t1.66906*t*t+4.7406*t0.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!
