Scroll to navigation

bamg2geo(1rheolef) rheolef-7.0 bamg2geo(1rheolef)

NAME

bamg2geo - convert bamg mesh in geo format

SYNOPSIS

  bamg2geo options input[.bamg] input[.dmn]

DESCRIPTION

Convert a bamg `.bamg' into `.geo' one. The output goes to standard output. The `.dmn' file specifies the domain names, since bamg mesh generator uses numbers as domain labels. When no files are provided, the standard input is used.

EXAMPLE

  bamg -g toto.bamgcad -o toto.bamg
  bamg2geo toto.bamg toto.dmn > toto.geo

BAMG CAD FILE

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

DOMAIN NAME FILE

This auxiliary `.dmn' file defines the boundary domain names as used by Rheolef, since bamg uses numeric labels for domains.

  EdgeDomainNames
    4
    bottom
    right
    top
    left

The domain name file can also specify additional vertices domain:

  EdgeDomainNames
    4
    bottom
    right
    top
    left
  VerticeDomainNames
    4
    left_bottom
    right_bottom
    right_top
    left_top

Vertice domain names are useful for some special boundary conditions.

OPTIONS

-cartesian
-rz
-zr
Specifies the coordinate system.

LIMITATION

Do not support yet 2d region domains, such as "east" and "west".

COPYRIGHT

Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr> GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
rheolef-7.0 rheolef-7.0