|
[Sponsors] |
February 28, 2010, 09:38 |
how write UDF
|
#1 |
New Member
bluesky
Join Date: Feb 2010
Posts: 6
Rep Power: 16 |
In wall BC of attachments, I want to set specified value equal to zero in uds0 in local wall location, and that set specified flux equal to zero in uds0 in other wall location, how write udf?
|
|
February 28, 2010, 22:14 |
|
#2 |
New Member
bluesky
Join Date: Feb 2010
Posts: 6
Rep Power: 16 |
hello,everyone.
is there anyone who do DC nontransfer plasma modelling? i want to ask some questions about the anode spot . thank you very much for your attention! best wishes for everyone! |
|
March 2, 2010, 09:01 |
|
#3 |
New Member
bluesky
Join Date: Feb 2010
Posts: 6
Rep Power: 16 |
DEFINE_PROFILE(anode_spot,thread,position)
{ real NV_VEC(n); real x; real y; real z; face_t f; Thread *t0=NULL; begin_f_loop(f,thread) { F_CENTROID(n,f,thread); x=n[0]; y=n[1]; z=n[2]; if(((x-0.004)*(x-0.004)*(x-0.004)+y*y*y+(z-0.008)*(z-0.008)*(z-0.008))<0.0025*0.0025*0.0025) F_PROFILE(f,thread,position)=0; else cell_t c0=F_C0(f,thread); t0=THREAD_T0(thread); F_PROFILE(f,thread,position)=C_UDSI(c0,t0,V); } end_f_loop(f,thread) } please help me check right or wrong, thanks a lot. |
|
March 3, 2010, 09:32 |
urgent --help me
|
#4 |
New Member
bluesky
Join Date: Feb 2010
Posts: 6
Rep Power: 16 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to write UDF programme inside FLUENT? | coolyihao | Fluent UDF and Scheme Programming | 9 | June 5, 2016 22:08 |
Trying to Write pitch and Plunge UDF | Alex | FLUENT | 0 | March 18, 2006 17:14 |
How to write UDF for pitching&plunging airfoil? | Alex | FLUENT | 0 | March 17, 2006 13:37 |
UDF (write a data file) problem | lichun Dong | FLUENT | 2 | July 29, 2005 12:39 |
UDF to write interp files | Karl | FLUENT | 6 | February 7, 2002 13:10 |