CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

boundary conditions in a 6 point 1D stencil

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

LinkBack Thread Tools Display Modes
Old   April 19, 2011, 06:46
Default boundary conditions in a 6 point 1D stencil
New Member
Join Date: Feb 2011
Posts: 7
Rep Power: 8
sepp is on a distinguished road

I'm trying to implement a convection-scheme with a different stencil. this stencil is a 1d 6 cell stencil. for a faceI there are 3 cells right of faceI and 3 left of faceI.
Now I've got little trouble with boundary conditions.
before making the interpolation via summating weighted cell velocities I've got to replace the ones out of boundary.
I think I must differentiate between all the boundary conditions. Is there a implemented function I can use for or the replacement or I can adopt code of it?

actually I'm dealing with fixedGradient condition. is there a easy way to get the stored boundary condition of a boundary face?

thanks a lot
sepp is offline   Reply With Quote


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
natural convection mehrdadeng CFX 10 February 25, 2011 06:25
CFX does not continue Shafiul CFX 10 February 17, 2011 08:57
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17
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 07:50.