Convert bamg mesh in geo format
bamg2geo options input[.bamg] input[.dmn] bamg2geo options input[.bamg] -Cl domlabel bamg2geo options input[.bamg] {-dom domname}*
Convert a bamg `.bamg' into `.geo' one. The output goes to standart output. The `.dmn' file specifies the domain names, since bamg mesh generator uses numbers as domain labels.
bamg -g toto.bamgcad -o toto.bamg bamg2geo toto.bamg toto.dmn > toto.geo
This file describe the boundary of the mesh geometry. A basic example writes (See bamg documentation for more);
MeshVersionFormatted 0 Dimension 2 Vertices 4 0 0 1 1 0 2 1 1 3 0 1 4 Edges 4 1 2 101 2 3 102 3 4 103 4 1 104 hVertices 0.1 0.1 0.1 0.1
This auxilliary `.dmn' file defines the boundary domain names as used by Rheolef, since bamg uses numeric labels for domains.
EdgeDomainNames 4 bottom right top left
EdgeDomainNames 4 bottom right top left VerticeDomainNames 4 left_bottom right_bottom right_top left_top
Vertice domain names are usefull for some special boundary conditions.
-upgrade
-noupgrade
Default is to output a version 2 `.geo' file format. See geo(1). With the -noupgrade, a version 1 file format is assumed.
-cartesian
-rz
-zr
Specifies the coordinate system.
-dom dom1 ... -dom domN
geo(1)