mkgeo_ball options [n]
The following command build a triangle based 2d unstructured mesh of the unit ball
mkgeo_ball -t 10 > ball-10.geo geo -mayavi ball-10.geoor in one comand line:
mkgeo_ball -t 10 | geo -mayavi -
This command is usefull when testing programs on simple geometries. Invocation is similar to mkgeo_grid (see mkgeo_grid(1), mkgeo_ugrid(1)). It calls gmsh as unstructured mesh generator. It avoid the preparation of an input file for a mesh generator. The optional n argument is an integer that specifies the subdivision in each direction. By default n=10. The mesh files goes on standard output.
ELEMENT TYPE OPTIONS
- 2d mesh using triangles.
- 2d mesh using quadrangles.
- 2d mesh using both triangles and quadrangles.
THE MESH ORDER
- -order int
- The polynomial pproximation mesh order, for the curved boundary, as defined by gmsh. Defualt is order=1.
The geometry can be ellipse/ellipsoid inscribted in the [a,b]x[c,d] rectangle or the [a,b]x[c,d]x[f,g] parallelotope. By default a=c=f=-1 and b=d=g=1, thus, the unit balls are considered.
- Only a surface mesh is generated: a curved line in 2d or a curved surface mesh in 3d. In 3d, supports both '-t' and '-q' options.
- -a float
- -b float
- -c float
- -d float
- -f float
- -g float
The meshes defines a domain named boundary that groups all boundary sides.
- By default, internal face and volume node from gmsh are recomputed, since they have incorrect coordinate that destroy the convergence properties of isoparametric high order elements (order >= 3). The -nofix option skip this correction: this option is available for test purpose.
- clear temporary files (this is the default).
- does not clear temporary files.
- print intermediate commands and information messages.