mkgeo_grid(1rheolef) | rheolef | mkgeo_grid(1rheolef) |
mkgeo_grid - structured mesh of a parallelepiped (rheolef-7.2)
mkgeo_grid [options] [nx [ny [nz]]]
The following command build a triangular based 2d 10x10 grid of the unit square:
mkgeo_grid -t 10 > square-10.geo
geo square-10.geo
or in one command line:
mkgeo_grid -t 10 | geo -
This command is useful when testing programs on simple geometries. It avoid the preparation of an input file for a mesh generator. The optional nx, ny and nz arguments are integer that specifies the subdivision in each direction. By default nx=10, ny=nx and nz=ny. The mesh files goes on standard output.
The command supports all the possible element types: edges, triangles, rectangles, tetrahedra, prisms and hexahedra.
-e
-t
-q
-T
-P
-H
-a float
-b float
-c float
-d float
-f float
-g float
For instance, the following command meshes the [-2,2]x[-1.5, 1.5] rectangle:
mkgeo_grid -t 10 -a -2 -b 2 -c -1.5 -d 1.5 | geo -
-[no]sides
-[no]boundary
By default, both sides and the whole boundary are defined as domains:
mkgeo_grid -t 10 -nosides | geo -
mkgeo_grid -t 10 -noboundary | geo -
mkgeo_grid -t 10 -noboundary -nosides | geo -
-[no]region
Example:
mkgeo_grid -t 10 -region | geo -
-[no]corner
Example:
mkgeo_grid -t 10 -corner | geo -
mkgeo_grid -T 5 -corner | geo -
-cartesian
-rz
-zr
This documentation has been generated from file main/sbin/mkgeo_grid.sh
Pierre Saramito <Pierre.Saramito@imag.fr>
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.
Mon Sep 19 2022 | Version 7.2 |