mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
firstTime always chooses constant
This commit is contained in:
@ -115,7 +115,14 @@ void Foam::Time::setControls()
|
||||
{
|
||||
if (timeDirs.size())
|
||||
{
|
||||
startTime_ = timeDirs[0].value();
|
||||
if (timeDirs[0].name() == constant() && timeDirs.size() >= 2)
|
||||
{
|
||||
startTime_ = timeDirs[1].value();
|
||||
}
|
||||
else
|
||||
{
|
||||
startTime_ = timeDirs[0].value();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (startFrom == "latestTime")
|
||||
|
||||
Reference in New Issue
Block a user