|
[Sponsors] |
January 16, 2012, 10:19 |
No more use UDF
|
#1 |
New Member
christophe REHMET
Join Date: Jan 2012
Posts: 5
Rep Power: 14 |
Hi,
I have defined a UDF for 3D Inlet temperature profil and it doesn't works anymore after a crash of fluent. My profil has become flat and I couldn't have good interpretation of all my UDF know. It's really a bad point because I need to give a report about these CFD results this week. I have writing the temperature profil as followed: #include "udf.h" "define domain_ID 2 // enum{OC, NUM_OF_USED_UDM}; DEFINE_PROFILE(inlet_temp, t, i) { real x[ND_ND]; real r; face_t f; real Diameter = 6.e-2; real T_max = 5.e3; real T_max = 3.e2; begin_f_loop(f, t) { F_CENTROID(x,f,t); y = x[1]; z = x[2]; r = sqrt(pow(y,2)+pow(z,2)); F_PROFILE(f, t, i) = (T_max-T_paroi)*(1-pow(2.0*r/Diameter,2))+T_paroi; } end_f_loop(f, thread) } |
|
January 16, 2012, 11:57 |
|
#2 |
New Member
christophe REHMET
Join Date: Jan 2012
Posts: 5
Rep Power: 14 |
I find the solution, I just restarted from the beginning,it was fun
|
|
January 17, 2012, 09:52 |
|
#3 |
Senior Member
shoeb khan
Join Date: Nov 2011
Posts: 179
Rep Power: 15 |
if you have find the solution of your own its the best way there after.
Hope t hat you submit a good report this week |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
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 | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |