CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

ghost cells in axisymmetric problems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2004, 17:44
Default ghost cells in axisymmetric problems
  #1
ma
Guest
 
Posts: n/a
Ghost cells are used in many CFD codes for boundary-condition handling.

However, for axisymmetric problems, in certan situation, the y of the center of a ghost cell may equal to 0 (see the example), which leads to singularity. How to avoid this?

Thanks a lot.

example: -----------------------

bounday cell: y=dy

boundary line: y=dy/2

ghost cell: y=0
  Reply With Quote

Old   May 15, 2004, 21:31
Default Re: ghost cells in axisymmetric problems
  #2
Jim_Park
Guest
 
Posts: n/a
If you use the staggered mesh scheme, the axial and angular velocities (for a rotational flow) are located at y = dy/2, just above the y = 0 axis. The radial velocity is located on the edge of the cell, y = y_0, y_1, etc.

If your problem goes to the axis (y_0 = 0), the radial velocity must be 0 at the axis and is set AT the boundary - the boundary condition replaces the difference equation and is coded directly in you boundary condition routine. The axial velocity w is determined by dw/dz = 0 (symmetry) on the axis. Even with y = 0, your ghost cell setting of w(ghost) = w(first real cell) will set the shear correctly. Same thing applies to the angular (rotational) velocity.
  Reply With Quote

Old   May 17, 2004, 14:52
Default Re: ghost cells in axisymmetric problems
  #3
ma
Guest
 
Posts: n/a
Thanks.
  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
Cells loop Andrea_85 OpenFOAM Programming & Development 5 May 5, 2014 00:47
reaction in particular cells wlt_1985 FLUENT 0 April 11, 2011 02:41
[Other] Problems with starccm mesh AndTen OpenFOAM Meshing & Mesh Conversion 1 February 23, 2010 05:43
problems with unsteady spray simulation Mathias FLUENT 1 July 20, 2006 17:13
Ghost cells Ruben Main CFD Forum 1 September 13, 2005 10:05


All times are GMT -4. The time now is 02:51.