VolumeMeshingDefaults#

class VolumeMeshingDefaults[source]#

Bases: Flow360BaseModel

Default/global settings for volume meshing parameters. To be used with class:ModularMeshingWorkflow.

Attributes

boundary_layer_growth_rate: float#

Default growth rate for volume prism layers.

Default:

1.2

boundary_layer_first_layer_thickness: Any#

Default first layer thickness for volumetric anisotropic layers. This can be overridden with BoundaryLayer.

number_of_boundary_layers: int, optional#

Default number of volumetric anisotropic layers. The volume mesher will automatically calculate the required no. of layers to grow the boundary layer elements to isotropic size if not specified. This is only supported by the beta mesher and can not be overridden per face.

Default:

None

octree_spacing: OctreeSpacing, optional#

Octree spacing configuration for volume meshing. If specified, this will be used to control the base spacing for octree-based meshers.

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