Skip to content
Snippets Groups Projects
Commit 0cb195fa authored by Henry's avatar Henry
Browse files

multiphase: Improve the construction of rhoPhiSum

parent 5521dfec
No related merge requests found
......@@ -313,7 +313,18 @@ void Foam::multiphaseMixture::solve()
if (nAlphaSubCycles > 1)
{
surfaceScalarField rhoPhiSum(0.0*rhoPhi_);
surfaceScalarField rhoPhiSum
(
IOobject
(
"rhoPhiSum",
runTime.timeName(),
mesh_
),
mesh_,
dimensionedScalar("0", dimDensity, 0)
);
dimensionedScalar totalDeltaT = runTime.deltaT();
for
......
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