Commit 7edc2495 authored by Henry Weller's avatar Henry Weller
Browse files

twoPhaseEulerFoam, reactingTwoPhaseEulerFoam: Corrected support for...

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

Resolves bug-report http://bugs.openfoam.org/view.php?id=2290
parent eb5e2c92
...@@ -403,7 +403,7 @@ void Foam::twoPhaseSystem::solve() ...@@ -403,7 +403,7 @@ void Foam::twoPhaseSystem::solve()
fvScalarMatrix alpha1Eqn fvScalarMatrix alpha1Eqn
( (
fvm::ddt(alpha1) - fvc::ddt(alpha1) fvm::ddt(alpha1) - fvc::ddt(alpha1)
- fvm::laplacian(alphaDbyA, alpha1, "bounded") - fvm::laplacian(alphaDbyA(), alpha1, "bounded")
); );
alpha1Eqn.relax(); alpha1Eqn.relax();
......
...@@ -523,7 +523,7 @@ void Foam::twoPhaseSystem::solve() ...@@ -523,7 +523,7 @@ void Foam::twoPhaseSystem::solve()
fvScalarMatrix alpha1Eqn fvScalarMatrix alpha1Eqn
( (
fvm::ddt(alpha1) - fvc::ddt(alpha1) fvm::ddt(alpha1) - fvc::ddt(alpha1)
- fvm::laplacian(alpha1alpha2f*pPrimeByA_(), alpha1, "bounded") - fvm::laplacian(alpha1alpha2f()*pPrimeByA_(), alpha1, "bounded")
); );
alpha1Eqn.relax(); alpha1Eqn.relax();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment