Questions? Feedback? powered by Olark live chat software
Resources Home

Run a Basic Job

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.

workflow

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.

Import Job Setup

Get Job Results

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.

WelcomePage.png

To create a new job, click + New Job on the top-left corner of your screen.

NewJobButton.png

All necessary input files are inside the compressed archive airFoil2D.tar.gz.

Input Files

To run a basic job, the fields highlighted in red below need to be set correctly. Do the following:

  1. Edit the job name to one of your choice, here we use Basic Job: Airfoil2D
  2. Upload the file airfoil2d.tar.gz required for this run
  3. Check that the Job Type is Basic.

BasicJobSettings_1.png

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.

InputFiles.png

Software Settings

Select OpenFOAM by entering "OpenFOAM" in the textbox field, shown highlighted in red, and clicking on the OpenFOAM icon.

BasicJob_SoftwareSettings.png

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:

./airFoil2D/Allrun

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.

SoftwareSettings.png

Hardware Settings

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).

BasicJob_HardwareSettings_completed.png

Review

Review.png

The Review step shows a summary of the job prior to submission. If everything is satisfactory, click the Submit button to begin the job.

Status

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.

Rescale_Status_monitoring.png

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
  • airFoil2D/log.simpleFoam

The 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.

Results

Upon completion of the job, you will be presented with the Results page, as shown below.

Results.png

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.

Last Updated: Jan 21, 2016 01:19PM PST

Powered by Desk.com
c63bcf49f4eed122cd69ef16269a7198@rescale.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete