Continuing in a similar vein as Travis’ earlier example where he introduces the very first Glyph script he wrote that creates NACA-4 series airfoils directly in Pointwise, this week’s This Is How I Glyph entry introduces my very first attempt at Glyph scripting with AircraftMesher.glf. The Aircraft Mesher Glyph script demonstrates Glyph’s ability to automate unstructured surface and viscous volume meshing of an entire vehicle using T-Rex.
The script relies upon an existing solid model of a generic transport aircraft. The geometry itself was created using OpenVSP and exported into a neutral CAD representation before being imported into Pointwise. Within the Glyph script’s header are a number of user-defined parameters which can be helpful in modifying or controlling various characteristics of both the resulting surface and volume mesh including farfield size, surface mesh refinement, 2-D and 3-D T-Rex parameters, viscous boundary layer resolution, along with a few others.
After the surface and volume meshes have been created, the script applies appropriate CAE boundary conditions and saves the resulting grid as a new project file in the working directory. Watch the script in action using the embedded video below. For more information, this article from The Connector or this Let’s Talk Meshing webcast episode provide some more detailed views at how this script was created.
If you have an idea for a new Glyph script, and you would like to learn more about how to get started, then contact us via the comments section below or contact @Pointwise on Twitter. We’re also interested in learning more about the Glyph scripts our users have created. Get in touch with us if you would like to share and have your script highlighted here on Another Fine Mesh.