|
[Sponsors] |
October 5, 2009, 12:32 |
help regarding UDF
|
#1 |
New Member
anil
Join Date: Aug 2009
Posts: 5
Rep Power: 16 |
hi,
the manifold pic given below is the one i'm trying to do a CFD on. the input velocity is in the form of sine wave. i have taken the velocity depending on the flow time. so i wrote the UDF as DEFINE_PROFILE(inlet_xv_sinusoidal, /* function name */ thread, /* thread */ nv) /* variable number */ { face_t f; real t = RP_Get_Real("flow-time"); begin_f_loop (f,thread) { F_PROFILE(f,thread,nv) = 50.*sin(712.*t); } end_f_loop (f,thread) } but it is not giving me a sine wave form. can u plz help me with this.. any other suggestions are a great help for my work.. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 07:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 22:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 21:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 04:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 04:01 |