Aero-engineers debut open-source fluid dynamics design application

Jan 24, 2012 by Andrew Myers

Each fall at technical universities across the world, a new crop of aeronautical and astronautical engineering graduate students settle in for the work that will consume them for the next several years. For many, their first experience in these early months is not with titanium or aluminum or advanced carbon-fiber materials that are the stuff of airplanes, but with computer code.

Thanks to a team of engineers in the Aerospace Design Lab at Stanford University, however, those days of coding may soon go the way of the biplane. At a recent demonstration, the Stanford team debuted "Stanford University Unstructured" (SU2), an open-source application that models the effects of fluids moving over aerodynamic surfaces such as fuselages, hulls, propellers, rotors, wings, rockets and re-entry vehicles.

Dubbed SU2 for short, the application incorporates everything engineers need to perform a complete design loop for optimizing the shapes of aerospace systems. While commercial programs offering similar capabilities are available, they can be prohibitively expensive. SU2, on the other hand, can be downloaded for free from the lab's website.

In engineering circles, the discipline is known as computational fluid dynamics, or CFD. Creating custom software applications to accurately model the interactions of an object in flight can take months, even years, to write and perfect. And yet, when the student graduates, the software is often forgotten.

"These are incredibly complex calculations involving innumerable variables," said Tom Taylor, a doctoral candidate who studies the dynamics of fluid flows beyond the sound barrier. "Essentially, every student has to create their own code for their specific designs, even though the equations at the core are virtually identical."

Brainchild

SU2 is the product of a team led by research associate Francisco Palacios, in the Aerospace Design Lab, who works on complex simulations of the propulsion systems in hypersonic vehicles.

Palacios witnessed all the coding the students around him were doing and, realizing that much of it was built upon a common foundation, decided to combine their work. Palacios, together with lab director Juan Alonso, then led a team of multi-disciplinary engineers in compiling, debugging and documenting the application that became SU2.

"The commercially available software is out of reach for most students," said Palacios, "and does not allow for modifications to the source code that are needed for doctoral-level research. It occurred to us that all this time and effort could be combined and packaged to allow students to focus more on their research problems and less on writing code."

Dynamic applications

Fluid dynamics applies to any three-dimensional structure moving through a medium, including air, water, chemicals and even blood.

"People can use this for everything from rockets to the design of more efficient wind turbines, and even boats, racecars and more," said PhD candidate Sean Copeland, who specializes in re-entry of space vehicles.

"Just plug in the geometry of your plane or wing or rotor, and tell the program to increase lift or reduce drag, for instance," said Tom Economon, a doctoral student working on efficient and quiet engine design. "SU2 goes to work, optimizing the shape for you in an automated way, showing you exactly where to alter your designs for maximum effect."

"I often work on modeling plasmas," said PhD candidate Amrita Lonkar, who studies flow control over wind turbines. "It was really easy – so easy – to modify the program for my research. For me, it reduced about a year's worth of work to just four months."

Open source, open possibilities

SU2 is a freely customizable software package. In true open-source fashion, developers, designers and engineers are encouraged to make the software their own, customizing the application to fit their needs.

"We welcome corrections, additions and improvements to our application," said Palacios. "They help everyone."

Of all SU2's many virtues, however, the most promising is perhaps its documentation, including a quick-start guide and in-depth tutorials. Absent or inadequate documentation is a problem that plagues many scientific computer codes.

"These materials are exhaustive and continually updated," said Taylor. "Students can hit the ground running."

Like the source code, the documentation and training are available via the website, which also includes a public forum where users and developers can seek advice and post support questions to a growing SU2 community.

"We are proud of SU2. We hope that students will use it to focus not on coding, but on their research creating better aerodynamic designs," said Palacios. "This is, after all, the real reason they came to school."

The Stanford Aerospace Design Lab is led by associate professor Juan J. Alonso and assistant professor (consulting) Karthik Duraisamy. Research associate Michael Colonno, post-doctoral researcher Jason Hicken and doctoral candidate Alejandro Campos also contributed to SU2.

Explore further: Tricorder XPRIZE: 10 teams advance in global competition to develop consumer-focused diagnostic device

Provided by Stanford School of Engineering

5 /5 (6 votes)

Related Stories

Software promises more efficient design process

Mar 02, 2006

Mechanical engineers at Purdue University have developed software that promises to increase the efficiency of creating parts for everything from cars to computer hardware by making it possible to quickly evaluate and optimize ...

Software speeds up molecular simulations

Feb 04, 2009

(PhysOrg.com) -- Whether vibrating in place or taking part in protein folding to ensure cells function properly, molecules are never still. Simulating molecular motions provides researchers with information ...

Recommended for you

Augmented reality helps in industrial troubleshooting

Aug 28, 2014

At a "smart" factory, machines reveal a number of data about themselves. Sensors measuring temperature, rotating speed or vibrations provide valuable information on the state of a machine. On this basis, ...

User comments : 1

Adjust slider to filter visible comments by rank

Display comments: newest first

scintilla
not rated yet Jan 25, 2012
The article seems to indicate that OpenSource C based CFD software is something new, when many universities, institutes and private groups have been doing this for years. While some doctoral students do write whole cfd codes for their dissertation, most make additions or modify existing codes in exactly the way described in the article. A good piece of PR for stanford uni anyway, will check out SU2...