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
gmshGUI, 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
gmshPython-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__.pywill not include it unlessadios2is 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.meshxwantsdolfin, notdolfinx- So far, I have found no convenient way of translating
gmshgeocode intogmshPython API code.
Now I wonder:
- Am I chasing the wrong kind of toolchain?
- Do I have to bite the bullet and build FEniCSx,
dolfinx,adios2etc from source?