Right-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. Upload your dataset.

    $ nerd dataset upload --name=openfoam-input <path>
    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'

    Don’t have a dataset at hand? Download the pitzDaily example and unzip it.

  3. Start OpenFOAM.

    $ nerd job run --name=openfoam-run --input=openfoam-input:/input --output=openfoam-output:/output nerdalize/openfoam
    Submitted job: 'openfoam-run'
    To see whats happening, use: 'nerd job list'
  4. 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
  5. Download the collection of output files.

    $ nerd dataset download --output-of openfoam-run <target_dir>
    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