Coded BC does not parse parameter values
I set a parameter in a boundary condition file "omega 2;"
This is parsed by the boundary condition "cylinderBtm" and is correctly substituted in the codeStreamTemplate.C file for the internal field. However the parser that creates the fixedValueFvPatchFieldTemplate.C ignores the parameter so the code $omega*x is interpreted as *x. So it will not compile.
Steps to reproduce
What is the current bug behaviour?
The coded BC does not compile because the source code has not parsed the $omega parameter. If you change $omega in line 74 to 2, it works fine.
A similar code in the codestream for the internal field works.
What is the expected correct behavior?
Should compile and run
Relevant logs and/or images
Providing details of your set-up can help us identify any issues, e.g. OpenFOAM version : v1912 Operating system : ubuntu Hardware info : Supermicro Compiler : gcc
The parser for the coded bc could be made to recognize parameters, as the codestream parser does.