mkgeo_ball(1rheolef)
π mkgeo_ball β bestie's guide to unstructured ellipsoid meshes π
okay so this is mkgeo_ball, a page from the rheolef manual (that's rheolef-7.2, mwah π
). It lives in section 1rheolef of the man pages, and it's literally here to hand you an unstructured mesh of an ellipsoid. no cap. let's go π¦
β¨ NAME β¨
mkgeo_ball β unstructured mesh of an ellipsoid (rheolef-7.2)
πΈ SYNOPSIS πΈ
mkgeo_ball [options] [n]
π EXAMPLE π
mkgeo_ball -t 10 | geo -
So that command up there? It builds a triangle-based, 2d unstructured mesh of the unit ball. iconic. π
π«Ά DESCRIPTION π«Ά
This command is so useful when you're testing programs on simple geometries β like, why fight a complicated mesh when you can just vibe with a ball?
Calling it works pretty much the same as calling mkgeo_grid(1). Under the hood it calls gmsh as the unstructured mesh generator, so you don't have to sit there preparing an input file for a mesh generator yourself. not me saving you a whole afternoon π
The optional n argument is an integer that says how much to subdivide in each direction. Default is n=10. And the mesh files? They go straight to standard output. periodt.
π THE MESH ORDER π
-order intβ the polynomial approximation mesh order, for the curved boundary, exactly as defined bygmsh. Default isorder=1.
π ELEMENT TYPE OPTION π
pick your fighter:
-eβ 1d mesh using edges.-tβ 2d mesh using triangles.-qβ 2d mesh using quadrangles (rectangles).-Tβ 3d mesh using tetrahedra.-Pβ 3d mesh using prisms.-Hβ 3d mesh using hexahedra.-tqβ 2d mesh using both triangles and quadrangles.-TP,-PH,-TPHβ 3d mixed mesh combining tetrahedra, prisms and/or hexahedra.
π¦ THE GEOMETRY π¦
-a float-b float-c float-d float-f float-g float
The geometry can be an ellipse/ellipsoid inscribed in the [a,b]x[c,d] rectangle, or in the [a,b]x[c,d]x[f,g] parallelepiped. By default a=c=f=-1 and b=d=g=1, so you get the unit balls. π
-sβ only a surface mesh gets generated: a curved line in 2d, or a curved surface mesh in 3d. And in 3d it supports both the-tand-qoptions. slay.
π BOUNDARY DOMAINS π
The meshes define a domain named boundary that groups all boundary sides. one name, all the edges, very main character energy.
β OTHERS OPTIONS β
-[no]fixβ by default, internal face and volume nodes fromgmshare recomputed, because they have incorrect coordinates that destroy the convergence properties of isoparametric high order elements (order>= 3). The-nofixoption skips this correction β it's available for test purpose only.
fr fr, don't be out here turning off fix unless you're just testing. the convergence properties said please. π
-[no]cleanβ clear temporary files (this is the default).-[no]verboseβ print intermediate commands and information messages.
π§ IMPLEMENTATION π§
This documentation has been generated from file main/sbin/mkgeo_ball.sh. yep, it's a shell script, she's humble like that π
πΈ AUTHOR πΈ
Pierre Saramito <Pierre.Saramito@imag.fr>
π 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.
and that's the whole page bestie π«Ά this is rheolef, Version 7.2, dated with the mkgeo_ball(1rheolef) footer energy β go build yourself a ball, you've got this β¨π
π¦ where this page comes from
- debian trixie: rheolef 7.2-4 Β· GPL-3.0-or-later
- ubuntu noble: rheolef 7.2-3build5 Β· GPL-3.0-or-later
- ubuntu questing: rheolef 7.2-4build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms