HYBRID Parameters hypothesis works only with MeshGems-Hybrid algorithm. This algorithm is a commercial software.
To get a license, visit https://www.spatial.com/products/3d-precise-mesh
MG-Hybrid allows to generate meshes with:
In case of a mesh based on geometry, if Size mode is set to Local, this tab becomes activated. You can specify geometrical faces on which boundary layers should be constructed (i.e. corresponding to the walls in a CFD study). After clicking Selection button (arrow) you can select faces either in the Viewer or in the Object Browser. Add button adds IDs of the selected faces to the Face IDs list. Remove button removes selected IDs from the list.
If Imprinting is set to yes, this tab becomes activated. You can select the faces where the layers will be imprinted (i.e. corresponding to the inlets and outlets in a CFD study).
Instead of letting MG-Hybrid do the imprinting on faces, you can tell to use existing faces where cells corresponding to the imprinting are already present (created by the surface mesh generation with dedicated algorithms).
See Also a sample TUI Script of the creation of a MG-Hybrid hypothesis.
$> mg-hybrid.exe --help
============================================
MG-Hybrid -- MeshGems 2.15-1 (January, 2023)
============================================
Running MG-Hybrid (Copyright 2014-2023 by Dassault Systemes SE)
date of run: 06-Jun-2024 AT 13:13:22
running on : Linux 5.11.12-300.fc34.x86_64 x86_64
using modules:
MeshGems-Core 2.15-1
MeshGems is a commercial trademark of Dassault Systemes SE
MG-HYBRID USAGE
mg-hybrid.exe [-h] [-v <verbose>] [-i <filein>] [-o <fileout>] \
[--global_physical_size <size>] \
[--max_number_of_threads <maxthreads>] \
[--boundary_layer_size_mode <mode>] \
[--boundary_layer_height_relative_to_local_surface_size <yes|no>] \
[--number_of_boundary_layers <number>] \
[--boundary_layer_global_initial_height <height>] \
[--boundary_layer_surface_tags <list>] \
[--boundary_layer_initial_height_on_surface_tags <list>] \
[--boundary_layer_geometric_progression <real>] \
[--boundary_layer_max_element_angle <size>] \
[--boundary_layer_imprinting <boolean>] \
[--boundary_layer_imprinting_tags <list>] \
[--boundary_layer_snapping <boolean>] \
[--boundary_layer_snapping_tags <list>] [--normal_direction <dir>] \
[--gradation <real>] [--element_generation <type>] \
[--collision_mode <mode>] [--add_multinormals <yes|no>] \
[--multinormal_angle_threshold <angle>] [--smooth_normals <yes|no>] \
[--optimisation <type>]
-h --help
prints this help.
-v --verbose <verbose>
Sets the verbosity level parameter.
The <verbose> parameter must be in the range 0 to 10:
0 : no detail
10 : very detailed
Default: 3
-i --in <filein>
Sets the input file.
(MANDATORY)
-o --out <fileout>
Sets the output file.
If unset, _hybrid is appended to the input file basename.
Using an existing file is forbidden.
Using the same file as --in is forbidden.
--global_physical_size <size>
Sets the global physical size.
Default: no default.
--max_number_of_threads <maxthreads>
Sets the maximum number of threads to be used in parallel.
Default: 4
--boundary_layer_size_mode <mode>
Sets the behavior for the boundary layer sizes.
If <mode> is:
global: the boundary_layer_global_initial_height is used to compute
the layer heights
local: the boundary_layer_surface_tags and
boundary_layer_initial_height_on_surface_tags are used to compute
the layer heights
Default: global
--boundary_layer_height_relative_to_local_surface_size <yes|no>
If set to yes, the given sizes are relative to the surface size
Default: no
--number_of_boundary_layers <number>
Sets the number of boundary layers.
Default: 0
--boundary_layer_global_initial_height <height>
Sets the height of the first layer.
--boundary_layer_surface_tags <list>
Comma separated list of surface references to be used to grow
boundary layers.
--boundary_layer_initial_height_on_surface_tags <list>
Comma separated list of initial heights to be used to grow boundary
layers.
--boundary_layer_geometric_progression <real>
Sets the geometric progression for all the boundary layer growths
(position of layer number i is h * g^(i-1)).
Default: 1.0
--boundary_layer_max_element_angle <size>
Sets the maximum internal angles of elements (in degree). This
setting applies to the boundary layer elements only.
Default: 165.
--boundary_layer_imprinting <boolean>
Activates the imprinting of the boundary layers. The parts of the
surface where the layers have to be imprinted are defined through the
option --boundary_layer_imprinting_tags
Default: no imprinting
--boundary_layer_imprinting_tags <list>
Comma separated list of surface references that have to be imprinted
by boundary layers.
--boundary_layer_snapping <boolean>
Activates the snapping of the generated boundary layers on the
surface. The parts of the surface where the layers have to be snapped
into are defined through the option --boundary_layer_snapping_tags
Default: no snapping
--boundary_layer_snapping_tags <list>
Comma separated list of surface references that are imprinted by
boundary layers.
--normal_direction <dir>
Specifies whether mg-hybrid should use the surface normals or the
inverse of the surface normals.
if <dir> is:
1 : means the layers grow in the same direction as the normals to
the surface
-1 : means the layers grow in the opposite direction to the normals
of the surface
Default: 1
--gradation <real>
Sets the desired maximum ratio between 2 adjacent edges. It applies
only to the edges which belong to the tetrahedra.
Default: 2.0
--element_generation <type>
Sets the element type for the mesh generation.
If <type> is:
tetra_dominant : prismatic or hexahedral elements in the boundary
layers, tetrahedra in the remaining volume
hexa_dominant : prismatic or hexahedral elements in the boundary
layers, mixture of hexahedra and tetrahedra in the remaining
volume
cartesian_core : cartesian hexa core with tetrahedra and pyramids
in the remaining volume
extrusion_only : only prismatic or hexahedral elements near the
boundary are generated. The remaining volume is not filled.
Default: tetra_dominant
--collision_mode <mode>
Sets the behavior in case of collision between layers.
If <mode> is:
decrease : keeps the number of desired layer but decreases the
height of the layers to avoid any collision
stop : stops locally the generation of layers to avoid collisions;
the number of generated layers may differ from the specified
desired number
Default: stop
--add_multinormals <yes|no>
Add extra normals at opening ridges and corners.
Default: no
--multinormal_angle_threshold <angle>
Set the maximum angle between the multiple normals at opening ridges.
Default: 30
--smooth_normals <yes|no>
Smooth normals at closed ridges and corners.
Default: no
--optimisation <type>
sets the optimisation type.
If <type> is:
no : no optimisation is applied
yes : optimisation is performed upon mesh generation
only : only optimisation is performed to an existing volume mesh.
Default: yes.
====================================================================================
MG-Hybrid -- MeshGems 2.15-1 (January, 2023)
END OF SESSION - MG-Hybrid (Copyright 2014-2023 by Dassault Systemes SE)
compiled Jan 18 2023 13:33:47 on Linux_64
MeshGems is a commercial trademark of Dassault Systemes SE
====================================================================================