BUGFIX: simpleFoam compilation
This commit is contained in:
parent
1aa9f21825
commit
54c9f83b54
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 rAU
|
volScalarField rUA
|
||||||
(
|
(
|
||||||
"(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 = rAU*HUEqn().H();
|
U = rUA*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