Skip to content
Snippets Groups Projects
Commit 982c28d5 authored by sergio's avatar sergio
Browse files

BUG: Gitlab issue 442. Resetting allLambda for phases in the alphaEqns.H for interMixingFoam

parent 638aded7
No related merge requests found
...@@ -108,6 +108,11 @@ ...@@ -108,6 +108,11 @@
); );
} }
alphaPhi1 = alphaPhi1BD + lambda*alphaPhi1;
// Reset allLambda to 1.0
allLambda = 1.0;
// Create the complete flux for alpha2 // Create the complete flux for alpha2
surfaceScalarField alphaPhi2 surfaceScalarField alphaPhi2
( (
...@@ -172,7 +177,6 @@ ...@@ -172,7 +177,6 @@
} }
// Construct the limited fluxes // Construct the limited fluxes
alphaPhi1 = alphaPhi1BD + lambda*alphaPhi1;
alphaPhi2 = alphaPhi2BD + lambda*alphaPhi2; alphaPhi2 = alphaPhi2BD + lambda*alphaPhi2;
// Solve for alpha1 // Solve for alpha1
......
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