.\" .de Id .. .de Sp .if n .sp .if t .sp 0.4 .. .TH bamg2geo 1rheolef "rheolef-6.7" "rheolef-6.7" "rheolef-6.7" .\" label: Prog:bamg2geo .SH NAME \fBbamg2geo\fP - convert bamg mesh in geo format .\" skip: @cindex mesh .\" skip: @pindex bamg2geo .\" skip: @pindex geo .\" skip: @fiindex @file{.bamg} bamg mesh .\" skip: @fiindex @file{.dmn} domain names .\" skip: @fiindex @file{.geo} mesh .\" skip: @toindex @code{bamg} .SH SYNOPSIS .\" begin_example .Sp .nf bamg2geo \fIoptions\fP \fIinput\fP[.bamg] \fIinput\fP[.dmn] bamg2geo \fIoptions\fP \fIinput\fP[.bamg] -Cl \fIdomlabel\fP bamg2geo \fIoptions\fP \fIinput\fP[.bamg] {-dom \fIdomname\fP}* .Sp .fi .\" end_example .PP .SH DESCRIPTION Convert a bamg `\fB.bamg'\fP into `\fB.geo'\fP one. The output goes to standart output. The `\fB.dmn'\fP file specifies the domain names, since \fBbamg\fP mesh generator uses numbers as domain labels. .PP .SH EXAMPLE .\" begin_example .Sp .nf bamg -g toto.bamgcad -o toto.bamg bamg2geo toto.bamg toto.dmn > toto.geo .Sp .fi .\" end_example .PP .SH BAMG CAD FILE This file describe the boundary of the mesh geometry. A basic example writes (See bamg documentation for more); .\" begin_example .Sp .nf 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 .Sp .fi .\" end_example .SH DOMAIN NAME FILE This auxilliary `\fB.dmn'\fP file defines the boundary domain names as used by Rheolef, since \fBbamg\fP uses numeric labels for domains. .\" begin_example .Sp .nf EdgeDomainNames 4 bottom right top left .Sp .fi .\" end_example .SH THE DOMAIN NAME FILE CAN ALSO SPECIFY ADDITIONAL VERTICES DOMAIN .\" begin_example .Sp .nf EdgeDomainNames 4 bottom right top left VerticeDomainNames 4 left_bottom right_bottom right_top left_top .Sp .fi .\" end_example Vertice domain names are usefull for some special boundary conditions. .SH OPTIONS .\" begin table .\" start item .TP .B -upgrade .\" start item .TP .B -noupgrade Default is to output a version 2 `\fB.geo'\fP file format. See geo(1). With the \fB-noupgrade\fP, a version 1 file format is assumed. .\" start item .TP .B -cartesian .\" start item .TP .B -rz .\" start item .TP .B -zr Specifies the coordinate system. .\" start item .TP .B -dom \fIdom1\fP ... -dom \fIdomN\fP .\" end table .\" END .\" LENGTH = 1 .SH SEE ALSO geo(1)