Advanced Numerical Algorithms - Project 3#
Lid-Driven Cavity Flow: Finite Volume and Spectral Methods
Authors: Philip Korsager Nickel, Aske Schrøder Nielsen
This documentation provides computational experiments, API reference, and implementation details for solving the lid-driven cavity problem using finite volume and spectral methods.
For the full codebase, please visit the GitHub repository.
Contents#
- Example Scripts
Gallery of computational experiments and visualizations for lid-driven cavity flow.
- API Reference
Complete API reference for finite volume, spectral methods, and utility modules.
- HPC Guide
Guide for running parameter sweeps on the DTU HPC cluster.
Installation#
The package requires Python 3.12 and uses uv for dependency management.
Run the setup script from the project root:
bash setup.sh
This will create a virtual environment and install all dependencies including PETSc and petsc4py.