twoPhaseEulerFoam, reactingTwoPhaseEulerFoam: Corrected support for implicitPhasePressure with nAlphaCorr > 1

Resolves bug-report http://bugs.openfoam.org/view.php?id=2290
This commit is contained in:
Henry Weller
2016-10-12 18:43:18 +01:00
parent eb5e2c923c
commit 7edc2495e0
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ void Foam::twoPhaseSystem::solve()
fvScalarMatrix alpha1Eqn
(
fvm::ddt(alpha1) - fvc::ddt(alpha1)
- fvm::laplacian(alphaDbyA, alpha1, "bounded")
- fvm::laplacian(alphaDbyA(), alpha1, "bounded")
);
alpha1Eqn.relax();

View File

@ -523,7 +523,7 @@ void Foam::twoPhaseSystem::solve()
fvScalarMatrix alpha1Eqn
(
fvm::ddt(alpha1) - fvc::ddt(alpha1)
- fvm::laplacian(alpha1alpha2f*pPrimeByA_(), alpha1, "bounded")
- fvm::laplacian(alpha1alpha2f()*pPrimeByA_(), alpha1, "bounded")
);
alpha1Eqn.relax();