DOLFIN-CONVERT(1)
π dolfin-convert β the glow-up your mesh files have been waiting for π
okay so bestie, real talk: this page comes from the General Commands Manual and it's literally the manual for dolfin-convert. sit down, grab a strawberry π, and let me tell you about it.
β¨ NAME β¨
dolfin-convert β convert to DOLFIN XML format π¦
π SYNOPSIS π
dolfin-convert [OPTIONS] ... input.x output.y
like. you hand it an input file, you hand it an output file, and it does the thing. main character energy fr fr. π
π OPTIONS π
-h,--helpβ shows you the help text and then dips. that's it, that's the whole job. π-iformat,--inputformat β tells it what format the input is, so it doesn't have to guess. π§-oformat,--outputformat β same vibe but for the format you want coming out the other end. πΈ
π the formats it speaks π
here's the whole roster, no gatekeeping:
xmlβ DOLFIN XML mesh format (current) β¨xml-oldβ DOLFIN XML mesh format (DOLFIN 0.6.2 and earlier)meshβ Medit, generated by tetgen with option-ggmshβ Gmsh, version 2.0 file formatmetisβ Metis graph file formatscotchβ Scotch graph file formatdiffpackβ Diffpack tetrahedral grid formatabaqusβ Abaqus tetrahedral grid formatExodusIIβ Sandia Format (requiresncdumputility from NetCDF)NetCDFβ NetCDF format (requiresncdumputility from NetCDF)StarCDβ StarCD terahedral grid format
not me pointing out thatExodusIIandNetCDFare highkey needy β they both want thencdumputility from NetCDF to even function. know that before you commit. π
π¦ if you don't say anything, it reads your vibes (aka your suffixes) π¦
if --input or --output aren't specified, the format gets deduced from the suffix, like this:
.xmlβxml.meshβmesh.gmshβgmsh.mshβgmsh.graβmetis.grfβscotch.gridβdiffpack.inpβabaqus.eβExodusII.exoβExodusII.ncdfβNetCDF.vrtβStarCD.cellβStarCD
so yeah, the file extension is basically doing a vibe check and the program trusts it. iconic behavior honestly. π
π BUGS π
found something cursed? got a comment, a question, a bug report, whatever? send it all to dolfin@lists.launchpad.net. they want to hear it, fr fr. π
π AUTHOR π
dolfin-convert was originally written by Anders Logg <logg@simula.no>. several other people contributed to add support for different mesh formats β a whole collaborative slay. this manual page was written by Johannes Ring <johannr@simula.no>. π«Ά
and that's the whole page bestie, we ate and left no crumbs. this was the DOLFIN-CONVERT(1) page out of the General Commands Manual β so go forth, convert those meshes, and be the main character of your own terminal. β π π
π¦ where this page comes from
- debian bookworm: dolfin-bin 2019.2.0~git20230116.bd54183-2 Β· LGPL-3.0-or-later
- debian trixie: dolfin-bin 2019.2.0~legacy20240219.1c52e83-18 Β· LGPL-3.0-or-later
- ubuntu jammy: dolfin-bin 2019.2.0~git20210928.3eacdb4-3build1 Β· LGPL-3.0-or-later
- ubuntu noble: dolfin-bin 2019.2.0~legacy20240219.1c52e83-1ubuntu4 Β· LGPL-3.0-or-later
- ubuntu questing: dolfin-bin 2019.2.0~legacy20240219.1c52e83-21
- ubuntu resolute: dolfin-bin 2019.2.0~legacy20240219.1c52e83-27build1 Β· LGPL-3.0-or-later
- ubuntu stonking: dolfin-bin 2019.2.0~legacy20240219.1c52e83-31ubuntu2 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms