Basic Examples

These examples show complete problems organized by physical process. They assume that you have worked through the Tutorials, and focus on the features specific to each process. Each example runs on a laptop or a small number of MPI processes.

A suggested order is:

  1. Multiphase Flow: two-phase dead-oil flow in a heterogeneous reservoir (two layers of SPE10).

  2. Multiphase Flow with Wells: adds wells, coupled to the reservoir, with rate and pressure constraints (Egg model).

  3. CO 2 Injection: CO2 injection with a CO2-brine fluid model, running in parallel, and restarting.

  4. Poromechanics: coupled flow and geomechanics (Terzaghi’s consolidation problem).

  5. Hydraulic Fracturing: hydraulic fracture propagation, using XML parameters and preprocessing.

  6. Triaxial Driver: Extended Drucker-Prager Elasto-Plastic Model: testing a constitutive model at a single material point, without a mesh.

More examples, including validation studies against analytical solutions and benchmarks, are found in the Advanced Examples.