CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Boundary condition to UDS

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 30, 2004, 06:53
Default Boundary condition to UDS
  #1
ramesh
Guest
 
Posts: n/a
hi, Iam giving outflow boundary condition for all flow variables at the exit. For User defined scalars at the exit, I want to give normal gradient is zero( which is different from the two options given in for UDS). For that i want to write a UDF. Can u tell me which Define macro can be used for this, if we can write UDF for defining BC for UDS. Please help me in this.

Thanks a lot
  Reply With Quote

Old   May 30, 2004, 14:11
Default Re: Boundary condition to UDS
  #2
mehdi_a
Guest
 
Posts: n/a
Hi ramesh vedula. I have a same problem.I want to set the derivative of velocity to zero at boundary.If you find this please help me. thanks.
  Reply With Quote

Old   September 20, 2015, 12:56
Default
  #3
Member
 
Join Date: Nov 2014
Posts: 42
Rep Power: 3
Maryam-A is on a distinguished road
I would appreciate if anyone can help me.
I wanted to return derivative of UDS as wall boundary value, but I face with "fatal signal" that I found this because of boundary condition UDS.
this is part of my udf for B.C of UDS( volume fraction of nanoparticle in my case)

DEFINE_PROFILE(alpha_bc1,thread,position)
{
Thread *t;
cell_t c;
.
.
.

begin_f_loop(f,thread)
{

C_UDSI_G(c,t,0)[0]=-(D_T/D_B)*C_T_G(c,t)[0];
F_PROFILE(f,thread,position)=C_UDSI_G(c,t,0)[0];
}
end_f_loop(f,t)
}
Maryam-A is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDS problem with wall boundary condition Alex F. FLUENT 15 September 21, 2015 09:28
mixed inflow/outflow downstream boundary condition question peob OpenFOAM Running, Solving & CFD 2 August 14, 2014 09:07
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 11:32
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 06:45


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