|
[Sponsors] |
February 1, 2014, 18:01 |
gradient reconstruction in ghost cells
|
#1 |
Senior Member
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15 |
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 |
|
February 2, 2014, 00:45 |
GHOST cell gradient
|
#2 |
Member
lalupp
Join Date: Jul 2010
Location: India
Posts: 47
Rep Power: 16 |
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. |
|
|
|
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 |