flow360.VolumeMeshingParams#

class VolumeMeshingParams[source]#

Bases: Flow360BaseModel

Volume meshing parameters.

type_name: Literal['VolumeMeshingParams'] = 'VolumeMeshingParams'#
defaults: VolumeMeshingDefaults [Required]#
refinement_factor: Annotated[float, Gt(gt=0)] | None = 1#

All spacings in refinement regionsand first layer thickness will be adjusted to generate r-times finer mesh where r is the refinement_factor value.

refinements: List[Annotated[UniformRefinement | AxisymmetricRefinement | BoundaryLayer | PassiveSpacing | StructuredBoxRefinement, FieldInfo(annotation=NoneType, required=True, discriminator='refinement_type')]] = []#

Additional fine-tunning for refinements on top of the global settings

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

gap_treatment_strength: float | None = None#

Narrow gap treatment strength used when two surfaces are in close proximity. Use a value between 0 and 1, where 0 is no treatment and 1 is the most conservative treatment. This parameter has a global impact where the anisotropic transition into the isotropic mesh. However the impact on regions without close proximity is negligible. The beta mesher uses a conservative default value of 1.0.

Constraints:
  • ge = 0

  • le = 1

sliding_interface_tolerance: Annotated[float, Ge(ge=0)] = 0.01#

Tolerance used for detecting / creating curves in the input surface mesh / geometry lying on sliding interfaces. This tolerance is non-dimensional, and represents a distance relative to the smallest radius of all sliding interfaces specified in meshing parameters. This cannot be overridden per sliding interface.

Constraints:
  • strict = True

  • ge = 0