mapFields: Corrected handling of userTime
Resolves bug-report https://bugs.openfoam.org/view.php?id=3786
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -924,8 +924,8 @@ int main(int argc, char *argv[])
|
||||
runTime++;
|
||||
}
|
||||
|
||||
Info<< "Writing mesh without blockedCells to time " << runTime.value()
|
||||
<< endl;
|
||||
Info<< "Writing mesh without blockedCells to time "
|
||||
<< runTime.userTimeName() << endl;
|
||||
|
||||
// Subsetting adds 'subset' prefix. Rename field to be like original.
|
||||
forAll(scalarFlds, i)
|
||||
@ -1147,8 +1147,8 @@ int main(int argc, char *argv[])
|
||||
subsetter.subMesh().movePoints(map().preMotionPoints());
|
||||
}
|
||||
|
||||
Info<< "Writing mesh with split blockedFaces to time " << runTime.value()
|
||||
<< endl;
|
||||
Info<< "Writing mesh with split blockedFaces to time "
|
||||
<< runTime.userTimeName() << endl;
|
||||
|
||||
subsetter.subMesh().write();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user