The experimental configurations provided in this repo demonstrate the combination of PDE-constrained optimisation methods with goal-oriented mesh adaptation. All experiments are conducted in Thetis - a discontinuous Galerkin coastal ocean model built on top of Firedrake. The goal-oriented mesh adaptation functionality is provided by Goalie and Animate.
The experiments in this repository are used to generate results for a paper entitled Combining PDE-constrained optimisation with goal-oriented mesh adaptation by Joseph G. Wallwork et al., which is currently work in progress.
- Install PETSc with the Mmg metric-based mesh adaptation tool by following the instructions provided in the mesh-adaptation wiki.
- Install Firedrake on top of the PETSc build from step 1 by following the instructions provided in the mesh-adaptation wiki.
- Install Animate and Goalie into the same virtual environment used for installing Firedrake by following the instructions provided in the mesh-adaptation wiki.
- Clone this repository and install it into the same virtual environment used above:
source /path/to/venv/bin/activate
git clone https://github.com/mesh-adaptation/turbine_opt_adapt.git
cd turbine_opt_adapt
pip install .