By Evalf, and other Nutils contributors.

In this script we solve the lid driven cavity problem for stationary Stokes and Navier-Stokes flow. That is, a unit square domain, with no-slip left, bottom and right boundaries and a top boundary that is moving at unit velocity in positive x-direction.

The script is identical to [example:official-drivencavity] except that it uses the Raviart-Thomas discretization providing compatible velocity and pressure spaces resulting in a pointwise divergence-free velocity field.

script:
examples/drivencavity-compatible.py
repository:
https://github.com/evalf/nutils.git
commit:
release/7
tags:
Stokes
Navier-Stokes
compatible spaces
official
logs:
stable, master