Aller au contenu principal
This page is not translated yet. Français is switched on so the navigation and URLs can be tested; the text below is the English original. Use the language selector in the header to switch back, or see the documentation home.

Run your first job

tutorial · Reviewed 2026-07-30 GA

A guided walkthrough using a real case. By the end you will have run an OpenFOAM airfoil simulation on Rescale and downloaded the results.

Prerequisites
  • A Rescale account, verified by email
  • Budget or a card on file, Rescale checks you can cover the first hour
  • The airfoil2D.zip input file (from the OpenFOAM tutorials)
What you'll learn
  • Configure a job across the five setup steps
  • Watch it run and read solver output live
  • Find and download the results

What you're running​

simpleFoam (a steady-state solver for incompressible turbulent flow) on a 2D airfoil mesh. It's a small case, chosen because it finishes in a couple of minutes and produces output worth looking at. Engineers often use a steady-state run like this to generate starting conditions for a transient one.

Step 1

Create the job and attach input files​

Go to Jobs → Create New Job.

  1. Name it something you'll recognize later: Basic Job: Airfoil2D.
  2. Attach airfoil2D.zip. Rescale extracts .zip, .tar, .tar.gz, .tgz, and .gz archives into the working directory before the run starts.
  3. Leave Job Type as Basic. Other types run the same setup many times over: see Workflows & DOE.
Upload a compressed archive, not loose files

It's faster to transfer, cheaper to store, and the archive stays in your files for reuse. Just remember the contents are extracted into the working directory, so paths in your command are relative to what's inside the archive, not to the archive itself. That's the most common first-job mistake.

Step 2

Choose software and write the command​

Search for OpenFOAM and select it. Pick a version, this tutorial uses an Intel MPI build.

Then enter the command Rescale should run:

cd airfoil2D
./Allrun

That's the whole thing. cd airfoil2D enters the directory the archive extracted to; ./Allrun is OpenFOAM's own run script.

Bringing your own license?

Not needed here, OpenFOAM is open source. For commercial solvers you can check Use Existing License and enter your license server details, which Rescale remembers for future jobs. See create and submit a job.

Step 3

Choose hardware​

Three fields for a basic job:

FieldUse
CoretypeEmerald
Number of cores1
Walltime1 hour

One core is plenty for this mesh. Walltime is a ceiling, not a reservation. The job stops if it exceeds it, but you're only billed for the time actually used, so an hour is a safe over-estimate.

Skip the post-processing panel; there's nothing to filter on a run this small.

Step 4

Review and submit​

Check the summary, then click Submit.

If Submit is greyed out

A required field is missing. Work back through the panels. The usual culprits are no software version selected, or an empty command. See the greyed-out submit button.

Step 5

Watch it run​

Open the Status tab. The job moves through five stages: Queued → Validating Input → Starting Cluster → Running Job → Stopping Cluster, each getting a green check as it passes.

Starting Cluster takes a few minutes. That's normal, Rescale is provisioning hardware for you. See the job lifecycle for what each stage is doing.

Once it reaches Running Job, use Live Tailing to watch output as the solver writes it. Two files are worth opening:

FileShows
process_output.logEverything your command printed. Every job has one.
airfoil2D/log.simpleFoamOpenFOAM's own solver log — watch residuals fall

Residuals dropping steadily means the solve is converging.

Step 6

Get your results​

When the job completes, open the Results page. You'll see logs, solution data, and any plots the case produced.

  • Download Job takes everything as one zip — inputs and outputs.
  • Per-file actions let you view (under 1 MB in-browser), download, or delete individual files.
  • Make selected files available as input files promotes an output into an input for a later job. This is how you chain a run: use one job's result as the next job's starting point.

Check the end of process_output.log for the exit code. 0 means your command exited cleanly, though it doesn't prove the results are good.

What you did​

You configured a job, submitted it, watched a solver converge in real time, and pulled the results back. That's the same loop for a 4-core case and a 4,000-core one: only the hardware line changes.

Next steps
  • Run it again with a change — duplicate the job and edit one parameter.
  • Sweep a parameter instead of guessing — DOE jobs run the same case across a range of values.
  • Do it repeatedly — save this setup as a template.
  • Post-process interactively — open the results on a workstation instead of downloading them.