Time::userDeltaTValue(): New member function to return the time-step in user-time units

functionObjects::userTimeStep updated to use Time::userDeltaTValue().
This commit is contained in:
Henry Weller
2024-04-10 19:19:48 +01:00
parent c15bd5914b
commit d02757444e
4 changed files with 14 additions and 4 deletions

View File

@ -107,7 +107,7 @@ bool Foam::functionObjects::userTimeStep::write()
{
writeTime(file());
file() << tab << time_.timeToUserTime(time_.deltaTValue());
file() << tab << time_.userDeltaTValue();
file() << endl;
}