Bugfix: consistent notation of 1/aP
This commit is contained in:
parent
5e7de9eb8b
commit
2e1ab51dbe
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
// Prepare clean 1/Ap without contribution from under-relaxation
|
// Prepare clean 1/Ap without contribution from under-relaxation
|
||||||
// HJ, 26/Oct/2015
|
// HJ, 26/Oct/2015
|
||||||
volScalarField rUA
|
volScalarField rAU
|
||||||
(
|
(
|
||||||
"(1|A(U))",
|
"(1|A(U))",
|
||||||
1/HUEqn().A()
|
1/HUEqn().A()
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
// the flux precursor
|
// the flux precursor
|
||||||
U.storePrevIter();
|
U.storePrevIter();
|
||||||
|
|
||||||
U = rUA*HUEqn().H();
|
U = rAU*HUEqn().H();
|
||||||
HUEqn.clear();
|
HUEqn.clear();
|
||||||
phi = fvc::interpolate(U) & mesh.Sf();
|
phi = fvc::interpolate(U) & mesh.Sf();
|
||||||
adjustPhi(phi, U, p);
|
adjustPhi(phi, U, p);
|
||||||
|
|
Reference in a new issue