Skip to content
Snippets Groups Projects
Commit 0990d30b authored by sergio's avatar sergio
Browse files

BUG: Adding relative flux to the mesh

parent 48fdec46
Branches
Tags
No related merge requests found
......@@ -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)
{
......
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