SetExprFields fails when run from the command line
There is a typo on line 774 of setExprFields.C that causes the tool to fail when specifying an expression via the command line rather than a dict.
Steps to reproduce
It occurs for any scenario where the command line interface is used
What is the current bug behaviour?
the command fails with an out of range error.
What is the expected correct behavior?
The setExpField command should run correctly and set/create the field.
Relevant logs and/or images
- OpenFOAM version : v2012
- Operating system : ubuntu
- Hardware info :
- Compiler : gcc
change line 774 of setExprFields.C from