SurfaceRefinement#

class SurfaceRefinement[source]#

Bases: Flow360BaseModel

Setting for refining surface elements for given Surface.

Example

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

Attributes

name: str, optional#
Default:

'Surface refinement'

entities: EntityList[Surface, MirroredSurface, WindTunnelGhostSurface, GhostSurface, GhostCircularPlane]#
max_edge_length: Any, optional#

Maximum edge length of surface cells.

Default:

None

curvature_resolution_angle: Any, optional#

Default maximum angular deviation in degrees. This value will restrict the angle between a cell’s normal and its underlying surface normal.

Default:

None

resolve_face_boundaries: bool, optional#

Flag to specify whether boundaries between adjacent faces should be resolved accurately during the surface meshing process using anisotropic mesh refinement.

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