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

Non-uniform Boundary Conditions

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

Like Tree5Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   June 16, 2014, 18:11
Default
  #21
New Member
 
zahra
Join Date: Jun 2014
Location: Iran-Tehran
Posts: 18
Rep Power: 2
zahraa is on a distinguished road
Hello,
I am new to openFoam and C++ .I want to use codedFixedValue for a wall with convection boundary condition. for this boundary i have used energy balance and with convection BC i have found following equation.


Ts= c1*(c2* Ta+Ti )

In this equation Ts is the temperature of the boundary and Ta is the ambient temperature and Ti is the internal adjacent cell temperature(internal adjacent cell which is next to the boundary) and c1 and c2 are constant.
now i do not know how i can find Ti and how i should define it here in codedFixedValue . and i should know normal distance between internal adjacent cell center and the boundary, how should i do this?
zahraa is offline   Reply With Quote

Reply

Tags
non-uniform bc

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
How to set uniform heating boundary condition? Sargam05 OpenFOAM 0 September 11, 2012 10:09
Need help with boundary conditions: open to atmosphere Wolle OpenFOAM 2 April 11, 2011 07:32
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 17:08
Boundary condition setting for non-premixed combustion using reactingFoam skyopener OpenFOAM 0 May 23, 2010 22:55
A problem about setting boundary conditions lyang Main CFD Forum 0 September 19, 1999 18:29


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