CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

boundary values

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 5, 2011, 05:10
Default boundary values
  #1
OFU
New Member
 
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 7
OFU is on a distinguished road
Hello,

can anybody tell me where the boundary values in OpenFOAM are set? Are the specified in the middle of the boundary cells, in the middle of the surfaces or in the boundary points of the boundary cells or ....? And how can I set there the values for the pressure and the velocity?

Thanks,
Jennifer
OFU is offline   Reply With Quote

Old   August 5, 2011, 06:56
Default
  #2
Senior Member
 
Mohammad
Join Date: Feb 2010
Location: Shiraz, Iran
Posts: 108
Rep Power: 7
m2montazari is on a distinguished road
hi Jennifer,
I dont have enough info about that but I know that values are usually set at boundary faces not cells. however I dont know values are set in boundary nodes or at the middle of boundary faces? I read in a paper that openfoam is cell-based solver. if this is true, values should be set in boundary face centres.
cheers,
m2montazari is offline   Reply With Quote

Old   August 8, 2011, 14:37
Default
  #3
Member
 
Alex
Join Date: Jun 2010
Location: Planet Earth
Posts: 43
Rep Power: 7
bigbang is on a distinguished road
I am new to openFOAM, but I just wrote a program with some borrowed code from the forum to set up non uniform boundary values.

It is my understanding that the value is stored at the center of each cell face.

Hope this helps.
bigbang is offline   Reply With Quote

Old   August 9, 2011, 03:43
Default
  #4
OFU
New Member
 
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 7
OFU is on a distinguished road
Hi,

thanks for your answers, bigbang and m2montazari.

Bigband, is there a possibilty to get the code you wrote from you?

Jennifer
OFU is offline   Reply With Quote

Old   August 9, 2011, 06:27
Default
  #5
Member
 
Alex
Join Date: Jun 2010
Location: Planet Earth
Posts: 43
Rep Power: 7
bigbang is on a distinguished road
The thread where I got the code and then troubleshooted it for openfoam 2.0.0 is here:

Specifying nonuniform boundary condition

Good luck
bigbang 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
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
error when calculating values at boundary using refCast prabhu OpenFOAM 6 June 29, 2012 03:48
Creating Face in CFD Post and export Values as Boundary Conditions flow87 CFX 2 June 4, 2011 04:06
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40
Turbulence boundary values lego Main CFD Forum 0 October 24, 2002 13:47


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