Update rho = thermo.rho(), in the pEq for reactingFoam.

Updating fvSolution's for closed domains for chtMultiRegionFoam cases
This commit is contained in:
sergio 2017-06-08 10:41:57 +01:00
parent 4691ee4951
commit 257d2f04a4
5 changed files with 10 additions and 1 deletions

View File

@ -92,9 +92,10 @@ K = 0.5*magSqr(U);
if (pressureControl.limit(p))
{
p.correctBoundaryConditions();
rho = thermo.rho();
}
rho = thermo.rho();
if (thermo.dpdt())
{
dpdt = fvc::ddt(p);

View File

@ -62,6 +62,8 @@ PIMPLE
momentumPredictor yes;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 1e5;
}
relaxationFactors

View File

@ -62,6 +62,8 @@ PIMPLE
momentumPredictor yes;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 1e5;
}
relaxationFactors

View File

@ -66,6 +66,8 @@ PIMPLE
momentumPredictor no;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 1e5;
}
relaxationFactors

View File

@ -82,6 +82,8 @@ PIMPLE
momentumPredictor no;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 1e5;
}
relaxationFactors