|
[Sponsors] |
August 12, 2009, 12:15 |
UDF lookup table or similar...
|
#1 |
New Member
Join Date: Jun 2009
Posts: 6
Rep Power: 17 |
hi,
i have points (x,y) of temperature measured along a surface. i want to use these points as a wall temperatures. i have a UDF where i can assign temperatures to a face via functions, but i want to input the real temperature points. can anyone help me please? Code:
DEFINE_PROFILE(temperature_profile, thread, position) { real r[ND_ND]; /* this will hold the position vector */ real x; real y; face_t f; begin_f_loop(f, thread) { F_CENTROID(r,f,thread); x = r[0]; y=r[1]; F_PROFILE(f, thread, position) = some temperature function; } end_f_loop(f, thread) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
Convergence on anisotropic tetahedral meshes | pbo | OpenFOAM Running, Solving & CFD | 12 | December 14, 2010 12:59 |
lookup table UDF for dynamic mesh | potrero | Fluent UDF and Scheme Programming | 1 | March 30, 2009 02:41 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |