flow360.MeshingDefaults#
- class MeshingDefaults[source]#
Bases:
Flow360BaseModel
Default/global settings for meshing parameters.
- surface_edge_growth_rate: float = 1.2#
Growth rate of the anisotropic layers grown from the edges.This can not be overridden per edge.
- Constraints:
ge = 1
- boundary_layer_growth_rate: float = 1.2#
Default growth rate for volume prism layers.
- Constraints:
ge = 1
- boundary_layer_first_layer_thickness: Annotated[_Constrained, PlainSerializer(func=_dimensioned_type_serializer, return_type=PydanticUndefined, when_used=always)] | None = None#
Default first layer thickness for volumetric anisotropic layers. This can be overridden with
BoundaryLayer
.
- number_of_boundary_layers: Annotated[int, Ge(ge=0)] | None = None#
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.
- planar_face_tolerance: Annotated[float, Ge(ge=0)] = 1e-06#
Tolerance used for detecting planar faces in the input surface mesh that need to be remeshed, such as symmetry planes. This tolerance is non-dimensional, and represents a distance relative to the largest dimension of the bounding box of the input surface mesh. This is only supported by the beta mesher and can not be overridden per face.
- Constraints:
ge = 0
- surface_max_edge_length: Annotated[_Constrained, PlainSerializer(func=_dimensioned_type_serializer, return_type=PydanticUndefined, when_used=always)] | None = None#
Default maximum edge length for surface cells. This can be overridden with
SurfaceRefinement
.
- curvature_resolution_angle: Annotated[_Constrained, PlainSerializer(func=_dimensioned_type_serializer, return_type=PydanticUndefined, when_used=always)] = unyt_quantity(12, 'degree')#
Default maximum angular deviation in degrees. This value will restrict: 1. The angle between a cellβs normal and its underlying surface normal. 2. The angle between a line segmentβs normal and its underlying curve normal. This can not be overridden per face.
- Constraints:
func = <function _dimensioned_type_serializer at 0x70391099c040>
return_type = PydanticUndefined
when_used = always