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.
To download this script directly, you can use this link. Both the script and generic transport Pointwise project file can be downloaded directly from the project’s repository on GitHub.
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.
great series of videos, This is How I Glyph.
One quick question. How do you format your script code? manually or you have custom formater? timestamp 0:40 secs.
Hi Cesar,
Thanks for tuning in. The Tcl source for the AircraftMesher.glf script was formatted manually as I was writing it–nothing fancy.
Pretty cool… I like the way you format your tcl arrays….
Hi Zach Davis ! Great and perkful article, Thanks for sharing this information.
Hey Zach, Nice video with informative information …
Nice post mate, keep up the great work
Hello there!!! Thanks for sharing this Great video. Keep it up