changed SMALL to ROOTVSMALL in time loop
This commit is contained in:
parent
64f058e1c8
commit
3b00a4e042
@ -216,7 +216,7 @@ bool Foam::KinematicParcel<ParcelType>::move
|
|||||||
scalar tEnd = (1.0 - p.stepFraction())*deltaT;
|
scalar tEnd = (1.0 - p.stepFraction())*deltaT;
|
||||||
const scalar dtMax = tEnd;
|
const scalar dtMax = tEnd;
|
||||||
|
|
||||||
while (td.keepParticle && !td.switchProcessor && tEnd > SMALL)
|
while (td.keepParticle && !td.switchProcessor && tEnd > ROOTVSMALL)
|
||||||
{
|
{
|
||||||
// Set the Lagrangian time-step
|
// Set the Lagrangian time-step
|
||||||
scalar dt = min(dtMax, tEnd);
|
scalar dt = min(dtMax, tEnd);
|
||||||
|
Loading…
Reference in New Issue
Block a user