edit Copy Return Up-pointing chevronRight-pointing chevronfacebooklinkedintwitter



OpenFOAM 5.0, ParaView 5.4.0

OpenFOAM is a toolbox for customized numerical solvers. It contains processing utilities for the solution of continuum mechanics problems, including computational fluid dynamics (CFD). This version is based on the OpenFOAM Foundation edition.

Running your OpenFOAM workload on Nerdalize

  1. Make sure you’ve set up Nerd, our CLI.

  2. Set up your dataset.

    Download the pitzDaily example dataset and unzip it.

    Alternatively you can use your own dataset, for which this README explains the required dataset structure.

  3. Upload your dataset.

    $ nerd dataset upload --name=openfoam-input path-to-data-folder
    Archiving (Step 1/2): 89.63 KB / 89.63 KB [=======] 100.00% 0s
    Uploading (Step 2/2): 109.57 KB / 109.57 KB [=======] 100.00% 0s
    Uploaded dataset: 'openfoam-input'
    To run a job with a dataset, use: 'nerd job run'
  4. Start OpenFOAM.

    $ nerd job run \
      --name=openfoam-run \
      --input=openfoam-input:/input \
      --output=openfoam-output:/output \
    Submitted job: 'openfoam-run'
    To see whats happening, use: 'nerd job list'
  5. Check on the status of your job.

    $ nerd job list
    JOB           IMAGE     INPUT            OUTPUT            MEMORY   VCPU   CREATED AT      PHASE     DETAILS   
    openfoam-run  openfoam  openfoam-input   openfoam-output   3.0      2.0    6 seconds ago   Running    

    When your task’s status is Completed it’s finished and you can continue to download the output.

    If you want to review the log output, run:

    $ nerd job logs openfoam-run
  6. Download the collection of output files.

    $ nerd dataset download openfoam-output ~/my-openfoam-output
    Downloading (Step 1/2): 972.80 KB / 972.80 KB [=======] 100.00% 0s
    Unarchiving (Step 2/2): 972.80 KB / 972.80 KB [=======] 100.00% 0s
    Downloaded 1 dataset

You’ve run an OpenFOAM simulation. Awesome!

You can run another simulation or use your one of our other applications.
Have any questions about using Nerdalize compute?

Get in touch