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 =
|
tpresSource =
|
||||||
(
|
(
|
||||||
(mesh.Sf() & fvc::interpolate(rTU))
|
(mesh.Sf() & fvc::interpolate(rTU))
|
||||||
& fvc::interpolate(fvc::grad(p, "grad(pSource)"))
|
& fvc::interpolate(fvc::grad(p))
|
||||||
);
|
);
|
||||||
const surfaceScalarField& presSource = tpresSource();
|
const surfaceScalarField& presSource = tpresSource();
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ surfaceScalarField presSource
|
||||||
(
|
(
|
||||||
"presSource",
|
"presSource",
|
||||||
fvc::interpolate(rAU)*
|
fvc::interpolate(rAU)*
|
||||||
(fvc::interpolate(fvc::grad(p, "grad(pSource)")) & mesh.Sf())
|
(fvc::interpolate(fvc::grad(p)) & mesh.Sf())
|
||||||
);
|
);
|
||||||
|
|
||||||
fvScalarMatrix pEqn
|
fvScalarMatrix pEqn
|
||||||
|
|
Reference in a new issue