GMSH: Mesh Refinement Using Mesh Size Field
GMSH is a powerful open-source software offering advanced mesh generation capabilities, used for various applications such as computational fluid dynamics. One of its features is the ability to refine the mesh using a mesh size field.
A mesh size field defines the target size for mesh elements in a specific region or along a particular boundary of the model. This allows the user to control the mesh density and accuracy in specific areas where more resolution is needed, such as near boundaries, singularities, or regions of high gradients.
The mesh size field can be defined in several ways:
领英推荐
More details are available in the Gmsh Reference Manual.
Figure 1 illustrates the mesh size fields: Distance, Threshold, MathEval, and Box. The implementation in Gmsh is available in t10.geo, C++ (t10.cpp), Python (t10.py), Julia (t10.jl) and Fortran (t10.f90).
Mesh refinement using a mesh size field is a powerful tool in GMSH for controlling the accuracy and efficiency of simulations. It allows the user to target the mesh density where needed, resulting in more accurate solutions without sacrificing computational resources.
CFD Scientist and High Performance Computing Specialist.
2 年My only complain with GMESH is that it does not have prism layer capabilities.