Adaptive meshing becomes truly powerful when refinement is expressed not as a set of discrete rules, but as a
Adaptive meshing becomes truly powerful when refinement is expressed not as a set of discrete rules, but as a
At each point \( x \) in the domain, a symmetric positive definite matrix \( M(x) \) defines a local inner product:
\[ |v|_M = \sqrt{v^T M(x) v} \]
This replaces Euclidean distance with a metric weighted distance, effectively reshaping space.
If \( M(x) \) has eigenvalues \( \lambda_1, \lambda_2, \lambda_3 \) and eigenvectors \( e_1, e_2, e_3 \), then:
In regions where curvature or solution gradients are high, the metric increases the local “density” of space, forcing the mesher to generate smaller elements. In smooth or low gradient regions, the metric relaxes, allowing larger elements.
The mesher’s goal becomes simple:
generate elements that are unit sized in the metric space, even if they are anisotropic in Euclidean space.
This is the core idea that turns refinement into a continuous, mathematically controlled process.
The metric tensor can be derived from multiple signals:
These ensure that the mesh conforms to the underlying shape with appropriate resolution.
These capture directional physics and produce anisotropic elements aligned with flow or stress fields.
These refine the mesh where the numerical solution is under resolved.
In practice, engineering workflows often combine geometric and physical metrics:
\[ M(x) = \alpha M_{\text{geometry}}(x) + \beta M_{\text{physics}}(x) \]
This produces meshes that respect both shape and simulation accuracy.
Once the metric field is defined, the mesher operates in a transformed space where:
This is why metric based refinement naturally produces:
The metric field acts as a continuous control law for the mesher.
A typical workflow looks like this:
This loop converges to a mesh that is both efficient and numerically accurate.
Metric based refinement is now standard in high fidelity simulation:
Within TheMeshProject, the metric field is the bridge between:
It transforms refinement from a set of heuristics into a continuous, mathematically grounded field that governs element quality and solver performance.
This unified view is what allows TheMeshProject to produce meshes that are both visually coherent and computationally optimized.