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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2012, 10:54
Post Wall Boundary Condition
  #1
akm
New Member
 
Join Date: Jan 2010
Location: Netherlands
Posts: 28
Rep Power: 16
akm is on a distinguished road
I'm trying to modify the default k-eps turbulence model in Fluent using udfs, and i wanted to set the boundary conditions as per my requirement.

Now the Fluent manual says that it "takes care of the wall boundary conditions for k(turbulent kinetic energy) and epsilon (energy dissipation rate) at the wall", but is there any way i can change the B.C. conditions of epsilon on the wall using a udf?
akm is offline   Reply With Quote

Old   April 28, 2012, 12:02
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Hi,

The general idea is to use 2 UDS for k and e; consequently, you can set appropriate BCs on these scalars.

Bests,
__________________
Amir
Amir is offline   Reply With Quote

Old   May 8, 2012, 17:08
Default UDF profil
  #3
New Member
 
moon
Join Date: Feb 2012
Posts: 26
Rep Power: 14
moun139 is on a distinguished road
i try to intoduce this UDF ,but it return me eror line 18 :invalid type for pointer dereference: double. ; what is the problem?

#include "udf.h"

#define A 0.1;
#define B 0.01;

DEFINE_PROFILE(frac,t,i)
{
real ma=0.002;
real grad=0.002;
cell_t c;
face_t f;

begin_f_loop(f,t)
{

grad=C_YI_G(c,t,i)[1];

ma=A-B*grad;
}
end_f_loop(f,t)
}
moun139 is offline   Reply With Quote

Reply

Tags
boundary condition, dissipation rate, k-e model, turbulence, udf


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 01:04
Domain Imbalance HMR CFX 5 October 10, 2016 06:57
isothermal wall boundary condition Neil Main CFD Forum 3 November 9, 2015 03:34
CFX13 Post Periodic interface EtaEta CFX 7 December 8, 2011 18:15
Variable temperature wall boundary condition Virginie FLUENT 2 October 2, 2007 10:23


All times are GMT -4. The time now is 02:50.