BUG: Adding relative flux to the mesh
This commit is contained in:
parent
48fdec46c7
commit
0990d30b73
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user