|
[Sponsors] |
September 13, 2008, 13:59 |
LES initialization
|
#1 |
Guest
Posts: n/a
|
Hello all,
I want to use LES for turbulent pipe flow. After initialization of the RANS field following Fluent guidelines, I switch to LES, but I always end up with laminar flow. Any clue how I could initialize the flow to reach turbulent conditions with LES? Thanks. Abdel |
|
September 19, 2008, 08:54 |
Re: LES initialization
|
#2 |
Guest
Posts: n/a
|
I'm simulating the turbulent channel flow and i used the logistic map:
/************************************************** ******************** UDF for initialize the field with the logistic map ************************************************** ********************/ #include "udf.h" DEFINE_INIT(init_func,d) { cell_t c; Thread *t; real x[ND_ND]; real x0, y0, z0; real pi, ck, cn; real ax, ay, a0, ak; pi = M_PI; ck = 0.5; cn = 3.891; ax = 20.0*pi; ay = 20.0*pi; ak = ck; thread_loop_c(t,d) { begin_c_loop_all(c,t) { C_CENTROID(x,c,t); x0 = x[0]; y0 = x[1]; z0 = x[2]; a0 = ak; ak = cn*a0*(1-a0); C_U(c,t) = -20.0*y0*(y0-2) + 4.0*(0.5-ak); a0 = ak; ak = cn*a0*(1-a0); C_V(c,t) = 4.0*(0.5-ak); a0 = ak; ak = cn*a0*(1-a0); C_W(c,t) = 4.0*(0.5-ak); } end_c_loop_all(c,t) } } and it seems to work properly. Some stuff in the UDF is not used but it should work |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
initialization | kunal | FLUENT | 5 | April 17, 2008 23:45 |
Initialization - VOF | moas | FLUENT | 4 | February 19, 2008 23:35 |
DPM Initialization | Johannes | FLUENT | 1 | June 20, 2007 10:27 |
initialization | alfa | FLUENT | 0 | March 19, 2006 11:26 |
Initialization of VOF | Jennie | Main CFD Forum | 4 | November 18, 1999 17:41 |