BUG: Adding relative flux to the mesh

This commit is contained in:
sergio 2021-02-15 12:32:41 -08:00
parent 48fdec46c7
commit 0990d30b73

View File

@ -9,7 +9,12 @@
phic += (interface.cAlpha()*icAlpha)*fvc::interpolate(mag(U));
}
volScalarField divU(fvc::div(phi));
volScalarField divU
(
mesh.moving()
? fvc::div(phi + mesh.phi())
: fvc::div(phi)
);
if (nAlphaSubCycles > 1)
{