Skip to content
Snippets Groups Projects
To learn more about this project, read the wiki.
README.md 2.60 KiB

Exercise Properties (DuMuX course)


Problem set-up

The problem setup is identical to the two-phase incompressible test from DuMux.

Preparing the exercise

  • Navigate to the directory exercise-properties

Exercise Properties deals with a two-phase immiscible incompressible problem (2p). The goal is to learn how to adapt compile-time parameters by employing the DuMux property system.



Task 1: Getting familiar with the code


Locate all the files you will need for this exercise

  • The main file: main.cc
  • The problem file: problem.hh
  • The properties file: properties.hh
  • The spatial parameters file: spatialparams.hh
  • The input file: params.input
  • One header file containing:
    • a custom local residual in: mylocalresidual.hh




Task 2: Compiling and running the program


  • Change to the build-directory
cd ../../build-cmake/exercises/exercise-properties
  • Compile the executable exercise_properties
make exercise_properties
  • Run the problem and inspect the result