Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkgeo_grid(1rheolef) [debian man page]

mkgeo_grid(1rheolef)						    rheolef-6.1 					      mkgeo_grid(1rheolef)

NAME
mkgeo_grid -- build a strutured mesh of a parallelotope, in 1d, 2d or 3d SYNOPSIS
mkgeo_grid options [nx [ny [nz]]] EXAMPLE
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 comand line: mkgeo_grid -t 10 | geo - DESCRIPTION
This command is usefull 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, tetraedra, prisms and hexahedra. ELEMENT TYPE OPTIONS
-e 1d mesh using edges. -t 2d mesh using triangles. -q 2d mesh using quadrangles (rectangles). -T 3d mesh using tetraedra. -P 3d mesh using prisms. -H 3d mesh using hexahedra. THE GEOMETRY
The geometry can be any [a,b] segment, [a,b]x[c,d] rectangle or [a,b]x[c,d]x[f,g] parallelotope. By default a=c=f=0 and b=d=g=1, thus, the unit boxes are considered. 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 - -a float -b float -c float -d float -f float -g float BOUNDARY DOMAINS
-sides -nosides The boundary sides are representd by domains: left, right, top, bottom,front and back. -boundary -noboundary This option defines a domain named boundary that groups all sides. By default, both sides and the whole boundary are defined as domains: mkgeo_grid -t 10 > square.geo geo square.geo mkgeo_grid -t 10 -nosides > square.geo geo square.geo mkgeo_grid -t 10 -noboundary > square.geo geo square.geo mkgeo_grid -t 10 -noboundary -nosides > square.geo geo square.geo REGIONS
-region -noregion The whole domain is splitted into two subdomains: east and west, This option is used for testing computations with subdomains (e.g. transmission problem; see the user manual). mkgeo_grid -t 10 -region | geo - CORNERS
-corner -nocorner The corners (four in 2D and eight in 3D) are defined as OD-domains. This could be usefull for some special boundary conditions. mkgeo_grid -t 10 -corner | geo - mkgeo_grid -T 5 -corner | geo - COORDINATE SYSTEM OPTION
Most of rheolef codes are coordinate-system independant. The coordinate system is specified in the geometry file `.geo'. -zr -rz the 2d mesh is axisymmetric: zr (resp. rz) stands when the symmetry is related to the first (resp. second) coordinate. FILE FORMAT OPTION
rheolef-6.1 rheolef-6.1 mkgeo_grid(1rheolef)

Check Out this Related Man Page

geo(1rheolef)                                                       rheolef-6.1                                                      geo(1rheolef)

NAME
geo - plot a finite element mesh SYNOPSIS
geo options mesh[.geo[.gz]] DESCRIPTION
Plot or upgrade a finite element mesh. EXAMPLES
Plot a mesh: geo square.geo geo box.geo geo box.geo -full Plot a mesh into a file: geo square.geo -image-format png Convert from a old geo file format to the new one: geo -upgrade - < square-old.geo > square.geo See below for the geo file format scpecification. The old file format does not contains edges and faces connectivity in 3d geometries, or edges connectivity in 2d geometries. The converter add it automatically into the upgraded file format. Conversely, the old file format is usefull when combined with a translator from another file format that do not provides edges and faces connectivity. INPUT FILE SPECIFICATION
filename specifies the name of the file containing the input mesh. The ".geo" suffix extension is assumed. - read mesh on standard input instead on a file. -name when mesh comes from standard input, the mesh name is not known and is set to "output" by default. This option allows to change this default. Useful when dealing with output formats (graphic, format conversion) that creates auxilliary files, based on this name. -Idir -I dir Add dir to the rheolef file search path. This mechanism initializes a search path given by the environment variable `RHEOPATH'. If the environment variable `RHEOPATH' is not set, the default value is the current directory. -check Check that element orientation is positive. INPUT FORMAT OPTIONS
-if format -input-format format load mesh in format file format, instead of plotting it. Supported output formats are: geo, bamg, vtk. When loading from a file, the corresponding suffix extension is assumed. RENDER SPECIFICATION
-gnuplot use gnuplot tool. This is the default. -mayavi use mayavi tool. RENDER OPTIONS
-lattice -nolattice When using a high order geometry, the lattice inside any element appears. Default is on; -subdivide int When using a high order geometry, the number of points per edge used to draw a curved element. Default value is the mesh order. -full -nofull All internal edges appears, for 3d meshes. Default is off; -fill -nofill Fill mesh faces using light effects, when available. -stereo -[no]stereo Rendering mode suitable for red-blue anaglyph 3D stereoscopic glasses. Option only available with mayavi. -cut -nocut cut by plane and clip (with mayavi only). OUTPUT FILE FORMAT OPTIONS
-geo output mesh on standard output stream in geo text file format, instead of plotting it. -upgrade Convert from a old geo file format to the new one. -gmsh output mesh on standard output stream in gmsh text file format, instead of plotting it. -image-format string The argument is any valid image format, such as bitmap png, jpg, gif or vectorial ps or pdf image file formats, and that could be handled by the corresponding render. The output file is e.g. `@emph{basename'.png} when @emph{basename} is the name of the mesh, or can be set with the -name option. OTHERS OPTIONS
-add-boundary check for a domain named "boundary"; If this domain does not exists, extract the boundary of the geometry and append it to the domain list. This command is usefull for mesh converted from generators, as bamg, that cannot have more than one domain specifica- tion per boundary edge. -verbose print messages related to graphic files created and command system calls (this is the default). -noverbose does not print previous messages. -clean clear temporary graphic files (this is the default). -noclean does not clear temporary graphic files. -execute execute graphic command (this is the default). -noexecute does not execute graphic command. Generates only graphic files. This is usefull in conjuction with the "-noclean" command. -check -dump used for debug purpose. INQUIRE OPTIONS
-min-element-measure -max-element-measure print the smallest (resp. largest) element measure and then exit. GEO FILE FORMAT
TODO rheolef-6.1 rheolef-6.1 geo(1rheolef)
Man Page