|
[Sponsors] |
February 2, 2012, 14:05 |
about udf
|
#1 |
New Member
peiyuan
Join Date: Feb 2012
Posts: 3
Rep Power: 14 |
hi,
i meet a problem when i use udf. i want to ascertain the heat flux of the wall. but the steel is decreasing with time in the ladle. so the heat flux is different for the wall and steel interface. i write the following order, can you help me check whether it is correct? #include "udf.h" DEFINE_PROFILE(wall_heat_flux,t,i) { face_t f; real y; begin_f_loop(f,t) { y=F_R(f,t); if(y>1.225) F_PROFILE(f,t,i) =20000.0; else F_PROFILE(f,t,i) =900.0; } end_f_loop(f,t) } i am a beginner in learning udf. thank you very much. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
Source Term UDF VS Porous Media Model | pchoopanya | Fluent UDF and Scheme Programming | 1 | August 28, 2013 07:12 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |