PassiveSpacing#

class PassiveSpacing[source]#

Bases: Flow360BaseModel

Passively control the mesh spacing either through adjacent Surface’s meshing setting or doing nothing to change existing surface mesh at all.

Example

>>> fl.PassiveSpacing(
...     faces=[geometry["face1"], geometry["face2"]],
...     type="projected"
... )

Attributes

name: str, optional#
Default:

'Passive spacing'

type: Literal['projected', 'unchanged']#

1. When set to projected, turn off anisotropic layers growing for this Surface. Project the anisotropic spacing from the neighboring volumes to this face. 2. When set to unchanged, turn off anisotropic layers growing for this Surface. The surface mesh will remain unaltered when populating the volume mesh.

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

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