This is How I Glyph – Aircraft Mesher

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.

This entry was posted in Applications, Software and tagged , , , , , , , , , , . Bookmark the permalink.

4 Responses to This is How I Glyph – Aircraft Mesher

  1. Cesar says:

    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.

  2. Zach Davis says:

    Hi Cesar,

    Thanks for tuning in. The Tcl source for the AircraftMesher.glf script was formatted manually as I was writing it–nothing fancy.

  3. Cesar says:

    Pretty cool… I like the way you format your tcl arrays….

  4. krishi says:

    Hi Zach Davis ! Great and perkful article, Thanks for sharing this information.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s