mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: InjectionModel - stabilised volume fraction calculation
This commit is contained in:
@ -72,7 +72,9 @@ bool Foam::InjectionModel<CloudType>::prepareForNextTimeStep
|
||||
newParcels = this->parcelsToInject(t0, t1);
|
||||
|
||||
// Volume of parcels to inject
|
||||
newVolumeFraction = this->volumeToInject(t0, t1)/volumeTotal_;
|
||||
newVolumeFraction =
|
||||
this->volumeToInject(t0, t1)
|
||||
/(volumeTotal_ + ROOTVSMALL);
|
||||
|
||||
if (newVolumeFraction > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user