VMTKMESHADDEXTERNALLAYER(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’– NAME πŸ’–

okay so bestie, say hi to vmtkmeshaddexternallayer β€” it's a vmtk script, and the script's literally called vmtkmeshaddexternallayer. That's it, that's the name. Iconic, honestly. ✨


πŸŽ€ DESCRIPTION πŸŽ€

so the page starts with the autogenerated boilerplate, no cap: Automatic piping vmtkmeshaddexternallayer, then Parsing options, then vmtkmeshaddexternallayer again. That's just the script announcing itself, bestie, it's the standard vmtk auto-formatting vibe. 🫢

then here's the actual flex:

vmtkmeshaddexternallayer : create an external prismatic layer from the wall of a mesh, using the normals on the wall. that's the whole main-character job. πŸ’…


🌸 Input arguments 🌸

these are the ones you feed in, bestie. every flag, every default, exactly as it is:

  • -id Id (str,1); default=0 β€” the script id πŸͺͺ
  • -handle Self (self,1) β€” handle to self, yep it's holding itself, self-care fr πŸ’–
  • -disabled Disabled (bool,1); default=0 β€” switches off execution and piping 🚫
  • -i Mesh (vtkUnstructuredGrid,1) β€” the input mesh πŸ‘‘
  • -ifile MeshInputFileName (str,1) β€” filename for the default Mesh reader πŸ“‚
  • -entityidsarray CellEntityIdsArrayName (str,1); default=CellEntityIds β€” the array name, defaults to CellEntityIds 🏷️
  • -surfacecellentityid SurfaceCellEntityId (int,1); default=1 β€” the id of the first surface cells in the entityids list ✨
  • -inletoutletcellentityid InletOutletCellEntityId (int,1); default=2 β€” id for the inlet/outlet cells πŸšͺ
  • -extrudecellentityid ExtrudeCellEntityId (int,1); default=1 β€” the id of the surface cells you wanna extrude 🧚
  • -thicknessarray ThicknessArrayName (str,1) β€” the name of the array where the scalars defining boundary layer thickness live πŸ“
  • -thickness Thickness (float,1); default=1.0 β€” the value of the constant boundary layer thickness 🌈
  • -thicknessratio ThicknessRatio (float,1) >= 0.0; default=0.1 β€” multiplying factor for the boundary layer thickness βœ–οΈ
  • -maximumthickness MaximumThickness (float,1); default=10000000000.0 β€” the max allowed value for boundary layer thickness, and yes that's a whole lot of zeros, she's generous πŸ’€
  • -numberofsublayers NumberOfSubLayers (int,1) >= 0; default=1 β€” how many sublayers the boundary layer has to be made of 🧁
  • -sublayerratio SubLayerRatio (float,1) >= 0.0; default=1.0 β€” the ratio between the thickness of two successive boundary layers πŸ“
  • -constantthickness ConstantThickness (bool,1); default=1 β€” toggles constant boundary layer thickness πŸ”
  • -includesurfacecells IncludeSurfaceCells β€” include all surface cells in the output mesh 🫢
  • -includeextrudedopenprofilescells IncludeExtrudedOpenProfilesCells (bool,1); default=1 β€” include the cells from the open profiles extruded surface in the output mesh πŸŒ€
  • -includeextrudedsurfacecells IncludeExtrudedSurfaceCells (bool,1); default=1 β€” include the cells from the extruded surface in the output mesh πŸ¦‹
  • -includeoriginalsurfacecells IncludeOriginalSurfaceCells (bool,1); default=0 β€” include the cells from the original surfacein output mesh (yes, "surfacein", that's the original word, we do not touch it, periodt) πŸ™ˆ
  • -ofile MeshOutputFileName (str,1) β€” filename for the default Mesh writer πŸ’Ύ

πŸ‘‘ Output arguments πŸ‘‘

what comes back out when she's done slaying:

  • -id Id (str,1); default=0 β€” the script id πŸͺͺ
  • -handle Self (self,1) β€” handle to self, again, she's consistent πŸ’…
  • -o Mesh (vtkUnstructuredGrid,1) β€” the output mesh πŸŽ€
ngl bestie, -id and -handle show up in both the input list and the output list. that's not a typo on my part, that's literally how it's written. don't come for me. 😭

and that's the whole page, fr fr. it's vmtkmeshaddexternallayer version 1.5, dated April 2026. go build that external prismatic layer, bestie, you're gonna eat. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from