mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated film netMass() calculation
This commit is contained in:
@ -179,7 +179,8 @@ inline tmp<volScalarField> kinematicSingleLayer::netMass() const
|
|||||||
{
|
{
|
||||||
dimensionedScalar d0("SMALL", dimLength, ROOTVSMALL);
|
dimensionedScalar d0("SMALL", dimLength, ROOTVSMALL);
|
||||||
return
|
return
|
||||||
fvc::surfaceSum(phi_/(fvc::interpolate(delta_) + d0))*time().deltaT()
|
fvc::surfaceSum(pos(phi_)*phi_/(fvc::interpolate(delta_) + d0))
|
||||||
|
*time().deltaT()
|
||||||
+ rho_*delta_*magSf();
|
+ rho_*delta_*magSf();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user