The tool geometryToGmshGeo
takes OGS geometries (gml files) and creates a Gmsh
.geo
file. The user can specify several command line arguments to influence the
creation procedure. A list of the arguments as well as a description of each
argument can be obtained with the --help
option.
geometryToGmshGeo --input <input file name> --output <output file>
The --input
argument is accepted multiple times.
First, the Gmsh geometry file is create from the gml file square_1x1.gml:
geometryToGmshGeo -i square_1x1.gml -o /tmp/square_1x1.geo --mesh_density_scaling_at_points 0.05
Then, the Gmsh geometry can be meshed:
gmsh /tmp/square_1x1.geo -2 -algo meshadapt -format msh22 -o /tmp/square_1x1.msh
First, the Gmsh geometry file is create from the gml files
geometryToGmshGeo -i square_1x1.gml
-i square_0.15_0.25x0.15_0.25.gml
-i square_0.45_0.55x0.45_0.55.gml
-o /tmp/square_1x1.geo --mesh_density_scaling_at_points 0.5
Then, the Gmsh geometry can be meshed:
gmsh /tmp/square_1x1.geo -2 -algo meshadapt -format msh22 -o /tmp/square_1x1.msh
This article was written by Thomas Fischer. If you are missing something or you find an error please let us know.
Generated with Hugo 0.122.0
in CI job 493443
|
Last revision: September 23, 2024
Commit: [MeL/IO/XDMF] Return also computed parent data type 09baf91
| Edit this page on