CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

wall boundary condition help!!!

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 11, 2013, 10:28
Default wall boundary condition help!!!
  #1
C.C
Member
 
CC
Join Date: Jun 2011
Posts: 73
Rep Power: 14
C.C is on a distinguished road
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?
C.C is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 06:11.