limitTemperature option looks up thermo even if not active
Summary
Use limitTemperature in e.g. moveDynamicMesh with displacementLaplacian. displacementLaplacian constructs fvOptions. limitTemperature will fail since looks up thermo in constructor - even if not active.
Steps to reproduce
See above
What is the current bug behaviour?
FatalError since cannot find thermo
What is the expected correct behavior?
At least obey 'active' flag
Environment information
- OpenFOAM version :v2206
- Operating system :
- Hardware info :
- Compiler :
Possible fixes
Use isActive flag in constructor.