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

boundary conditions in a 6 point 1D stencil

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2011, 07:46
Default boundary conditions in a 6 point 1D stencil
  #1
New Member
 
johannes
Join Date: Feb 2011
Posts: 7
Rep Power: 15
sepp is on a distinguished road
hello

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

Reply


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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
natural convection mehrdadeng CFX 10 February 25, 2011 06:25
CFX does not continue Shafiul CFX 10 February 17, 2011 08:57
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 7, 2008 00:17
A problem about setting boundary conditions lyang Main CFD Forum 0 September 19, 1999 19:29


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