mkgeo_ball(1rheolef) | rheolef-7.0 | mkgeo_ball(1rheolef) |
mkgeo_ball -- build an unstructured mesh of an ellipsoid, in 2d or 3d
mkgeo_ball options [n]
The following command build a triangle based 2d unstructured mesh of the unit ball
or in one command line:
mkgeo_ball -t 10 > ball-10.geo
geo -mayavi ball-10.geo
mkgeo_ball -t 10 | geo -mayavi -
This command is useful 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.
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.
The meshes defines a domain named boundary that groups all boundary sides.
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 |