VMTKMESHGENERATOR(1)
β¨ VMTKMESHGENERATOR β¨
okay so bestie, meet vmtkmeshgenerator β part of the vmtk script family, and it's lowkey iconic. It shows up in section 1 of the manual, aka User Commands, so you already know it's a real one. π«Ά
πΈ NAME πΈ
vmtkmeshgenerator β a vmtk script. yes queen, that's literally the whole name section, it's giving minimalism π
π DESCRIPTION π
Automatic piping, babe. vmtkmeshgenerator parses its options, then pipes everything along like it's passing notes in the group chat. π¨
Here's the real tea: vmtkmeshgenerator generates a mesh suitable for CFD from a surface. that's the whole assignment. CFD-ready mesh, out of a surface, no cap. π₯
π₯ Input arguments:
-idId(str,1); default=0β the script id. it's the little name tag everyone wears at the party. π-handleSelf(self,1)β a handle to self. yes, it's holding its own hand. self-care fr. π«Ά-disabledDisabled(bool,1); default=0β turn this on and execution and piping get switched off entirely. like airplane mode but for your script. βοΈ-iSurface(vtkPolyData,1)β the input surface. the main character of this whole saga. π-ifileSurfaceInputFileName(str,1)β filename for the default Surface reader. so it knows what to read, bestie.-edgelengthTargetEdgeLength(float,1) >= 0.0; default=1.0β how long you want your target edges, in numbers.-edgelengtharrayTargetEdgeLengthArrayName(str,1)β the name of the array holding your target edge lengths.-edgelengthfactorTargetEdgeLengthFactor(float,1) >= 0.0; default=1.0β a factor. applied to the target edge length. it's a multiplier, that's it, that's the vibe. β¨-trianglesplitfactorTriangleSplitFactor(float,1) >= 0.0; default=5.0β the factor for splitting triangles. five whole split. π-endcapsedgelengthfactorEndcapsEdgeLengthFactor(float,1) >= 0.0; default=1.0β edge length factor, but make it endcaps. π§’-maxedgelengthMaxEdgeLength(float,1) >= 0.0; default=1e+16β the biggest your edges are allowed to get. and yes,1e+16is enormous, it's basically letting them be free. π-minedgelengthMinEdgeLength(float,1) >= 0.0; default=0.0β the smallest your edges are allowed to get. zero floor, tiny king.-entityidsarrayCellEntityIdsArrayName(str,1); default=CellEntityIdsβ the array name for cell entity ids.-elementsizemodeElementSizeMode(str,1)in['edgelength', 'edgelengtharray']; default=edgelengthβ pick your fighter:edgelengthoredgelengtharray. choose wisely bestie. π¦-cappingmethodCappingMethod(str,1)in['simple', 'annular', 'concaveannular']; default=simpleβ three flavors of capping:simple,annular,concaveannular. simple is the default because simple ate. π-skipcappingSkipCapping(bool,1); default=0β set it and capping justβ¦ doesn't happen. we're skipping that step, bye. π-skipremeshingSkipRemeshing(bool,1); default=0β same energy, but for remeshing. we simply will not be remeshing today. π-volumeelementfactorVolumeElementScaleFactor(float,1) >= 0.0; default=0.8β the scale factor for volume elements. point eight. periodt.-boundarylayerBoundaryLayer(bool,1); default=0β do you want a boundary layer? default is no. flip it to1if yes. π-sublayersNumberOfSubLayers(int,1) >= 0; default=2β how many sublayers. two of them, by default.-substepsNumberOfSubsteps(int,1) >= 0; default=2000β two thousand substeps. yes, two THOUSAND. that's commitment. π₯-relaxationRelaxation(float,1) >= 0.0; default=0.01β the relaxation value. breathe in, breathe out,0.01. π§-localcorrectionLocalCorrectionFactor(float,1) >= 0.0; default=0.45β the local correction factor. fixing things locally, like a girlboss.-sublayerratioSubLayerRatio(float,1) >= 0.0; default=0.5β the sublayer ratio. exactly half, aesthetically pleasing.-thicknessfactorBoundaryLayerThicknessFactor(float,1) >= 0.0; default=0.25β how thick your boundary layer gets. a quarter, cute.-remeshcapsonlyRemeshCapsOnly(bool,1); default=0β only remesh the caps, nothing else. caps get the spotlight. π§’β¨-boundarylayeroncapsBoundaryLayerOnCaps(bool,1); default=1β boundary layer on the caps. this one is ON by default, unlike its sibling up there. π§’-tetrahedralizeTetrahedralize(bool,1); default=0β want tetrahedra? default says no, but you can say yes. πΊ-ofileMeshOutputFileName(str,1)β filename for the default Mesh writer. where your mesh goes to live. π‘-remeshedsurfacefileRemeshedSurfaceOutputFileName(str,1)β filename for the default RemeshedSurface writer. the remeshed surface needs a home too, bestie. π
π€ Output arguments:
-idId(str,1); default=0β yep, the script id again. it's in both lists, it contains multitudes. π-handleSelf(self,1)β and the handle to self, also back for round two. self-love twice. π«Ά-oMesh(vtkUnstructuredGrid,1)β THE output mesh. the whole point. the moment. the payoff. π-entityidsarrayCellEntityIdsArrayName(str,1); default=CellEntityIdsβ the cell entity ids array name, appearing on the output side too.-remeshedsurfaceRemeshedSurface(vtkPolyData,1)β the output surface, post-remesh. she's been through something. π¦
real talk: this is vmtk's automatic piping machinery, so the-id,-handle,-disabledtrio and the various*FileNameoptions are how scripts get chained together and how readers/writers get picked. don't skip them, they're load-bearing. π
π vmtkmeshgenerator 1.5
that's the version, bestie β 1.5 β dated April 2026. go make a mesh, you're gonna slay. πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms