mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: parcel dtMax - do not scale value for steady calculations
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user