GeometryRefinement#
- class GeometryRefinement[source]#
Bases:
Flow360BaseModelSetting for refining surface elements for given Surface.
Example
>>> fl.GeometryRefinement( ... faces=[geometry["face1"], geometry["face2"]], ... geometry_accuracy=0.001*fl.u.m ... )
Attributes
- entities: EntityList[Surface, MirroredSurface, WindTunnelGhostSurface]#
- geometry_accuracy: LengthType.Positive, optional#
The smallest length scale that will be resolved accurately by the surface meshing process.
- Default:
None
- preserve_thin_geometry: bool, optional#
Flag to specify whether thin geometry features with thickness roughly equal to geometry_accuracy should be resolved accurately during the surface meshing process.
- Default:
None
- sealing_size: LengthType.NonNegative, optional#
Threshold size below which all geometry gaps are automatically closed.
- Default:
None
- min_passage_size: LengthType.Positive, optional#
Minimum passage size that hidden geometry removal can resolve for this face group. Internal regions connected by thin passages smaller than this size may not be detected. If not specified, the value is derived from geometry_accuracy and sealing_size.
- Default:
None
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)