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

gradient reconstruction in ghost cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2014, 18:01
Default gradient reconstruction in ghost cells
  #1
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15
Joachim is on a distinguished road
Hey everyone!

I am writing a structured compressible FV code using ghost cells for the boundaries. In order to compute the viscous fluxes, I need to estimate gradient of variables within these ghost cells.

In this topic,
http://www.cfd-online.com/Forums/mai...vity-flow.html
it was suggested that I could set it equal to the gradient in the physical cell to which the ghost cell is attached. Is that how it is typically done?

Thank you for your help!

Joachim
Joachim is offline   Reply With Quote

Old   February 2, 2014, 00:45
Default GHOST cell gradient
  #2
Member
 
lalupp
Join Date: Jul 2010
Location: India
Posts: 47
Rep Power: 16
lalupp is on a distinguished road
Refer code OPENFVM
In the parallel section of the code there is a file gradient.c. A very simple code. I hope you will get information.
lalupp 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
[snappyHexMesh] Snappy creates strange cells far away from boundary vainilreb OpenFOAM Meshing & Mesh Conversion 3 December 16, 2020 06:11
[mesh manipulation] how should we remove the Concave cells from the mesh? s.m OpenFOAM Meshing & Mesh Conversion 20 March 5, 2020 17:35
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 20:43


All times are GMT -4. The time now is 14:08.