annulus_flow
Navier Stokes Flow in 2D Eccentric Annulus


annulus_flow, a FENICS code which models the flow of a fluid, governed by the time dependent Navier-Stokes equations, in a 2D eccentric annulus.

To run this code under docker(), I issue the commands:

  1. cd $HOME/fenicsproject/annulus_flow
  2. fenicsproject run
  3. python3 annulus_flow.py
  4. exit

Licensing:

The GNU LGPL license.

Reference:

  1. Hans Petter Langtangen, Anders Logg,
    Solving PDEs in Python - The FEniCS Tutorial Volume 1.

Source Code:

The code normally takes 1000 time steps. For documentation, we only take 10 steps.

The pressure scalar field is saved on each step.

The velocity vector field is saved on each step.


Last revised on 29 April 2020.