Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1 KB

File metadata and controls

42 lines (26 loc) · 1 KB

Darcy Static

Darcy's law is an equation that describes the flow of a fluid through a porous medium. The static form of the Darcy equation is implemented in this example.

Building the example

The fortran version of the example can be configured and built with CMake:

git clone https://github.com/OpenCMISS-Examples/darcy_static.git
cd darcy_static
mkdir build
cd build
cmake -DOpenCMISS_INSTALL_ROOT=/path/to/opencmiss/install/ ../.
make

Running the example

Fortran version:

cd src/fortran/
./darcy_static_fortran

The results can be visualised by running visualiseDarcyStatic.cmgui with the Cmgui visualiser.

Prerequisites

There are no additional input files required for this example as it is self-contained.

License

License applicable to this example is described in LICENSE.