Netgen is an automatic mesh generation engine. It can read in a provided .stl geometry, generate a mesh, then refine it using h-refinement.
uselocalh: If true, enables local mesh size modifiers. Default is truemaxh: Sets the maximum global mesh size. Default is 1000.0fineness: Sets the density of the mesh. Must be between 0 (coarse) and 1 (fine). Default is 0.5grading: Sets the grading of the mesh. Must be between 0 (uniform) and 1 (aggressive local grading). Default is 0.3elementsperedge: Sets the number of elements per edge. Default is 2.0elementspercurve: Sets the number of elements per curvature radius of the geometry. Default is 2.0closeedgeenable: If true, enables mesh refinement at close edges. Default is falsecloseedgefact: If "closeedgeenable" is set to true, this sets the extent of that refinement. Larger numbers indicate a finer mesh; default is 2.0second_order: If enabled, Netgen will use second-order surface and volume elements. Default is falsemeshsize_filename: Specifies the name of an external mesh size file. Optionalquad_dominated: If enabled, Netgen will generate a quad-dominant mesh. Default is falseoptvolmeshenable: Can be enabled to allow for automatic optimization of volume meshes. Default is trueoptsteps_2d: Sets the number of optimization steps to be used for 2D meshes. Default is 3optsteps_3d: Sets the number of optimization steps to be used for 3D meshes. Default is 3invert_tets: If enabled, inverts tetrahedral elements in the mesh. Default is false, which corresponds to outward-facing normals.invert_trigs: If enabled, inverts triangular elements in the mesh. Default is false, which corresponds to outward-facing normals.check_overlap: If enabled, checks for overlapping surfaces during surface meshing. Default is truecheck_overlapping_boundary: If enabled, checks for overlapping surfaces before volume meshing. Default is truerefine_with_geometry_adaptation: If enabled, attempts to adapt refinement based on the geometry. Default is falserefine_without_geometry_adaptation: If enabled, refines without adapting based on the geometry. Default is false