Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.3.x
This commit is contained in:
commit
40caae11ff
1 changed files with 5 additions and 1 deletions
|
|
@ -275,7 +275,11 @@ bool Foam::KinematicParcel<ParcelType>::move
|
||||||
const scalar maxCo = td.cloud().solution().maxCo();
|
const scalar maxCo = td.cloud().solution().maxCo();
|
||||||
|
|
||||||
scalar tEnd = (1.0 - p.stepFraction())*trackTime;
|
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;
|
bool tracking = true;
|
||||||
label nTrackingStalled = 0;
|
label nTrackingStalled = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue