.\" .de Id .. .de Sp .if n .sp .if t .sp 0.4 .. .TH bamg2geo 1rheolef "rheolef-7.0" "rheolef-7.0" "rheolef-7.0" .\" 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] .Sp .fi .\" end_example .PP .SH DESCRIPTION Convert a bamg `\fB.bamg'\fP into `\fB.geo'\fP one. The output goes to standard output. The `\fB.dmn'\fP file specifies the domain names, since \fBbamg\fP mesh generator uses numbers as domain labels. When no files are provided, the standard input is used. .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 auxiliary `\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 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 useful for some special boundary conditions. .SH OPTIONS .\" begin table .\" start item .TP .B -cartesian .\" start item .TP .B -rz .\" start item .TP .B -zr Specifies the coordinate system. .\" end table .SH LIMITATION Do not support yet 2d region domains, such as "east" and "west". .\" END .SH COPYRIGHT Copyright (C) 2000-2018 Pierre Saramito GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.