This example shows how you can run a Basic job on the Rescale platform. The analysis software used is OpenFOAM, an open source computational fluid dynamics (CFD) code. Please contact us if you're having trouble.
About this Simulation
This example uses the OpenFOAM simpleFOAM solver. This is a steady-state solver for incompressible turbulent flow and can be used to find a reasonable initial condition for a transient analysis. This 2D example of steady state flow around an airfoil is taken directly from the OpenFOAM v2.4 airFoil2D tutorial.
Sign Up and Log In
If you have not done so already, you will need to sign up for a Rescale account. After signing up for a free trial, you will receive a verification email (this can take up to 20 minutes), in which you will find a link to the platform site. Log-in to the platform site and you will be greeted with a welcome screen.
To create a new job, click + New Job on the top-left corner of your screen.
All necessary input files are inside the compressed archive airFoil2D.tar.gz.
To run a basic job, the fields highlighted in red below need to be set correctly. Do the following:
- Edit the job name to one of your choice, here we use Basic Job: Airfoil2D
- Upload the file airfoil2d.tar.gz required for this run
- Check that the Job Type is Basic.
On completion, the Input Files setup page should look like that shown below. To move on to the next part of the Setup process, click the Next button at the top right of the page or the Software icon.
Select OpenFOAM by entering "OpenFOAM" in the textbox field, shown highlighted in red, and clicking on the OpenFOAM icon.
The next stage of software setup is to choose the version number of the analysis code selected and to specify the Command text field that defines the command line used to run the simulation.
Be sure to select OpenFOAM version 2.4.0. Edit the Command field to read as follows:
The Rescale platform automatically extracts the file
Allrun with other
runtime files contained in the compressed archive
airFoil2D.tar.gz prior to
beginning the simulation. The screenshot below, with modified fields
highlighted in red, shows how your Software Settings setup page should
look on completion of this step.
For a basic job, there are two hardware settings to edit: Number of Cores and Core Type.
- In this case, we can select Number of Cores of 1, and Core Type as Nickel.
- Click Save and then Submit (this simple Basic Job omits the optional post-processing step).
The Review step shows a summary of the job prior to submission. If everything is satisfactory, click the Submit button to begin the job.
The Status page allows you to monitor your analysis after the job has been submitted. The job workflow icons, highlighted in red on the right hand side of the page, allow you to navigate between the job Setup, Status, Results and Charts pages.
The Status page also allows you to view the contents of output files in realtime. This is known as live tailing a file. This can be very useful in monitoring the progress of a job. In this case, the two output files of particular interest are:
process_output.log file is created for every Rescale job and contains all the the terminal output (stdout in Linux parlance) from the command as it is executed. The
log.simpleFoam file is a file specific to the OpenFOAM computation and contains information on the progress of the simulation.
To live tail a file, click on the name of the file you want to view, for example,
airFoil2D/log.simpleFoam which is shown highlighted in red. It will only takes a few minutes to run this job.
Upon completion of the job, you will be presented with the Results page, as shown below.
From this page you can do several things:
- You can download all files using the blue Download button.
- You can use the Actions menu, highlighed in red, to act on groups of files selected using the checkboxes.
- The Action buttons, highlighted in blue, allow you to view, download, delete, or make individual files available for future jobs.
For more information on how to download and manipulate files on the Rescale platform, please see the Downloading Data article.