CustomZones#
- class CustomZones[source]#
Bases:
Flow360BaseModelCustomZonesclass 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
- 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