CustomZones#

class CustomZones[source]#

Bases: Flow360BaseModel

CustomZones class for creating volume zones from custom volumes or seedpoint volumes. Names of the generated volume zones will be the names of the custom volumes.

Example

>>> fl.CustomZones(name="Custom zones", entities=[custom_volume1, custom_volume2], )

Attributes

name: str#

Name of the CustomZones meshing setting.

Default:

'Custom zones'

entities: EntityList[CustomVolume, SeedpointVolume]#

The custom volume zones to be generated.

element_type: Literal['mixed', 'tetrahedra']#

The element type to be used for the generated volume zones. - mixed: Mesher will automatically choose the element types used. - tetrahedra: Only tetrahedra element type will be used for the generated volume zones.

Default:

'mixed'

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