|
[Sponsors] |
April 27, 2009, 04:38 |
[UDF]a boundery condition
|
#1 |
New Member
Eric
Join Date: Apr 2009
Posts: 23
Rep Power: 17 |
the boundary condition is dT/dn=f(t) .
I think we should use DEFINE_PROFILE to difine the boundary condition, #include "udf.h" DEFINE_PROFILE(currentdensity,thread,position) { begin_f_loop(f,thread) { a=f(t)/////suppose we have known f(t); F_PROFILE(f,thread,position)=a; } end_f_loop(f,thread) } i think the one with red color defines T=f(t), not dT/dn=f(t); how to modify F_PROFILE(f,thread,position)=a; to define dT/dn=f(t); thank every dear friends! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Airfoil boundary condition | Frank | Main CFD Forum | 1 | April 21, 2008 18:36 |
Slip boundary condition what is inside | normunds | OpenFOAM Running, Solving & CFD | 2 | June 4, 2007 06:45 |
kiva boundery condition | ali | Main CFD Forum | 0 | February 4, 2007 01:45 |
how to set the boundery condition ? | Yun Heming | Main CFD Forum | 1 | June 29, 2005 09:08 |
The Boundary Condition about the Flat Plate | boing | Main CFD Forum | 1 | January 6, 2002 16:53 |