Meshing options¶
All lengths and tolerances use the same units as the geometry coordinates.
Option |
Default |
Meaning |
|---|---|---|
|
|
Global target edge length; must be positive. |
|
|
Requested minimum surface-triangle angle in degrees. |
|
|
Transition factor between fine and coarse surface regions. |
|
|
Use approximately uniform refinement along constraint lines. |
|
|
Surface elevation interpolation; TPS and IDW are supported. |
|
|
TPS smoothing parameter. |
|
|
Projected boundary method: |
|
|
Alpha-shape scale used with |
|
|
Select hull and/or intersection constraints. |
|
|
Keep outer hulls in intersection mode. |
|
|
Switch string passed to TetGen. |
|
|
Run TetGen after surface meshing. |
|
|
Force fallback fault hulls into the PLC. |
|
|
Intersection/triple-point matching tolerance. |
|
|
Retain intermediate datasets and surface meshes. |
Constraint modes¶
Mode |
Hull constraints |
Intersection constraints |
|---|---|---|
|
Yes |
Yes |
|
Boundary hulls when |
Yes |
|
Yes |
No |
intersections with preserved boundary hulls corresponds to the GUI workflow
where intersections are selected as internal constraints while each surface
hull remains the outer triangulation boundary.
If selected intersection constraints cannot form a surface PLC, PyMeshIt may
retry that surface using its hull. The resulting surface has
constraint_source="hull_fallback". Fault fallback surfaces are excluded from
the volume PLC by default because forcing them into TetGen can make the model
fragile.
Choosing target sizes¶
Start with a size appropriate for the full domain, then use
SurfaceSpec.target_size and WellSpec.target_size only where local refinement
is scientifically required. Reducing target size increases memory and runtime
and can expose very small geometry inconsistencies.
TetGen switches¶
The default pq1.414aAY requests PLC tetrahedralization, quality control,
volume constraints, material attributes, and preservation of boundary markers.
Treat a custom switch string as part of the reproducibility record. Test it on
a representative case before starting a large batch.