Ubuntu compile and install SU2
SU2 is an open source CFD solver developed by the School of Aeronautics and Astronautics at Stanford University. It is based on C++ and Python and is similar to OpenFOAM, but does not support polyhedral meshes. Compared with OpenFOAM, SU2 has more advantages in solving high-speed compressible flows.
Download SU2 source code:
mkdir $HOME/su2code && cd $HOME/su2code
# Only clone the latest commit version to speed up downloading
git clone https://github.com/su2code/SU2.git --depth=1
Define environment variables and create a new configuration file su2.env
: