Skip to content

Draft: Convection Toolbox

Andreas Burkhart requested to merge burk/Merge_ConvectionToolbox into master

Contents:

  • some bugfixes to Block Functions, CSFVectorFunctions related to boundary conditions not being copied correctly if there are different boundary conditions in each dimension.
  • added ConvectionToolbox and a respective test

Note: The convection toolbox delivers functionality to generate a storage and boundary condition object for Rectangle, Annulus, Cuboid, Spherical Shell with given Boundary conditions for velocity, pressure and temperature intended for use within mantle convection models. This boundary condition object can then be used to create appropriate functions for velocity, pressure and temperature with correct BCs in each spatial dimension. The toolbox also handles any combination of Dirichlet, Neumann and Freeslip boundaries on the cuboid / rectangle edges and corners. In addition it provides flag based functionality to interpolate on specific regions of the domain (e.g. interpolate to the [surface, left] edge or [surface, left, front] corner).

Edited by Andreas Burkhart

Merge request reports