Skip to content

Tutorial: OpenFOAM-v2412 pimpleFoam/laminar/cylinder2D crashes

Summary

When running tutorial cylinder2D, I get an error complaining about not being able to access UMean field. The error happens when file system/DMSs/stdmd29 is executed.

Error reads

DMD stdmd29 execute:
[6]
[6]
[6] --> FOAM FATAL ERROR: (openfoam-2412)
[6]     functionObjects::DMD stdmd29: cannot find required input field during snapshot loading: UMean
    Do you execute required functionObjects before executing DMD, e.g. mapFields?
[6]
[6]     From void Foam::functionObjects::DMD::snapshot()
[6]     in file DMD/DMD.C at line 57.
[6] [7]

(plus several repeats due to run being multiprocessor)

Steps to reproduce

Install OpenFOAM-v2412, per https://develop.openfoam.com/Development/openfoam/blob/develop/doc/Build.md

Copy tutorial from $WM_PROJECT_DIR/tutorials/incompressible/pimpleFoam/laminar/cylinder2D to local directory

./Allrun

Example case

$WM_PROJECT_DIR/tutorials/incompressible/pimpleFoam/laminar/cylinder2D

What is the current bug behaviour?

Run crashes after time = 10, see above for error message

What is the expected correct behavior?

Should run to time = 200

Relevant logs and/or images

See above for error output

Environment information

  • OpenFOAM version : v2412
  • Operating system : Ubuntu 20.04
  • Hardware info : 2x AMD EPYC Rome 7642 2.3GHz (3.3GHz Turbo) 225W 256MB Cache (96 cores), 512GB
  • Compiler : per build instructions

Possible fixes

I think there is probably a setting that was not correctly specified, but I could not figure out what the setting is.