Consistent explicit grad(p) in Rhie-Chow
This commit is contained in:
parent
f0264ba2e1
commit
28e1ad22df
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ if (addPorosity)
|
|||
tpresSource =
|
||||
(
|
||||
(mesh.Sf() & fvc::interpolate(rTU))
|
||||
& fvc::interpolate(fvc::grad(p, "grad(pSource)"))
|
||||
& fvc::interpolate(fvc::grad(p))
|
||||
);
|
||||
const surfaceScalarField& presSource = tpresSource();
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ surfaceScalarField presSource
|
|||
(
|
||||
"presSource",
|
||||
fvc::interpolate(rAU)*
|
||||
(fvc::interpolate(fvc::grad(p, "grad(pSource)")) & mesh.Sf())
|
||||
(fvc::interpolate(fvc::grad(p)) & mesh.Sf())
|
||||
);
|
||||
|
||||
fvScalarMatrix pEqn
|
||||
|
|
Reference in a new issue