Stokes equation is a linearised form of the Navier-Stokes equations in the limit of small Reynolds number. This equation, also named creeping flow, is a type of fluid flow where advective inertial forces are small compared with viscous forces. The static form of the Stokes equation is implemented in this example.
The fortran version of the example can be configured and built with CMake:
git clone https://github.com/OpenCMISS-Examples/stokes_static.git mkdir stokes_static-build cd stokes_static-build cmake -DOpenCMISSLibs_DIR=~/opencmiss/install/ ../stokes_static/ make
Fortran version:
cd ./src/fortran/ ./stokes_static
Python version:
source <path-to-opencmiss>/install/.../.../virtualenvironments/oclibs_pyXY_release/bin/activate cd ./src/python/ python stokes_static.py
where the XY in the path are the Python major and minor versions respectively.
The results can be visualised by running visualise.com with the Cmgui visualiser.
There are no additional input files required for this example as it is self-contained.
License applicable to this example is described in LICENSE.