|
[Sponsors] |
![]() |
![]() |
#1 |
Member
AN
Join Date: Jan 2024
Posts: 44
Rep Power: 3 ![]() |
Hello,
I didn't find the code about gradients updating on ghost points. In the CNEMOEulerSolver, there is the object "node_infty", which is defined by the following statement. node_infty = new CNEMOEulerVariable(Pressure_Inf, MassFrac_Inf, Mvec_Inf, Temperature_Inf, Temperature_ve_Inf, 1, nDim, nVar, nPrimVar, nPrimVarGrad, config, FluidModel); node_infty->SetPrimVar(0, FluidModel); It just seems to specify the primitive variables information on node_infty. The gradient information seems to be set by the default value 0. Under the path \SU2_CFD\include\gradients\..., I found the files that update the gradients, but they don't update the gradients on ghost points. I would be very grateful if anyone could answer this for me! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 773
Rep Power: 21 ![]() |
Why do you need gradients on ghost points? The ghost points are introduced so you can compute gradients on boundary nodes. To compute boundary gradients, the halo nodes only need to contain values, not gradients.
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] .STL: non-closed manifold surface | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 32 | November 25, 2016 03:15 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
Reflected ghost values of a solid boundary | quarkz | Main CFD Forum | 1 | July 25, 2007 07:33 |
extreme points problem | Lipo Wang | Main CFD Forum | 2 | August 18, 2004 03:15 |
Can you help me about ghost points? | yujun | Main CFD Forum | 1 | May 21, 2004 04:21 |