GeometryRefinement#

class GeometryRefinement[source]#

Bases: Flow360BaseModel

Setting for refining surface elements for given Surface.

Example

>>> fl.GeometryRefinement(
...     faces=[geometry["face1"], geometry["face2"]],
...     geometry_accuracy=0.001*fl.u.m
... )

Attributes

name: str, optional#
Default:

'Geometry refinement'

entities: EntityList[Surface, MirroredSurface, WindTunnelGhostSurface]#
geometry_accuracy: Any, 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: Any, optional#

Threshold size below which all geometry gaps are automatically closed.

Default:

None

min_passage_size: Any, 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)#

Load a Flow360BaseModel from a .json file.

Parameters:

filename (str)

Return type:

Flow360BaseModel

Methods

help(methods=False)#

Print fields and methods of a Flow360BaseModel using rich.

Parameters:

methods (bool)

Return type:

None

to_file(filename, **kwargs)#

Export Flow360BaseModel instance to a .json file.

Parameters:
Return type:

None