|
[Sponsors] |
November 11, 2013, 10:28 |
wall boundary condition help!!!
|
#1 |
Member
CC
Join Date: Jun 2011
Posts: 73
Rep Power: 14 |
Hi all,
I want implement a new turbulence model (CHC model) and the wall boundary condition for epsilon is: 2*kinematic viscosity*k/(wall distance)^2 in which kinematic viscosity, k and wall distance have the values corresponding to the 1st node off wall. Anyone knows how can I implement this. I tried: /* Wall boundary condition epsilon */ DEFINE_PROFILE(wall_epsilon,t,i) { cell_t c; real xw[ND_ND]; real rw; real EpsWall; begin_c_loop(c,t) { C_CENTROID(xw,c,t); rw=xw[1]; EpsWall=2.*C_UDSI(c,t,TKE)*0.001003/998.2/SQR(0.0381-rw); F_PROFILE(c,t,i)=EpsWall; } end_c_loop(c,t) } The value obtained is always zero, but epsilon is different from zero. Please, anyone can help me? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 00:04 |
Applying Rotational Boundary Condition on Surface with Radial Wall | tango711 | CFX | 16 | October 9, 2018 07:01 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 05:57 |
isothermal wall boundary condition | Neil | Main CFD Forum | 3 | November 9, 2015 02:34 |
Dirichlet boundary condition for additional variable on the wall | ftab | CFX | 13 | January 27, 2013 12:24 |