Skip to main content

Surface to Volume Mesh

The Surface to Volume Mesh tool converts closed surface meshes into tetrahedral volume meshes suitable for finite element analysis (FEA), computational fluid dynamics (CFD), and other simulation applications. This conversion transforms hollow shell geometry into solid volumetric representations discretized by tetrahedral elements, enabling computational analysis of structural behavior, heat transfer, fluid flow, and other physical phenomena.

Understanding Volume Mesh Generation

Surface meshes represent only the boundary of a geometric object—they define the outer shell but contain no information about the interior. Volume meshes, in contrast, fill the entire interior with volumetric elements, typically tetrahedra. Each tetrahedral element connects to its neighbors, forming a continuous mesh that discretizes the complete 3D domain.

This discretization is fundamental to finite element methods, where the governing equations of physics are solved at discrete points throughout the volume. The quality of simulation results depends critically on mesh quality—elements should be well-shaped, appropriately sized, and properly graded from coarse regions to fine regions where detail is required.

Volvicon employs the Netgen meshing library for volume mesh generation, providing robust tetrahedralization with extensive control over mesh quality parameters.

Prerequisites for Successful Meshing

Volume mesh generation requires clean, watertight input surfaces:

  • Closed surfaces: The surface must completely enclose a volume with no gaps or holes
  • Consistent normals: Triangle normals should consistently point outward
  • No self-intersections: The surface must not intersect itself
  • No inverted triangles: All triangles must have positive area
  • Manifold geometry: Each edge should be shared by exactly two triangles
Surface Quality Requirements

The tetrahedralization algorithm requires clean, watertight surfaces free of topological defects. Before running Surface to Volume Mesh, it is strongly recommended to execute the Diagnostics and Fixes tool to identify and correct any surface quality issues.

Accessing the Tool

Navigate to the Surface ribbon tab and locate Surface to Volume Mesh in the Convert section. Select one or more surface models to convert before activating the tool.

Algorithm Methods

Auto3D (Netgen)

The Auto3D method uses the Netgen meshing algorithm to generate high-quality tetrahedral meshes with automatic control over element size and quality. This is the recommended method for most applications, providing:

  • Adaptive mesh refinement based on surface curvature
  • Graded element sizing from surface to interior
  • Extensive optimization for element quality
  • Robust handling of complex geometry

Grid3D (Cleaver)

The Grid3D method employs the Cleaver algorithm, which generates volume meshes through a background grid approach. This method may be more suitable for:

  • Multi-material meshes where conformity at interfaces is critical
  • Lattice-based mesh requirements
  • Specific applications requiring structured underlying grids

Output Element Types

Tetra 4-Node (Linear)

Standard tetrahedral elements with 4 nodes—one at each vertex. Linear tetrahedra use first-order shape functions, representing displacement (or other field variables) as varying linearly across the element.

Linear elements are computationally efficient and sufficient for many applications:

  • Preliminary analysis and rapid prototyping
  • Large-scale models where computational cost is a concern
  • Applications where quadratic elements provide diminishing returns

Quadratic 10-Node

Higher-order tetrahedral elements with 10 nodes—one at each vertex plus one at the midpoint of each edge. Quadratic tetrahedra use second-order shape functions, capturing curved boundaries and stress gradients more accurately.

Quadratic elements are preferred for:

  • Stress analysis requiring high accuracy
  • Problems with curved boundaries or complex loading
  • Situations where coarser meshes are desired without sacrificing accuracy
  • Contact problems and other nonlinear analyses
Element Count Implications

Quadratic elements contain more than twice the degrees of freedom of linear elements. A mesh with 100,000 quadratic tetrahedra has similar computational cost to one with over 200,000 linear tetrahedra. Choose element order based on analysis requirements and available computational resources.

Multi-Surface Meshing Options

Maintain Conformity

When converting multiple surfaces simultaneously, the Maintain conformity option controls how shared boundaries are handled:

Yes (Maintain Conformity): Surfaces that share boundaries or contact regions will have matching node positions at their interfaces. This is essential for:

  • Multi-part assemblies that will be bonded or tied together
  • Contact analysis between components
  • Coupled simulations requiring nodal compatibility

No (Combine into One Mesh): Surfaces are tetrahedralized independently and combined into a single mesh without enforcing nodal matching at interfaces. Use this when:

  • Surfaces are spatially separated with no shared boundaries
  • Independent analysis of each component is intended
  • Faster processing is preferred and conformity is unnecessary

Netgen Meshing Parameters

When using the Auto3D method, extensive control over mesh generation is available:

Quality Presets

Quick configuration through predefined settings:

PresetDescriptionUse Case
Very coarseMinimal element count, fastest generationInitial testing, visualization
CoarseReduced element densityPreliminary analysis
ModerateBalanced quality and performanceGeneral purpose meshing
FineHigher element densityAccurate stress analysis
Very fineMaximum element densityHigh-fidelity simulations
CustomManual parameter specificationSpecialized requirements

Element Size Control

ParameterDescriptionDefaultRange
Max. element size (mm)Upper limit on tetrahedral edge length1.00.000001 - 999999999
Min. element size (mm)Lower limit on tetrahedral edge length0.00.0 - 999999998

The maximum element size sets an upper bound—no element edge will exceed this length. Smaller values produce finer meshes with more elements. Set this based on:

  • The smallest features that must be captured
  • Required solution accuracy
  • Available computational resources

The minimum element size prevents excessive refinement. This is useful to:

  • Avoid tiny elements near sharp features
  • Maintain reasonable element counts
  • Ensure manageable time step in dynamic analyses

Growth Rate

ParameterDescriptionDefaultRange
Growth rate (%)Rate of element size transition from surface to interior301 - 100

Controls how rapidly element size increases as the mesh progresses from the surface into the interior volume. Lower values create more gradual transitions with more elements; higher values allow faster size growth with fewer elements.

A growth rate of 30% means elements can increase in size by approximately 30% from one layer to the next. For stress analysis where accurate surface stresses are needed but interior detail is less critical, moderate growth rates (20-40%) provide good efficiency. For uniform meshes, use lower rates (5-15%).

Optimization Controls

ParameterDescriptionDefault
Keep elements at or above min edge lengthPrevents elements smaller than minimum surface edge lengthEnabled
OptimizeEnable adaptive surface remeshing before volume mesh generationEnabled
Surface optimization stepsIterations for surface mesh optimization (0-10)3
Volume optimization stepsIterations for volume mesh optimization (0-10)3

Optimization improves element quality by adjusting node positions and, in some cases, modifying mesh topology. Higher optimization step counts produce better element quality at the cost of longer generation time.

Cleaver (Grid3D) Parameters

When using the Grid3D method with Cleaver algorithm:

ParameterDescriptionDefaultRange
Sampling rateBase sampling density1.00.1 - 100
Feature scalingScaling factor for feature detection1.00.1 - 100
Rate of change of element size (Lipschitz)Maximum gradient in element size0.20.001 - 1000
SigmaSmoothing parameter for material interface1.00.0 - 100

These parameters control the Cleaver meshing algorithm's behavior for background grid resolution and adaptation.

Workflow Best Practices

Pre-Meshing Preparation

  1. Run Diagnostics and Fixes on all surfaces to ensure watertight, valid geometry
  2. Simplify surfaces if possible—remove unnecessary geometric complexity that won't affect analysis
  3. Ensure appropriate surface mesh density using Remesh if needed
  4. Fill holes in surfaces that should be closed

Parameter Selection Strategy

For initial meshing:

  1. Start with a coarse preset to verify successful tetrahedralization
  2. Examine the resulting mesh for overall structure
  3. Gradually increase quality settings as needed
  4. Fine-tune specific parameters only after establishing baseline meshes

Quality Verification

After mesh generation:

  1. Verify element count is reasonable for your solver
  2. Check for highly distorted elements that may cause convergence issues
  3. Confirm mesh density is adequate in regions of interest
  4. Verify conforming interfaces if multi-material meshing was used

Practical Examples

Single Part Structural Analysis

Converting a mechanical component for stress analysis:

  1. Import or create the surface model
  2. Run Diagnostics and Fixes to ensure watertight geometry
  3. Select the surface
  4. Open Surface to Volume Mesh
  5. Choose Auto3D method
  6. Select Quadratic 10-node for accurate stress results
  7. Set Fine preset or configure max element size based on feature detail
  8. Execute and export for FEA software

Multi-Component Assembly

Creating a conforming mesh for an assembly:

  1. Position all surface components in their assembled configuration
  2. Run Diagnostics and Fixes on each surface
  3. Select all surfaces simultaneously
  4. Open Surface to Volume Mesh
  5. Set Maintain conformity to Yes
  6. Configure meshing parameters appropriate for the application
  7. Generate the volume mesh with matching interfaces

Rapid Prototyping Mesh

Quick mesh for preliminary analysis:

  1. Select the surface
  2. Open Surface to Volume Mesh
  3. Choose Auto3D with Coarse preset
  4. Select Tetra 4-node for minimal element count
  5. Generate mesh rapidly for initial evaluation

Troubleshooting

Meshing fails completely:

  • Run Diagnostics and Fixes to identify surface defects
  • Check for non-manifold edges or vertices
  • Ensure the surface is fully closed

Poor element quality:

  • Increase optimization steps
  • Reduce growth rate for more gradual transitions
  • Use finer surface mesh as input

Excessive element count:

  • Increase maximum element size
  • Increase growth rate
  • Use coarser quality preset
  • Simplify input surface geometry

Non-conforming interfaces:

  • Ensure Maintain conformity is set to Yes
  • Verify surfaces actually share boundary geometry
  • Check that shared edges have compatible vertex positions