SurfaceEdgeRefinement#

class SurfaceEdgeRefinement[source]#

Bases: Flow360BaseModel

Setting for growing anisotropic layers orthogonal to the specified Edge (s).

Example

>>> fl.SurfaceEdgeRefinement(
...     edges=[geometry["edge1"], geometry["edge2"]],
...     method=fl.HeightBasedRefinement(value=1e-4)
... )

Attributes

name: str, optional#
Default:

'Surface edge refinement'

entities: EntityList[Edge]#
method: AngleBasedRefinement | HeightBasedRefinement | AspectRatioBasedRefinement | ProjectAnisoSpacing#

Method for determining the spacing. See AngleBasedRefinement, HeightBasedRefinement, AspectRatioBasedRefinement, ProjectAnisoSpacing

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