changed SMALL to ROOTVSMALL in time loop

This commit is contained in:
andy
2008-06-20 19:13:33 +01:00
committed by graham
parent c1bbed3633
commit 932d71c166

View File

@ -216,7 +216,7 @@ bool Foam::KinematicParcel<ParcelType>::move
scalar tEnd = (1.0 - p.stepFraction())*deltaT;
const scalar dtMax = tEnd;
while (td.keepParticle && !td.switchProcessor && tEnd > SMALL)
while (td.keepParticle && !td.switchProcessor && tEnd > ROOTVSMALL)
{
// Set the Lagrangian time-step
scalar dt = min(dtMax, tEnd);