Categories: Aerodynamics, CFD, aeromaps
State: ✔️
SU2Run
module can prepare and run calculations with the CFD code SU2. SU2 is a computational analysis and design package that has been developed to solve multiphysics analysis and optimization tasks using unstructured mesh topologies. [1]
SU2Run
takes as input a CPACS file, the mesh must have been generated by another module. Typical workflow which includes SU2Run
looks like:
graph LR;
CPACS2SUMO-->SUMOAutoMesh;
SUMOAutoMesh-->SU2Run;
SU2Run-->SkinFriction;
The flight conditions must be defined by an aeromap from the CPACS file. Some calculation parameters can also be defined in the CPACS file (but some value will by provided by default)
SU2Run
calculates aerodynamic coefficients of an aircraft for a given mesh and aeromap. It performs an Euler calculation with the SU2 code.
Other results can be obtained from the SU2 calculation, generally Paraview is used to visualize the results.
SU2Run
outputs a CPACS file with the calculated aerodynamic coefficients added into the aeromap. In the results directory, a directory named SU2
is created during the calculation, in it you all the results files produce by SU2.
SU2Run
is a native CEASIOMpy module, hence it is available and installed by default. To run it, you just have to be sure that you are in the CEASIOMpy Conda environment.
However to run SU2Run
module, SU2 must be installed on your computer. Please refer to the CEASIOMpy installation page to see if an automatic installation script is available for your OS.
For more information check out the official SU2 installation page.
We recommend to use a recent version of SU2, with older versions you might encounter some issues with the configuration file in which options are regularly changed.
Although SU2 is able to run Navier-Stokes calculations, for now, SU2Run
only supports Euler calculation, that is to say the skin friction is neglected. You can use the SkinFriction
module to calculate the skin frictions (with empirical methods) afterwards and add them to the drag coefficient.
SU2Run
module, the number of iterations is set manually, be careful to check if it is enough to reach the convergence of the aerodynamic coefficients and ideally a good reduction of the residual.
[1] Economon and al. : SU2: An open-source suite for multiphysics simulation and design, AIAA Journal, 54(3):828-846, 2016. http://arc.aiaa.org/doi/10.2514/1.J053813