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

gradient calculation in ghost cell for the cell-centered finite volume method

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2012, 06:57
Default gradient calculation in ghost cell for the cell-centered finite volume method
  #1
New Member
 
Join Date: Apr 2012
Posts: 1
Rep Power: 0
legend is on a distinguished road
Hi,
The compressible Navier-Stokes equations are solved on unstructured triangular mesh using a cell-centered finite volume method. In viscous fluxes discretization, the first derivative of velocity component at mid-point of each cell edge must be evaluated. For edge inside computational domain (not on boundary), the first derivative can be calculated using gradients of velocity at left and right cell centers which share the edge.
On physical boundary, ghost cells are created to implement boundary conditions. Flow variable values in these ghost cells are assigned according to specific boundary condition.
For a cell inside the computational domain, the gradient of a variable at the cell center can be calculated easily.

My question is:
How can we calculate the gradient in a ghost cell which is needed for evaluating the first derivative of velocity on the mid-point of edge which is on the physical boundary? The ghost cell has only one neighboring cell which is located inside the computational domain.

It will greatly appreciated if someone can answer my question.
Thank you
legend is offline   Reply With Quote

Old   April 23, 2012, 17:52
Default
  #2
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
cdegroot is on a distinguished road
In general I wouldn't recommend using a reconstructed gradient on boundary faces to compute diffusion terms because it won't necessarily satisfy the diffusion flux implied by your boundary conditions. See the following reference about gradient reconstruction:

Betchen, L. J., Straatman, A. G., "An accurate gradient and Hessian reconstruction method for cell-centered finite-volume discretizations on unstructured grids," Int. J. Numerical Methods in Fluids, 62(9), 945-962, 2009.

This is one of my papers that might also be helpful:

C.T. DeGroot and A.G. Straatman, A Finite-volume Model for Fluid Flow and Nonequilibrium Heat Transfer in Conjugate Fluid-Porous Domains Using General Unstructured Grids, Numer. Heat Transf. B-Fund., vol. 60, pp. 252–277, 2011.

Equation 37 in the paper above can be used at boundaries for your diffusion terms and does not involve the boundary gradient. If you don't have access to that paper and are interested let me know and I can send a pdf offprint.

Hope this helps.
cdegroot is offline   Reply With Quote

Old   March 11, 2014, 11:35
Default
  #3
New Member
 
Join Date: Mar 2014
Location: California
Posts: 2
Rep Power: 0
mosawe is on a distinguished road
Send a message via Skype™ to mosawe
Can you please send me a PDF format for the referenced paper:

C.T. DeGroot and A.G. Straatman, A Finite-volume Model for Fluid Flow and Nonequilibrium Heat Transfer in Conjugate Fluid-Porous Domains Using General Unstructured Grids, Numer. Heat Transf. B-Fund., vol. 60, pp. 252–277, 2011.


Thanks.
mosawe is offline   Reply With Quote

Old   March 11, 2014, 11:37
Default
  #4
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
cdegroot is on a distinguished road
Sure, message me your email.
cdegroot is offline   Reply With Quote

Old   March 11, 2014, 11:40
Default
  #5
New Member
 
Join Date: Mar 2014
Location: California
Posts: 2
Rep Power: 0
mosawe is on a distinguished road
Send a message via Skype™ to mosawe
Please send to mosawe@gmail.com. Thanks for the very quick response...much appreciated.
mosawe 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
gradient calculation of cell centered finite volume method zhengjg Main CFD Forum 10 November 12, 2012 00:13
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
node centered finite volume bookkeeping Al Main CFD Forum 1 April 24, 2007 16:57
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
Warning 097- AB Siemens 6 November 15, 2004 05:41


All times are GMT -4. The time now is 13:56.