Reading in Custom Field for Multiple Blocks using blockMesh
Hello,
I'm new here and I've looked through several forums and google searches with no luck on this issue, but feel free to redirect me if I have overlooked something. I am trying to read in a custom volScalarField, "R", using blockMesh. Should be pretty straight forward but I have a few blocks and I want a different value of "R" in one of the blocks. See the code snippets below. blockMeshDict: Code:
. Code:
. Code:
. Code:
Any help is appreciated! |
If you're only trying to set the values of R in one of your regions, why not try the setFields utility? The utility allows you to set the values of a field within a subsection of cells -- selected with boxToCell, for example. Here is a link to an example from one of the tutorials : https://github.com/OpenFOAM/OpenFOAM.../setFieldsDict.
Caelan |
Hi Caelan,
That seems to do the trick for this case! Thanks for the help Austin |
All times are GMT -4. The time now is 08:15. |