butterfly.fvSolution module¶
Finite Volume Solution class.
-
class
butterfly.fvSolution.
FvSolution
(values=None)[source]¶ Bases:
butterfly.foamfile.FoamFile
Finite Volume Solution class.
-
classmethod
from_file
(filepath)[source]¶ Create a FoamFile from a file.
Parameters: filepath – Full file path to dictionary.
-
classmethod
from_recipe
(recipe=0)[source]¶ Generate fvSolution for a particular recipe.
Parameters: recipe – 0: incompressible, 1: heat transfer.
-
relaxationFactors
¶ Get and set residual controls.
-
residualControl
¶ Get and set residual controls.
-
classmethod