Currently, to set runtime OpenFOAM options, we're passing command line flags in through the [Mesh] block of the MOOSE input file. E.g.,
[Mesh]
type = FoamMesh
foam_args = '-case buoyantCavity -parallel'
foam_patch = 'topAndBottom frontAndBack'
dim = 2
[]
I'm not sure that the [Mesh] block is the appropriate place for this, and we might want to have some more explicit arguments for the path to the mesh, for example a required param case (or similar).
Outputs
Decide on a cleaner interface for setting runtime OpenFOAM options.
Add a required parameter to FoamMesh to take the name/path of the OpenFOAM case directory.
Description
Currently, to set runtime OpenFOAM options, we're passing command line flags in through the
[Mesh]
block of the MOOSE input file. E.g.,I'm not sure that the
[Mesh]
block is the appropriate place for this, and we might want to have some more explicit arguments for the path to the mesh, for example a required paramcase
(or similar).Outputs
FoamMesh
to take the name/path of the OpenFOAM case directory.