CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Ghost cells

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

Like Tree1Likes
  • 1 Post By Jaswant

LinkBack Thread Tools Display Modes
Old   September 12, 2005, 11:25
Default Ghost cells
Posts: n/a

I am solving the 2D Incompressible N-S eq using the FVM. I have read that in order to set the Boundary Conditions I could use Ghost cells. How are this cells? How may I implement them?

Thanks in advance,

  Reply With Quote

Old   September 13, 2005, 09:05
Default Re: Ghost cells
Posts: n/a
Hi Ruben!! The ghost cells are nothing but the cells falling outside of boundary. In order to implement boundary conditions, you will need some cells outside the boundary. here is an example: suppose you want to write a central difference formula for d2U/dx= (Ui+1-2Ui+Ui-1)/(2dx). So when you will write this difference formula for cell 1. You will need a cell Ui-1. This cell will fall outside of the boundary. This cell is usally called as ghost cells. Ghost cells are determiined from boundary conditions. for example if your boundary is a solid wall, then you just this ghost cell to zero. Or you can get it by some interpolation in other boundary conditions. Hope this helps. Jaswant
ANTIES K MARTIN likes this.
  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
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
physical boundary error!! kris Siemens 2 August 3, 2005 00:32

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