|
[Sponsors] |
July 30, 2016, 17:05 |
udf
|
#1 |
New Member
ali ariaii
Join Date: Jul 2016
Posts: 2
Rep Power: 0 |
hi,
pls help me to write udf for Pressure inlet Boundary conditions p=2000*sin(2*pi*t) and t:time my problem is 3d |
|
August 1, 2016, 05:07 |
|
#2 | |
Member
ERMACORA Florian
Join Date: May 2016
Posts: 39
Rep Power: 10 |
Quote:
DEFINE_PROFILE(pressure_profile,t,i) { real TIME = CURRENT_TIME; face_t f; begin_f_loop(f,t) { F_CENTROID(x,f,t); y = x[1]; F_PROFILE(f,t,i) = 2000*sin(2*M_PI*TIME); } end_f_loop(f,t) } Normally this will work |
||
August 1, 2016, 17:42 |
Thank you
|
#3 |
New Member
ali ariaii
Join Date: Jul 2016
Posts: 2
Rep Power: 0 |
Thank you
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
Parallelize UDF? Which kind of UDF? | Lilly | FLUENT | 5 | March 25, 2014 03:05 |
Help! Delete the UDM codes in the UDF | Messi | Fluent UDF and Scheme Programming | 2 | January 28, 2014 10:01 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |