Skip to content
Snippets Groups Projects
Commit 3b65f924 authored by Henry's avatar Henry
Browse files

twoPhaseEulerFoam: Added fvOptions correction to the phase velocities after matrix construction

parent da0b0263
Branches
Tags
No related merge requests found
......@@ -31,6 +31,7 @@ volScalarField dragCoeff(fluid.dragCoeff());
U1Eqn += fvm::Sp(dragCoeff, U1);
fvOptions.constrain(U1Eqn);
U1.correctBoundaryConditions();
fvOptions.correct(U1);
}
{
......@@ -54,5 +55,6 @@ volScalarField dragCoeff(fluid.dragCoeff());
U2Eqn += fvm::Sp(dragCoeff, U2);
fvOptions.constrain(U2Eqn);
U2.correctBoundaryConditions();
fvOptions.correct(U2);
}
}
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