foamRun.C File Reference

Loads and executes an OpenFOAM solver module either specified by the optional solver entry in the controlDict or as a command-line argument. More...

Go to the source code of this file.

Detailed Description

Loads and executes an OpenFOAM solver module either specified by the optional solver entry in the controlDict or as a command-line argument.

Original source file foamRun.C

Uses the flexible PIMPLE (PISO-SIMPLE) solution for time-resolved and pseudo-transient and steady simulations.

Usage
foamRun [OPTION]
  • -solver
    Solver name
  • -libs '("lib1.so" ... "libN.so")'
    Specify the additional libraries loaded
    Example usage:
  • To run a rhoPimpleFoam case by specifying the solver on the command line:
            foamRun -solver fluid
  • To update and run a rhoPimpleFoam case add the following entries to the controlDict:
            application     foamRun;
    
            solver          fluid;
    then execute foamRun

Definition in file foamRun.C.