mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Adding relative flux to the mesh
This commit is contained in:
@ -9,7 +9,12 @@
|
|||||||
phic += (interface.cAlpha()*icAlpha)*fvc::interpolate(mag(U));
|
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)
|
if (nAlphaSubCycles > 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user