AxisymmetricRefinement#
- class AxisymmetricRefinement[source]#
Bases:
Flow360BaseModelThe mesh inside the
AxisymmetricRefinementis semi-structured.The
AxisymmetricRefinementcannot enclose/intersect with other objects.Users could create a donut-shape
AxisymmetricRefinementand place their hub/centerbody in the middle.AxisymmetricRefinementcan be used for resolving the strong flow gradientalong the axial direction for the actuator or BET disks.
The spacings along the axial, radial and circumferential directions can be adjusted independently.
Example
>>> fl.AxisymmetricRefinement( ... entities=[cylinder], ... spacing_axial=1e-4, ... spacing_radial=0.3*fl.u.cm, ... spacing_circumferential=5*fl.u.mm ... )
Attributes
- spacing_axial: LengthType.Positive#
Spacing along the axial direction.
- spacing_radial: LengthType.Positive#
Spacing along the radial direction.
- spacing_circumferential: LengthType.Positive#
Spacing along the circumferential direction.
Additional Constructors
- classmethod from_file(filename)#
Loads a
Flow360BaseModelfrom .json, or .yaml file.- Parameters:
filename (str) – Full path to the .yaml or .json file to load the
Flow360BaseModelfrom.- Returns:
An instance of the component class calling load.
- Return type:
Flow360BaseModel
Example
>>> params = Flow360BaseModel.from_file(filename='folder/sim.json')
Methods
- help(methods=False)#
Prints message describing the fields and methods of a
Flow360BaseModel.- Parameters:
methods (bool = False) – Whether to also print out information about object’s methods.
- Return type:
None
Example
>>> params.help(methods=True)