This is a tutorial of how to create an SU2 instance on DiPhyx.
This guide offers step-by-step instructions for running simulations using SU2 software on DiPhyx. Navigate through the process of setting up and executing simulations with SU2; from configuring the simulation parameters to interpreting the results, this guide covers it all. Explore the intricate details of fluid dynamics simulations, including airflow patterns, pressure distributions, and temperature gradients.
Before you begin, make sure you have the following:
In this guide, we will be using the following files, which you can also download from this GitHub repository:
Navigate to Software Packages and search for SU2 from the filter field.
On the SU2 software package page, choose the desired compute unit from the "Select compute unit" option menu. This allows you to select the suitable compute unit from the list of available units in the READY state.
Tip
If you don't have any available compute unit or need to create a new one for this project instance, we recommend following our guide on How to Create a Compute Unit on DiPhyx for step-by-step instructions.
After selecting a proper compute unit, click "Create Instance".
On 'Create new project' dialog:
Project name
is unique and not already in use within the same compute unit to avoid any conflicts.Compute unit Volume
specifies the directory on the compute unit that is mounted into the SU2 instance. You don't need to change the default path.Project Volume
refers to the project volume.Run script name
is the name of the run-script in the working directory.You can use the resources provided in the Prerequisites section at the beginning of this tutorial or this link for the purpose of testing.
Once the upload process is finished, click "Done".
When you have finished filling out the form fields, click on the "Create" button to submit the request for creating the SU2 instance.
Wait for a few seconds while the project is being created.
After the project is created, click "View projects" to navigate to the projects list of the compute unit you have selected.
Navigate to the projects page and click the "Start" button on the row of the SU2 project you just created.
From the more options menu, click on "Events".
In the last section of the instance page, you can view all the logs in the selected time frame.
Once the job is completed, in the "Volumes" section of this page, click "Browse" to access the results.
Tip
You can monitor the progress of the job by checking its logs in the "Logs" section.
You can download any desired file from the results.