This tutorial walks you through how to set up and run an Aerodynamics simulation of a NACA0012 airfoil on the Rescale platform. This example uses the incompresible solver in SU2 and solves for 5 degree angle of attack. For a DOE simulation of NACA0012 airfoil for multiple angle of attack refer to the SU2 DOE Tutorial. Paraview is used for post-processing results from SU2.
To start using Rescale, go to platform.rescale.com and log in using your account information. Using Rescale requires no download or implementation of additional software. Rescale is browser-based, which allows you to securely access your analyses from your work station or from your home computer.
Click on the Import Job Files button below to access the job files
From the main screen of the platform, click on the +New Job button at the top left corner of your screen. This will take you to a Setup page. Name the job appropriately on the top left of the screen. Upload the input files for the job by clicking on Upload from this computer.
Click on Next to go to the Software Settings page.
The next stage of the setup process is Software Settings. Access this by clicking on the Analysis icon. Type "SU2" in the search field, shown highlighted in red above, and select the SU2 icon.
Next, select the version as shown in the screenshot. Change the command to include the SU2 input files.
Enter the Command:
parallel_computation.py -n $RESCALE_CORES_PER_SLOT -f NACA0012.cfg
Paraview can be used to post process SU2 results in batch to create images and render streamlines. To enable Paraview in batch, click on Add Software and search for Paraview. Select Paraview icon and select the version as shown in the screenshot.
Enter the Command:
mpirun -np $RESCALE_CORES_PER_SLOT pvbatch pv_script.py
The script will be executed after the SU2 run is completed.
Now, navigate to the Hardware Settings page by clicking on Next
Select the Core Type and specify the number of cores. Specify Maximum Job Duration as 1 Hour.
Save the job and move to the Review section. The job is now ready to be run by clicking on the blue button labeled Submit.
In the screenshot below, the job is executing. The log file process_output.log has been selected and its contents are shown in the live tailing window.
The Results tab, shows all the resulting files that are associated with your job. On this page you can:
- Click on Download to download all the files associated with this job
- View individual files, below a certain size, in your browser by clicking on the View icon next to the file as shown in the screenshot
Finally, you might like to download the results to compare with the results of your job.