2 2

Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation   Contents   Index

Test Case Solver

  • It is necessary to select proper solver. Solvers are discussed further on.
  • We choose solver: icoFoam
    • source code is in directory
      $FOAM_SOLVERS/incompressible/icoFoam
    • source code is always in *.C and *.H files
  • Test case is already preset in
    $FOAM_TUTORIALS/incompressible/icoFoam/cavity
  • Copy tutorials for icoFoam to your work directory:
    # cp -r $FOAM_TUTORIALS/incompressible/icoFoam $FOAM_RUN
  • Go to directory cavity
    # cd $FOAM_RUN/icoFoam/cavity