This Week in CFD

Big Things in CFD

  • Mentor Graphics has appended five new ones to their list of CFD Myths. I won’t spoil the surprise for you but will cite Myth #8: Experts Are Needed To Get Accurate CFD Simulation Results. [I recommend that you download, read, and start a discussion.]
  • CIMdata published their simulation and analysis market report in which they illustrate that the S&A market grew by 7.1% from 2012 to 2013 ($4 billion to $4.3 billion) and project compound annual growth of 7.7% leading to a market size of $6.2 billion in 2018. The report can be purchased here for $3,000.
  • Remember the CFD 2030 Vision Study and its estimate of an exascale computer’s power requirements? In a letter to the editor of Aviation Week magazine, a reader proposes powering this machine with a dedicated, modular, nuclear reactor. [Booyah!](Registration required.)
Using geometry from CT scans, this modeling of blood flow with CFD is one example of computational medicine. See associated text for link. Image from International Science Grid This Week.

Using geometry from CT scans, this modeling of blood flow with CFD is one example of computational medicine. See associated text for link. Image from International Science Grid This Week.

Software

Spider Man vs. Venom. Because mesh. Click for source.

Spider Man vs. Venom. Because mesh. Click for source.

Turbulence

  • To understand turbulence we need the intuitive perspective of art. [Factoid: Werner Heisenberg's - Nobel prize winner for quantum mechanics - doctoral thesis was on turbulence.]
  • On a related topic, FYFD‘s Nicole Sharp authored The Beautiful Unpredictability of Coffee, Clouds, and Fire.
"CFD is perhaps the most colourful technique used in engineering," is one quote from this article about CFD for a triathalon bicycle. 72% of the drag comes from what? Think before clicking the image for the article. Image from New Scientist.

“CFD is perhaps the most colourful technique used in engineering,” is one quote from this article about CFD for a triathalon bicycle. 72% of the drag comes from what? Think before clicking the image for the article. Image from New Scientist.

Applications

The effect of cooling fins (below) on the temperature of a hammer housing. Image from Mentor Graphics.

The effect of cooling fins (below) on the temperature of a hammer housing. Image from Mentor Graphics.

Space versus Place – The Grid in Painting (Again)

Another artist expanding upon use of the grid in abstract painting is Bill Mazziotti. By combining the grid with his organic elements of scraping the canvas and overpainting he creates a stabilized tension.

Grid-based paintings by Bill Mazziotti. Image from Donald S. Kolberg Sculpture and Painting.

Grid-based paintings by Bill Mazziotti. Image from Donald S. Kolberg Sculpture and Painting.

Posted in Applications, Hardware, News, Software | Tagged , , , , , , , , | 4 Comments

This Week in CFD

All The News – 2 Weeks Worth

  • Tecplot announced the release of Tecplot 360 EX with new technology they call SZL which promises 92% less memory usage and a 9.6x speed-up over previous versions. In addition, the software’s UI has been redone using Qt.
  • News from Intelligent Light:
    • Yves-Marie Lefebvre has been named FieldView Product Chief.
    • The company is working on EPISODE, a new tool for managing multitudinous large datasets.
  • Best of the visualization web for May 2014.
  • Sandia’s S3D direct numerical simulation software imposes serious challenges on postprocessing.
  • Desktop Engineering’s Kenneth Wong wrote one of the best overviews of simulation in the cloud I’ve read so far. [Paradoxically, reading it made me think that the more automated a solution is, the smarter the user has to be.]
  • Mr. Wong is on a roll: here he writes about why CAD interoperability remains a problem.
Composite image of CFD visualization from Tecplot 360 EX. Image from Tecplot.

Composite image of CFD visualization from Tecplot 360 EX. Image from Tecplot.

  • From International Science Grid This Week comes a photo essay on immersive environments. [If any of you regularly use a tool like this to investigate your CFD data sets, please comment on this post and tell us how useful it is.]
  • Simscale has open positions for computer scientists and mechanical engineers.
  • Flow Science was one of 10 firms awarded a grant from the Venture Acceleration Fund.
  • If you use the DAFUL multi-body dynamics software you might be interested in use of EnSight to visualize its results.
  • CFD helps design a new dredge ball joint.
  • CFD considers whether natural ventilation is sufficient to maintain comfort inside a building.
  • ESI announced the agenda for day 1 of 3 for their 2nd OpenFOAM User Conference 2014.
  • TheFDS-SMV (Fire Dynamics Simulator &Smokeview Visualizer) developers have a two questions for their users.
    • What’s the future of parallel processing using MPI?
    • What’s the future of 32-bit builds? [I'm interested in this also. Building Pointwise for both 32-bit and 64-bit is excessive in light of my opinion that the vast majority of people use the 64-bit builds. How might people react if we stopped delivering 32-bit builds?]
Example of the use of simulation to design offshore platforms. Image from International Science Grid This Week. Click image for article.

Example of the use of simulation to design offshore platforms. Image from International Science Grid This Week. Click image for article.

Music to Mesh via Math

We know how music sounds. But what does it look like?

When Texas A&M’s Prof. Tim Davis isn’t developing algorithms and programs used in MATLAB and Google Street View he develops algorithms involving force-directed graph visualization and other technologies to convert sound into sight.

Here’s New Order’s Blue Monday visualized with each note as a line and each tone as a color. For more examples of Prof. Davis’ work and details about how it’s done visit his website at notesartstudio.com.

New Order's Blue Monday is visualized in mesh-like form by Texas A&M computer science professor Tim Davis. Image from notesartstudio.com with permission.

New Order’s Blue Monday is visualized in mesh-like form by Texas A&M computer science professor Tim Davis. Image from notesartstudio.com with permission.

Bonus: Download and print your own jet engine!

Posted in Applications, Events, Hardware, News, Software | Tagged , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

The 7 Real Stages of a CFD Project

Motivated by Hi-Tech CFD’s 7 Stages of a Typical CFD Project and inspired by the slightly more cynical 7 Stages of a Project I present…

The 7 Real Stages of a CFD Project

  1. Enthusiasm: “Wow, this simulation is going to be really cool!”
  2. Disillusionment: “OMG, look at this CAD file.”
  3. Confusion: “You want the separation location accurate to within 1% by tomorrow?”
  4. Panic: “Why is the @#$%^&* solver crashing?”
  5. Search for the guilty: “Who implemented this turbulence model?”
  6. Punishment of the innocent: “There’s a problem with the mesh.”
  7. Praise and honor for the non-participants: “Wow, this 3D VR visualization is really cool!”
Posted in Off Topic | Tagged | 10 Comments

This Week in CFD

Special “Happy Birthday to ‘Murica” Version

News

  • DEVELOP3D writes about running SolidWorks in the cloud using NVIDIA’s Grid Test Drive.
  • Congratulations to Altair for being recognized as a 2014 Michigan Bright Spot, helping drive forward the state’s economy and innovation.
  • Do you find the Jacobi Iterative Method more useful now that it’s been sped-up by a factor of 200?
  • Read about how Autodesk Simulation CFD is used to design large video displays and related devices. (PDF)
  • More reading, this time about grid generation for near-field sonic boom prediction.
This real-time, animated flow viz will help you track how Hurricane Arthur is messing up July 4th for the U.S. East coast. Click image for website.

This real-time, animated flow viz will help you track how Hurricane Arthur is messing up July 4th for the U.S. East coast. Click image for website.

More News

  • A team composed of Argonne National Lab, Caterpillar, and Convergent Science were awarded an HPC Innovation Excellence Award at the ISC’14 supercomputing conference for their work on internal combustion engine simulations.
  • Journal article: The prediction of bending strengths in steel fiber reinforced self-compacting concrete using CFD. (registration required)
  • VirtualGrid released VRMesh v8.5 for point cloud processing.
  • Flow Science released FLOW-3D Cast Version 4.
  • The open-source PIConGPU, a GPU-accelerated Particle-in-Cell code, has been released.
  • There’s an opening for a PhD student in the field of fluid mechanics at the Vienna University of Technology.
Take 10 minutes for a video demonstration of CFD in Femap. Click image for video.

Take 10 minutes for a video demonstration of CFD in Femap. Click image for video.

Even More News

  • NASA’s CFD 2030 Vision Study has everyone [meaning me - you were probably already thinking about it] thinking about exascale computing. Scientific Computing World has a nice overview article on Exascale Challenges. Some interesting [to me] factoids include:
    • An exaflop is a billion billion operations per second. That’s what we in science call “a lot.”
    • How will we program applications that have billions of threads? And how will we do so in a way that’s robust?
    • Who is going to do all this programming? It’s not within the typical CFD programmer’s skill set.
    • Power consumption is an issue, not from the “green” standpoint but from the “is it really worth 250 MW to run one computer” standpoint.
  • IBM says that chips with carbon nanotube transistors will be available by 2020 and yield a 5x speed-up.
  • We in CFD often get trapped in certain ways of thinking, like how FEA is really mature, widely adopted, and robustly applied by non-experts. However, you can make the case that Mechanical FEA Is In Its Infancy with opportunities that sound very similar to those related to CFD.

Visualization Must-See

Because we in CFD rely heavily on numerical algorithms and visualization for our work, Mike Bostock’s work on Visualization Algorithms is a must-read. Not only is the work interesting, but its presentation on the web is fantastically visually pleasing. Take the time to read it.

quick-sort-visualization

A portion of a visualization of a quicksort algorithm. Image from Mike Bostock.

Mesh For the Lady in Your Life

Gizmodo wants us to believe that the line of ladies’ handbags, purses, and clutches from designer Issey Miyake are inspired by origami but we at AFM know a mesh when we see one. Check out this animation of the Distortion clutch on Gizmodo.

The Bao Bao website defines their concept as “shapes made by chance.” This tells me that Issey Miyake knows more about mesh generation than we might first think. Because sometimes it feels like whether or not meshing works is a random act.

This delightful pastel Prism Rainbow bag from Bao Bao Issey Miyake is the perfect tote for any CFD conference.

This delightful pastel Prism Rainbow bag from Bao Bao Issey Miyake is the perfect tote for any CFD conference.

 

Posted in Applications, Hardware, News | Tagged , , , , , , , , , , , , , , | Leave a comment

FOAM meshing

9th OpenFOAM Workshop 2014

Last week I had the opportunity to meet some great people doing excellent work in open source CFD. Our hosts at the University of Zagreb were extremely welcoming, and I had a great time getting to know the students and researchers attending the workshop.

OpenFOAM is a package of many different solvers that are being actively developed by the community. The code has an impressive number of solvers that allow users the flexibility to simulate systems ranging from full car aerodynamics to ship hydrodynamics with a free surface to diffusion of cryogenic helium.

The workshop covered a wide range of topics including solver development, applications, and training, but of most interest to us at Pointwise were the discussions about grids and preprocessing for OpenFOAM. I was fortunate enough to present some work I have been doing in OpenFOAM to study grid effects on solution accuracy by considering embarrassingly simple test cases in order to isolate specific grid-related effects. Despite their apparent simplicity, deciphering the numerical artifacts in even these reduced cases proved insightful. Since the source for OpenFOAM is visible, it is possible to peek under the hood and discover both why the solution behaves as it does and how to improve it. I put together a short synopsis about some of the work I presented on grid quality in OpenFOAM, and I encourage you to take a look below if you are having difficulties with your meshes/solutions in OpenFOAM. By no means is it an exhaustive document, but I hope that it has a few good pointers that can help you achieve better results.

Grid effects in OpenFOAM.pdf

If you are interested in attending the workshop, next year it will be hosted in Ann Arbor, Michigan. The workshop is a fantastic way to learn more about OpenFOAM and see what others are doing. As always, if you are interested in Pointwise meshes for your applications in OpenFOAM or any other solver, please don’t hesitate to contact us or click below for more information.

action-learn-more-200x50

Posted in Applications, Events, People & Places | Tagged , , | 2 Comments

This Week in CFD

Applications

Very cool video of a simulation of a long-duration EF-5 tornado. Click image for article.

Very cool video of a simulation of a long-duration EF-5 tornado. Click image for article.

Events & Other News

  • The 3rd International Workshop on High-Order CFD Methods will be held 3-4 January 2015 in Orlando, Florida in advance of the AIAA SciTech Conference. If you intend to participate they’d like an email by 30 June for use in planning the event. Abstracts for presentations are due by 15 October.
  • Abstracts for the NAFEMS World Congress 2015, to be held in San Diego in June, are due 17 November.
  • Congrats to Tecplot for being named to the list of 100 best companies to work for in Seattle on the strength of their executive leadership (#19 in the mid-size category).
  • Pointwise’s own Travis Carrigan has his master’s thesis research included in Wind Turbine Technology from CRC Press.
CFD simulation for the purpose of evaluating pedestrian comfort. Click image for article.

CFD simulation for the purpose of evaluating pedestrian comfort. Click image for article.

Software

Tesla uses Exa PowerFLOW to evaluate aerodynamic performance in yaw. Image from SAE. Click image for article.

Tesla uses Exa PowerFLOW to evaluate aerodynamic performance in yaw. Image from SAE. Click image for article.

I Love IGES

There. I said it.

The folks at PADT blogged about their hatred of IGES files as a mechanism for transfer of CAD geometry in IGES Can’t Stand IGES Anymore! [Props for the wordplay.]

I am here to defend IGES’ honor.

Hating IGES is like saying you hate music on cassette versus LP. [Young people, ask a graybeard what a cassette tape is.]

Whereas PADT advises that IGES be your last choice for geometry import into ANSYS I’ll say that you should feel confident about using your IGES with Pointwise.

Image from Wikipedia.

Image from Wikipedia.

IGES is actually a pretty good format for sharing 3D geometry. (I am not alone in this opinion.) The format is well defined. It’s ASCII meaning that it’s readable. It takes very little time to become familiar with how an IGES file is laid out.

The problem with IGES files is that people write them in ways that explicitly violate the standard. One particular egregious violation is the definition of trimming curves. The file writer sets a flag that indicates whether the curves are defined in XYZ space or in the UV space of the surface being trimmed. That flag is often set incorrectly and the file reader goes to look for one type of curve or the other and can’t find it. Another example is the use of a string of points (what IGES calls copious data) to define a trimming curve. Unfortunately, that’s explicitly disallowed by the standard.

The result is that the file reader has to not just code to the standard but has to robustly handle non-standard files, a practice known as “flavoring” your IGES reader for files that come from specific sources (an IGES reader for CATIA, an IGES reader for Pro/E, etc.). You may infer that we have done a lot of that but we hide the flavoring under the hood.

To clear up some confusion, the IGES standard does include support for solid models, the so-called B-Rep Solid Model Object (entity type 186). So if you have a CAD system that will export solid models to IGES as 186s your reader should be able to import them.

In addition, we have implemented something (that works for all CAD import, not just IGES) that automatically assembles surface geometry into a solid (regardless of whether solid data exists in the file). On top of that, we’ve implemented something called quilting which is the ability to assemble multiple CAD surfaces into a single meshable region based on geometric feature lines.

Keep in mind also that when talking about CAD interoperability issues we need to distinguish between various error sources. One is accurate reading and writing of the file according to its specification. Another is the dreaded issue of tolerances and how they effect trimming and assemblies. Yet another is representation – how your CAD kernel represents a particular surface type may be different than how it is represented in the file you export to and different still from the way it’s represented in the system that must import it.

So learn to love IGES and we’ll all be happier.

Gridding Your Ceiling with Light

Interior designers are really embracing facets. First WoodSkin, then JOIN-Facet, and now LivingSculpture, a 3D modular ceiling installation consisting of individual quad OLED lights that can be arranged in a custom 3D shape and controlled interactively via an iPad.

Read more about LivingSculpture here and be sure to watch the videos. [Note: The page is written in French.] My office is going to get really cramped if I keep getting all this stuff. Also note that this is a logical extension of a 1970s era mirror ball.

LivingSculpture 3D Modular OLED system. Screen shot from a video of the lights being manipulated interactively.

LivingSculpture 3D Modular OLED system. Screen shot from a video of the lights being manipulated interactively.

Posted in Applications, Hardware, News, Software | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

CFD Vision 2030 and Mesh Generation

[This article originally appeared in the May/June 2014 issue of The Connector where it quickly became the most widely read article during any issue's first month of publication. It has been updated for this forum based on new thoughts and attendance at the panel discussion on  Transformative Aerospace System Analysis, Design and Certification: A Vision for CFD in 2030 at the AIAA Aviation 2014 Conference.]

Progress in computational fluid dynamics (CFD) is made every day, everywhere, by countless engineers and scientists. At dozens of conferences, symposia, user meetings and online forums (yes, even on social media) you can learn about the latest developments in the technology and its application. However, it is virtually impossible to keep up with it all due to the sheer volume. Because of that, it is often difficult to “see the forest for the trees.”

It is rare for someone to not only consider the future in considerable detail but also to publish the results. This is why the recent NASA-sponsored report CFD Vision 2030 Study: A Path to Revolutionary Computational Aerosciences (Reference 1) is a must-read for everyone involved in CFD, from the new student, to the applied practitioner, to the experienced researcher.

You might be tempted to believe that NASA’s goals for CFD do not apply to you; that they are too advanced or leading edge for the type of work you do. But because NASA has a strong legacy in groundbreaking CFD research and software development, what it does will influence everyone’s use of CFD.

The study’s purpose was to give NASA recommendations on how to renew its pre-eminence in computational science, allowing “NASA to play a leading role in the pursuit of revolutionary simulation-based engineering.”

Sexaflops vs. the Unglamorous

I was delighted to see Aviation Week’s technology editor, Graham Warwick, write about the study in the 19 May 2014 edition of the magazine under the title NASA Urged to Step Up Research Into CFD Capabilities. Via email Warwick told me that he planned to attend AIAA Aviation 2014 to learn more about the topic and revisit it in a future article.

When you read Warwick’s article you’ll see that he focuses on the high performance computing aspects of the problem – ensuring that CFD codes of tomorrow can efficiently utilize a computer with a million cores. (During the panel discussion at AIAA Aviation, one panelist asserted that most current CFD codes operate at only 3-5% of peak efficiency on HPC architectures so we apparently have a long hill to climb.)

But when virtually everyone in the CFD business moans about the fact that preprocessing consumes 75-80% of an engineer’s time, let’s not get distracted by what I call “sexaflops.”

“No, no – don’t look at those engineers hunched over workstations generating meshes. Look over here at this shiny supercomputer with all the blinking lights.” Reminds me of “Ah, I see you have the machine that goes ping.”

You see, I’ve been down this path before. In December 2007 I was fortunate enough to participate in a meeting at NASA headquarters hosted by the then Associate Administrator for the Aeronautics Research Mission Directorate. The topic was how NASA could spearhead an effort to regain engineering leadership in HPC. Lots of time and dollar signs were associated with processors (computers and computing) but very little with processing (especially preprocessing). Not to put too fine a point on it, but the attendees deemed meshing and related technologies “unglamorous.”

Other coverage of the study include:

CFD in the Year 2030

Let us jump right to the bottom line with the study’s vision of how we will be using CFD in the year 2030.

“A single engineer/scientist must be able to conceive, create, analyze, and interpret a large ensemble of related simulations in a time-critical period (e.g. 24 hours), without individually managing each simulation.”

All of us will be running codes that likely will be RANS-LES hybrids with quantified and manageable errors and uncertainties. Our geometry preprocessing and mesh generation for the thousands of cases in our test matrix will be performed automatically and invisibly, likely with mesh adaption. We will be using a massively parallel, heterogeneously architected computer and burning through 30 exaFLOPS of performance. Our computations will probably be multidisciplinary with results automatically reduced to engineering data and simultaneously compared with experimental and flight test data.

For those of you who might not necessarily think that goal is too exciting, let me remind you that I am old enough to remember when a single engineer (me) performed a single simulation (2D) over the course of non-critical period (a year) with 100 percent manual intervention. And that was considered progress. The study’s authors have truly established a fact-based and expertise-driven goal. More importantly, they have pointed us in the appropriate directions for our journey.

Recommendations: Throughput and Accuracy

At its broadest, the study’s recommendations focus on two things: increasing throughput and increasing accuracy.

I have interpreted the prioritized recommendations in the study to be the following:

  1. Adapt current CFD software architectures and algorithms to allow for efficient performance on massively parallel computers utilizing millions of cores.
  2. Figure out how to accurately model turbulence and transition.
  3. Automate geometry preprocessing and mesh generation including adaption.

The secondary recommendations – again, in my opinion – are

  1. Develop methods of automatically managing large datasets and large numbers of datasets up to and including solver-embedded post-processing leading to computational steering.
  2. Create standards and frameworks that facilitate the sharing of data within a multi-disciplinary analysis and optimization (MDAO) framework.

The Long Road for Meshing

I will admit to not being surprised by the study’s findings that “mesh generation and adaptivity continue to be significant bottlenecks in the CFD workflow” and “most standard CFD analysis processes for the simulation of geometrically complex configurations are onerous.” This is neither omniscience nor apathy on my part but a practical realization of the state of the art combined with a knowledge of progress over the past 30 years plus a personal desire to own the unglamorous nature of the task.

In fact, the study admits that CFD advances in the past decade, during which algorithm development has stagnated, have come from “the use of larger meshes, more complex geometries, and more numerous runs,” all of which I believe are directly attributable to advances in meshing (i.e. meshing is more efficient, can handle CAD better, and can be done faster.)

However, the study is 100 percent accurate in stating that “ultimately the mesh generation process should be invisible [my emphasis] to the CFD user.”

What makes meshing highly visible today?

The Lack of Robust CAD Interoperability

CAD interoperability – or the lack thereof – means that geometry preprocessing for CFD is largely a manual process.

CAD Interoperability in Pointwise
You can import CAD data in your choice of CAD native (ACIS, CATIA, NX, Parasolid, Pro/E, and SolidWorks) and CAD neutral formats (IGES and STEP) in addition to faceted formats like STL and VRML. Pointwise’s hybrid geometry modeling kernel works simultaneously with faceted and analytic geometry. A suite of geometry modeling tools is available to supplement your CAD data and it all can be exported via IGES to other applications.

The CAD data interoperability issue has been discussed to death with no end in sight, either for the discussion or for resolving the issue. There is now an annual conference dedicated to the issue, the 3D Collaboration and Interoperability Congress (Reference 2). Also, at the recent Congress on the Future of Engineering Software (COFES, Reference 3), a discussion of cloud-based CAD came to a screeching halt when the moderator inquired whether there was any hope of resolving the interoperability issue and the resounding answer was “no.”

The crux of the matter was deemed political – CAD vendors have little incentive for letting data be portable because it makes it too easy to switch to a competing product. Even standards like IGES and STEP are ineffective because I have seen firsthand how some CAD systems write those files in ways that explicitly violate the standard, making exchange of those files problematic.

Dealing with Bad CAD in Pointwise
You have two choices for how you want to deal with the problem of CAD gaps and overlaps. On the grid level you can use the Fault Tolerant Meshing suite of tools that lets you create a watertight mesh over a leaky CAD model. On the geometry level, Solid Meshing’s features assemble the CAD geometry into a watertight solid model with the additional flexibility of quilts, collections of CAD surfaces you want to mesh with a single grid.

Politics aside, the technical issues for CAD interoperability are well known:

  1. CAD files have either insufficient detail (tolerances that are larger than the required mesh sizes) or excessive detail (making extraction of the wetted surfaces for CFD burdensome).
  2. File-based data exchange is complicated by lack of adherence to standards or lack of ability to read proprietary formats. It is my belief that the rise in popularity of faceted geometry for CFD is due largely to software developers’ lack of comfort with and lack of easy access to analytic geometry. However, faceted geometry presents its own challenges.
  3. Geometry is represented differently by each CAD system or geometry kernel and this influences how its data is exported and translated to another kernel (i.e. it is a source of translation error). It also complicates direct access to the CAD by limiting a cross-CAD API to the least common denominator of functionality.

The situation is further complicated by the fact that CFD engineers usually don’t have access to the CAD system; they’re just given CAD files, often from multiple sources. Of course, this varies between organizations and the phase of the design (conceptual, detailed, and certification) in which CFD is being applied.

The Lack of HPC Support

The study states, “Despite the deficiencies in current CFD solver scalability, the situation for the surrounding infrastructure of pre- and post-processing software is even worse.” In other words, meshing software is much farther behind solvers in terms of effective use of HPC hardware.

Multi-thread and Multi-core
Pointwise was architected from the ground up to support multi-threading. Several feature sets in the code utilize an open-source toolkit originally from Intel called Threading Building Blocks to spread work over multiple cores. Also, we have researched the use of GPUs for various meshing tasks (Reference 4) and achieved speed-ups of a factor of 35 in some cases.

From a certain perspective, this is not surprising. A CFD solver sees all problems as virtually the same: solving the RANS equations on a mesh with boundary and initial conditions that you iterate until convergence. A mesh generator sees each problem as intrinsically different: a blank screen, a unique CAD geometry, and any method will do when it comes to placing points where they’re needed.

Using a poor analogy, running a CFD solver is like highway driving in which you peg the speedometer, drive for several hours, and get the best mileage. Meshing is like city driving in which there’s a lot of stopping and starting, route changes, and your mileage is nowhere near as good.

Distributed computing for mesh generation is more about managing the large number of grid points/cells by spreading them across many machines than it is about speeding up the process.

That is not to say that meshing algorithms cannot be run in parallel; a lot of software does just that. I can think of several features inside Pointwise that could benefit. But comparing the compute needs of meshing to those of the solver is comparing apples to oranges.

The Lack of Automation

Ideally, meshers should be automated and easy for non-experts to use. The report states that meshing must be done manually largely because of “the inability of current mesh generation software to consistently produce valid high-quality meshes of the desired resolution about complex configurations on the first attempt.” (Note the adjectives “high-quality” and “complex.”)

Specialized, or so-called “vertical” applications, are the way to solve this problem. The lack of vertical applications also was identified at COFES as a roadblock to making the use of CAE software more widespread and effective, especially by non-expert users. (This is not just for CFD either; for example, how about a CAD system just for designing truck axles?) The study dismisses specialized solutions as only applicable to routine design work as though that were a limiting factor. Yet, the study also describes in detail the various design phases where CFD is applied, several of which are open to customization.

Macros and Templates
You can automate all or portions of the mesh generation process with Pointwise’s built-in Glyph scripting language. Repetitive tasks can be reduced to a single mouse click and entire grids can be generated based on design parameters. See Reference 5 for an example.

The general nature of current CFD and meshing software is the culprit. By its nature, a general purpose mesher has to

  • Accept arbitrarily complex CAD geometry from any of a multitude of sources.
  • Generate any mesh type (structured, unstructured, hybrid, Cartesian) suitable for a multitude of solvers.
  • Meet the “high-quality” mesh threshold that varies from solver to solver.
  • Ensure sufficient resolution where resolution is defined in terms of the solver and the desired flow quantities to be computed.

Of course, we will always need general purpose tools for “single-prototype designs and novel configurations,” but the day-to-day work of simulating design variations can best be automated by customized software, especially if the customized software can be built on top of a general purpose tool.

Mesh Generation in 2030

The targets established for mesh generation in the year 2030 by the study are hard to argue with.

  • Streamlined CAD access and interfacing.
  • Automated, adaptive techniques including anisotropy.
  • A less burdensome, more invisible meshing process.
  • Meshes with 1 trillion grid points.
  • Efficient exploitation of massively parallel hardware.
  • High order elements.

Panel Discussion at AIAA Aviation 2014

panel-photoGetting together at AIAA Aviation to discuss CFD Vision 2030 was a great opportunity to get other people’s perspectives on the study. Panelists were:

  • Robert D. Gregg III (Boeing) – moderator
  • Wilson Felder (Stevens Institute of Tech.)
  • Parviz Moin (Stanford)
  • Stephen Morford (Pratt & Whitney)
  • Cord-Christian Rossow (DLR)
  • David Schuster (NASA Langley)
  • Jeffrey P. Slotnick (Boeing) – one of the report’s authors

A video of the session is available for you to watch on Livestream.com: Transformative Aerospace System Analysis, Design, and Certification: A Vision for CFD in 2030.

A cool part of the panel discussion was real-time polling of the audience by text message. [Thank you to Jeff Slotnick for sharing the data with me and giving me permission to publish it.] The first question got right to the heart of the matter by asking the audience what they thought the main focus going forward should be (see below).

image001 Hooray! Meshing and visualization came in second behind development of physics and algorithms. I’m OK with that because of the thrashing that turbulence modeling took in the study (and I’m assuming that “physics” refers to that and other physical models). Otherwise, a cynic would say these are the results you’d expect when polling a bunch of CFD solver writers.

In their opening remarks, each panelist noted what’s good and what’s bad about CFD.

The Value of CFD

  • Tremendous performance gains have been made in the past decades, many of which are directly attributable to CFD.
  • The insight CFD provides into aerodynamics has led to reduced testing (i.e. cost savings).
  • CFD allows “what if” questions to be asked and answered.
  • CFD allows investigation of extreme concepts (those with which we lack prior experience, those that would be difficult or impossible to test).
  • CFD lets you explore cause and effect.

The Limitations of CFD

  • CFD doesn’t always yield the correct answers and it’s often difficult to know when that happens.
  • A priori grid generation must be eliminated.
  • CFD simulations had reduced the number of tests but that benefit has plateaued lately.

Panel Q&A

Right off the bat, one thing was made clear. No one believes CFD can, will, or should replace wind tunnel or flight testing any time soon. The technologies are complimentary.

After that, the question and answer portion of the panel session focused almost entirely on the 800 pound gorilla in the room – money.

Who’s going to pay for this vision? And why? And how?

One panelist remarked that any proposal like this that called for additional federal funding is doomed to failure due to the current fiscal environment in Washington.

image003Despite that pessimistic viewpoint, most of those polled want government involvement and funding to move forward on the vision (see above). [It should be pointed out that the first polling question got about 3 times the number of responses than the others.]

Yet NASA funded the study so I’d be very interested in hearing an “official” response. One interesting aspect of NASA’s involvement was pointed out by one panelist. Even though 80% of NASA’s budget is for space exploration, the vast majority of the CFD vision is cast in terms of aeronautics. Maybe a focus shift is in order.

And while it may be true that NASA funded this study, the problems it identified are shared by a slew of acronym agencies – FAA, USAF, USN, DoD, DoE – and the industries with whom each are most closely related. And by including a European on the panel it was clear that someone knows this is an international problem. That fact was also echoed by an audience member. The whole world can benefit from working together to solve this problem.

After that “Kumbaya” moment was over, we were still left with the issue of how to begin making actual progress on this vision. And when it came to concrete first steps, the leading vote getter was establishing targets for CFD accuracy.

image005In terms of advocacy, some high-level suggestions were made. First, the vision needs to be recast in terms the stakeholders understand because certainly “turbulence modeling” doesn’t resonate with them. The idea of positioning the study as a means of protecting and strengthening the aerospace industry, the largest contributor to the nation’s exports, is something that might motivate stakeholders. And AIAA, our conference hosts, are well suited to carry this message to Washington for us.

And this is important because most poll respondents think the best way forward is to create some form of multi-agency government initiatives.

image007

Other Highlights from the Study

Our turbulence modeling friends appear to be faced with the greatest challenge, according to the study. Turbulence modeling is said to be “the single most critical area in CFD simulation capability” because almost any type of separated flow is virtually unpredictable. We need to be able to confidently simulate the point of separation and the feedback from separated flow to the boundary layer.

The study advocates significant changes to NASA’s software development culture because it is currently stuck in a mode of making incremental improvements to existing tools and major re-architecting projects or new projects cannot get approval. Interestingly, the study also advocates an open-source model for non-critical components and/or as a mechanism for making the results of research available to the community.

The study recommends developing and implementing standards to address the impediments to realizing the MDAO capabilities envisioned by 2030. However, the study is 100 percent correct that “frameworks and standardization can lead to significant constraints and may not be the best solution in all cases.” In other words, a standard for interoperability often must sacrifice performance.

The most damning accusation in the report is that standards for verification and validation exist, but they are not widely used in the aerospace industry. Grid refinement “is seldom done in practice.”

Bonus Information

  1. I learned what aleatory means: depending on chance, random.
  2. The Cloud was not mentioned – not even once.
  3. And as for democratization, “CFD is not sufficiently predictive and automated to be used in critical/relevant engineering decisions by the non-expert user.” I disagree. The study may be focused on typical NASA applications, but there are many examples of successful application of CFD by the non-expert. If that statement is true at this stage of the CFD game, we’ve all been abject failures.

Recommendations

The authors, sponsors, and contributors to the CFD Vision 2030 Study have succeeded in creating a thought-provoking vision of the future of CFD and also in developing an actionable plan for achieving those future goals.

To be clear, this is not prognostication and we shouldn’t quibble over precisely how achievable the goals are in the given timeframe. What is important is assessing where we are now relative to these goals and identifying the paths toward the goals’ achievement. Fortunately, NASA is uniquely suited to accomplishing and coordinating progress of these tasks.

My suggestions to you are to

  1. Read the CFD Vision 2030 Study.
  2. Follow verification and validation standards in your CFD work.
  3. Participate in benchmark workshops such as the ones sponsored by AIAA (see References).

For further reading, you may want to take a look at the Simulation Driven Design study conducted by Lifecycle Insights that delves further into how simulation is currently applied.

But my number one recommendation is that you spend a day or two with us at the Pointwise User Group Meeting 2014 coming up on 29-30 October in Anaheim, California. Not only can you learn about what other people are doing with Pointwise you can see and hear our mesh generation development plans and judge for yourself how much more invisible we’re making meshing.

action-register-today-200x50

References

  1. Jeffrey Slotnick, Abdollah Khodadoust, Juan Alonso, David Darmofal, William Gropp, Elizabeth Lurie, and Dimitri Mavriplis, CFD Vision 2030 Study: A Path to Revolutionary Computational Aerosciences, NASA/CR-2014-218178, March 2014, 51 pages. Download from the NASA Technical Report Server.
  2. The 3D Collaboration and Interoperability Congress, http://www.3dcic.com/
  3. The Congress on the Future of Engineering Software, http://cofes.com/
  4. Michael Jefferies, Surface Mesh Extrusion on the GPU, SIAM Conference on Geometric and Physical Modeling, October 2011.
  5. Pointwise Works to Make Aircraft Quieter , The Connector, Nov/Dec 2011.
  6. AIAA Drag Prediction Workshop
  7. AIAA High Lift Prediction Workshop
  8. AIAA Sonic Boom Prediction Workshop
  9. AIAA Propulsion Aerodynamics Workshop
  10. Aeroelastic Prediction Workshop

P.S. I apologize for the length of this post. I took a long article and made it longer. As Mark Twain supposedly said, “I didn’t have time to write a short letter, so I wrote a long one instead.”

Posted in Events, News, Software | Tagged | 6 Comments