Skip to content

Latest commit

 

History

History
 
 

SU2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

SU2

SU2 is open-source multi-physics and simulation design software. This Simvue example is taken from one of the tutorials: https://su2code.github.io/tutorials/Inviscid_ONERAM6/.

To run this example, move into this directory:

cd examples/SU2

Setup a Python virtual environment:

python3 -m venv venv
source ./venv/bin/activate

Install Simvue:

pip install simvue

Create a simvue.toml file by going to the web UI, clicking 'Create New Run', and copying the details given into:

nano simvue.toml

Download and install the appropriate version of SU2, e.g. on Linux:

wget https://github.com/su2code/SU2/releases/download/v7.0.2/SU2-v7.0.2-linux64-mpi.zip
unzip SU2-v7.0.2-linux64-mpi.zip

Ensure that the environment variable SU2_RUN in the SU2.sh script is set to the bin directory created above.

Download the required config file and mesh file:

wget https://raw.githubusercontent.com/su2code/Tutorials/master/compressible_flow/Inviscid_ONERAM6/inv_ONERAM6.cfg
wget https://github.com/su2code/Tutorials/raw/master/compressible_flow/Inviscid_ONERAM6/mesh_ONERAM6_inv_ffd.su2

Execute the script:

. ./SU2.sh