View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003557 | OpenFOAM | Bug | public | 2020-09-25 13:25 | 2020-09-25 16:36 |
Reporter | endres | Assigned To | henry | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | OpenSuSE Tumbleweed | OS Version | 20200622 |
Summary | 0003557: Omitting space characters in #calc dictionary entry leads to incomprehensible error | ||||
Description | When omitting the space characters in a #calc dictionary entry (for example "2*$testVar/0.13" instead of "2 * $testVar / 0.13") leads to the error message 'error: ‘$testVar’ was not declared in this scope' although the variable testVar has been declared in the line above. Formulas without space characters used to work in OpenFoam 7 but do not work anymore in OpenFoam 8 and OpenFoam-dev (dev-a972b208ee71). | ||||
Steps To Reproduce | - Include the following two lines in the blockMeshDict of any case, for example the pipeCyclic tutorial: testVar 0.5; testVar2 #calc "2*$testVar/0.13"; - run blockMesh in OpenFoam 8 | ||||
Tags | No tags attached. | ||||