BUG: parcel dtMax - do not scale value for steady calculations

This commit is contained in:
andy 2014-07-29 10:27:32 +01:00
parent c63e90ed9a
commit 28441d3d4a

View file

@ -275,7 +275,11 @@ bool Foam::KinematicParcel<ParcelType>::move
const scalar maxCo = td.cloud().solution().maxCo();
scalar tEnd = (1.0 - p.stepFraction())*trackTime;
const scalar dtMax = maxCo*trackTime;
scalar dtMax = trackTime;
if (td.cloud().solution().transient())
{
dtMax *= maxCo;
}
bool tracking = true;
label nTrackingStalled = 0;