SU2 Examples

Stanford University Unstructured (SU2) software is an open source CFD code, focused on aerodynamic shape optimization and general CFD. All examples used below are obtained from the tutorials section of the SU2 GitHub Wiki.

NACA 0012 Angle of Attack Sweep Example

This example performs a inviscid, transonic, angle of attack sweep on a NACA 0012 airfoil using Rescale's DOE job type. Please refer to the DOE Tutorial for details on how to setup a DOE case. This example is configured on the Parallel Settings page to step through angle of attacks from -4° to +15° in 1° increments. The DOE job type will create and run 20 different cases by modifying the template input file used on the Templates page. This job is configured to use two slots, each with two cores, so four total cores are being used during the job. Each case will be run in an available two-core slot until all the cases in the DOE are completed.

This example job contains also contains a post-processing script that extracts the coefficients of lift, drag and moment. During the job, these results will be dynamically populated on the Results page and plotted on the Charts page as each case is completed.

DOE Solution Surface

Import Job Setup Get Job Results


Simulation Code Stanford University Unstructured (SU2)
Analysis Type CFD DOE
Description Inviscid, transonic, angle of attack sweep on NACA 0012
Suggested Hardware Onyx / 2 slots, 2 cores each
Command
parallel_computation.py -n $RESCALE_CORES_PER_SLOT -f NACA0012.cfg
Post-processing Command
python su2_extract.py forces_breakdown.dat CL CD CMz
Estimated Run Time 5 minutes


Turbulent ONERA M6 Example

A simulation of turbulent viscous flow around a 3D geometry.


Import Job Setup Get Job Results


Simulation Code Stanford University Unstructured (SU2)
Analysis Type CFD
Description A simulation of turbulent flow with SU2 over the classic ONERA M6 wing on Rescale.
Suggested Hardware Onyx / 8 cores
Command
parallel_computation.py -f turb_ONERAM6.cfg -n $RESCALE_CORES_PER_SLOT
Estimated Run Time 22 minutes


Turbulent Flat Plate Example

A simulation of turbulent flow over a flat plate.


Import Job Setup Get Job Results


Simulation Code Stanford University Unstructured (SU2)
Analysis Type CFD
Description A simulation of turbulent flow over a plate with SU2 on Rescale.
Suggested Hardware Onyx / 8 cores
Command
parallel_computation.py -f turb_SA_flatplate.cfg -n $RESCALE_CORES_PER_SLOT
Estimated Run Time 16 minutes


Laminar Flat Plate Example

A simulation of laminar flow over a flat plate.


Import Job Setup Get Job Results


Simulation Code Stanford University Unstructured (SU2)
Analysis Type CFD
Description A simulation of laminar flow over a plate with SU2 on Rescale.
Suggested Hardware Onyx / 2 cores
Command
parallel_computation.py -f lam_flatplate.cfg -n $RESCALE_CORES_PER_SLOT
Estimated Run Time 2 minutes


Laminar Cylinder Example

A simulation of laminar flow over a cylinder.


Import Job Setup Get Job Results


Simulation Code Stanford University Unstructured (SU2)
Analysis Type CFD
Description A simulation of laminar flow over a cylinder with SU2 on Rescale.
Suggested Hardware Onyx / 2 cores
Command
parallel_computation.py -f lam_cylinder.cfg -n $RESCALE_CORES_PER_SLOT
Estimated Run Time 5 minutes


Inviscid Bump in a Channel

A simulation of turbulent flow over a flat plate.


Import Job Setup Get Job Results


Simulation Code Stanford University Unstructured (SU2)
Analysis Type CFD
Description A simulation of flow past a bump in a channel with SU2 on Rescale.
Suggested Hardware Onyx / 2 cores
Command
parallel_computation.py -f inv_channel.cfg -n $RESCALE_CORES_PER_SLOT
Estimated Run Time 10 minutes