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

This commit is contained in:
andy
2014-07-29 10:27:32 +01:00
committed by Andrew Heather
parent de75e1f18c
commit c4a37b9832

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;