Restart not possible for liquidFilmFoam
Summary
Impossible to restart a simulation with liquidFilmFoam
Steps to reproduce
Run the tutorial $FOAM_TUTORIALS/finiteArea/liquidFilmFoam/cylinder
Restart the simulation from latestTime
Example case
What is the current bug behaviour?
At restart the solver looks for the areaScalarField h
(as it is given in the 0 folder), but in the saved time folders it is written out as a volScalarField
(with object name H).
Two different fields, h (area) and H (vol), are created, but possibly the write() function is not case sensitive and the volScalarField overwrites the areaScalarField.
What is the expected correct behavior?
Relevant logs and/or images
--> FOAM FATAL IO ERROR:
unexpected class name volScalarField expected areaScalarField
while reading object h
file: /liquidFilmFoam/cylinder/0.5/h at line 15.
From function Foam::Istream& Foam::regIOobject::readStream(const Foam::word&, bool)
in file db/regIOobject/regIOobjectRead.C at line 170.
FOAM exiting
Environment information
- OpenFOAM version : v1912
- Operating system :
- Hardware info :
- Compiler :