|December 19, 2011, 19:19||
gauss grad no correction for coupled boundary??!!
Join Date: Nov 2009
Posts: 135Rep Power: 7
In the code for gauss gradient (gaussGrad.c), the grad calcuation at the boundary is done as:
const vectorField n
gGrad.boundaryField()[patchi] += n *
- (n & gGrad.boundaryField()[patchi])
So is there no correction for coupled patches?? I am getting embarrassingly wrong values of gradient at cyclic patch.
Second question: In the same code, calculation of grad has been done for three sets of mesh entities:
1. On face centers on patch
2. On cell centers adjacent to patch
3. On all inside cell centers
Is my understanding correct?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Problem in fvschemes divSchemes cannot use Gauss linearUpwind||nico765||OpenFOAM Bugs||27||June 3, 2014 05:29|
|please help me which solver is better for my application||Ger_US||OpenFOAM||8||January 8, 2013 13:29|
|natural convection||mehrdadeng||CFX||10||February 25, 2011 06:25|
|solution diverges when linear upwind interpolation scheme is used||subash||OpenFOAM||0||May 29, 2010 01:23|
|Stability problems with kepsilon in external aero||edreed||OpenFOAM Running, Solving & CFD||21||July 16, 2008 15:00|