casefoam.CaseFoamManipulator.loadParameter

CaseFoamManipulator.loadParameter(self, parameterFile, caseDir='baseCase')[source]

Load a parameter file.

Load a parameter File and make it a new attribute of the case.

Parameters:
parameterFile : str

Parameter file.

caseDir : str

Directory to the case. If baseCase is returned, the baseCase directory will be used.

Examples

>>> case.loadParameter("0/U")
>>> case.U
Attributes:
parameter

Parameter of the loaded parameter file.