In my ignorant mind, the desired toolchain should work something like this:
- If necessary, generate 3D geometries in some CAD program.
- Create the mesh interactively with the
gmsh
GUI, including the naming/definition of boundary subsets. - If necessary, convert the mesh file exported from
gmsh
, to some more suitable format. - Import that file into my FEniCSx Python program.
After scouting around a bit on internet, trying this, trying that, it seems that I am constantly running into dead ends.
- “All” tutorials generate their meshes with
gmsh
Python-API instructions. It is self-containing, but not a good sign for my quest. - The debian packages I have installed, come with the file
gmshio.py
, but__init__.py
will not include it unlessadios2
is present. - …but there is no Debian package for
adios2
. (I would like to avoid starting to compile things.) meshio
— its command line tools, as well as its Python functions — “converts” amsh
-file into some kind of half emptyxdmf
-file.meshx
wantsdolfin
, notdolfinx
- So far, I have found no convenient way of translating
gmsh
geo
code intogmsh
Python API code.
Now I wonder:
- Am I chasing the wrong kind of toolchain?
- Do I have to bite the bullet and build FEniCSx,
dolfinx
,adios2
etc from source?