|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
LimDongHyun
Join Date: Jun 2018
Posts: 1
Rep Power: 0 ![]() |
sorry about my native langauge is not english
i study tornado(Diwakar Natarajan's paper). I want to see resault with fluent my question is how make a udf file tangential velocity? like this v_(R_0) (H and R is fixed number and U is radial velocity) AND i make radial veloicity udf code. is it correct? #define B 1./7. #define zone 0.25 #define u 10 DEFINE_PROFILE(inlet_x_velocity, t, i) { real x[ND_ND]; /* variable declarations */ real z; //real r0 , h0 ; face_t f; //r0 = 1.52; //h0 = 0.41; begin_f_loop(f, t) { F_CENTROID(x, f, t); z = x[2]; F_PROFILE(f, t, i) = u * pow(z/ zone, B); } end_f_loop(f, t) } thank you for read this message and help me please |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
| centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
| [swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
| pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
| OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |