.TH "bamg2geo" 1rheolef "Version 7.2" "rheolef" \" -*- nroff -*- .ad l .nh .SH NAME bamg2geo \- convert bamg mesh in geo format (rheolef-7\&.2) .PP .SH "SYNOPSIS" .PP .nf bamg2geo [options] file[\&.bamg] file[\&.dmn] .fi .PP .SH "DESCRIPTION" Convert a \fC\&.bamg\fP file into a \fC\&.geo\fP one\&. The output goes to standard output\&. The \fC\&.dmn\fP file specifies the domain names, since the \fCbamg\fP mesh generator uses numbers as domain labels instead of names\&. When no files are provided, the standard input is used\&. .SH "EXAMPLES" .PP .nf bamg -g toto\&.bamgcad -o toto\&.bamg bamg2geo toto\&.bamg toto\&.dmn > toto\&.geo .fi .PP .SH "THE BAMG CAD FILE" The \fC\&.bamgcad\fP file describes the boundary of the mesh geometry\&. Here is a basic example: .PP .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 .fi .PP See \fBbamg(1)\fP \&. .SH "DOMAIN NAME FILE" The \fC\&.dmn\fP file defines the boundary domain names used by Rheolef, since \fCbamg\fP uses numeric labels for domains\&. Here is an example: .PP .nf EdgeDomainNames 4 bottom right top left .fi .PP The domain name file can also specify additional vertices domain: .PP .nf EdgeDomainNames 4 bottom right top left VertexDomainNames 4 left_bottom right_bottom right_top left_top .fi .PP Vertex domain names are useful for some special boundary conditions\&. .SH "OPTIONS" .PP \fC-cartesian\fP .br \fC-rz\fP .br \fC-zr\fP .PP .RS 4 Specifies the coordinate system\&. The default is \fCcartesian\fP while \fC-rz\fP and \fC-zr\fP denotes some axisymmetric coordinate systems\&. Recall that most of Rheolef codes are coordinate-system independent and the coordinate system is specified in the geometry file \fC\&.geo\fP\&. .RE .PP .SH "IMPLEMENTATION" This documentation has been generated from file main/sbin/bamg2geo\&.cc .SH AUTHOR Pierre Saramito .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.