Test for the instationary staggered grid Navier-Stokes model with analytical solution. More...
#include <config.h>#include <ctime>#include <iostream>#include <type_traits>#include <tuple>#include <dune/common/parallel/mpihelper.hh>#include <dune/common/timer.hh>#include <dune/grid/io/file/dgfparser/dgfexception.hh>#include <dune/grid/io/file/vtk.hh>#include <dumux/assembly/staggeredfvassembler.hh>#include <dumux/assembly/diffmethod.hh>#include <dumux/common/dumuxmessage.hh>#include <dumux/common/parameters.hh>#include <dumux/common/properties.hh>#include <dumux/common/valgrind.hh>#include <dumux/io/grid/gridmanager.hh>#include <dumux/io/staggeredvtkoutputmodule.hh>#include <dumux/linear/seqsolverbackend.hh>#include <dumux/nonlinear/newtonsolver.hh>#include "problem.hh"Test for the instationary staggered grid Navier-Stokes model with analytical solution.
Functions | |
| template<class Scalar , class Problem > | |
| auto | createAnalyticalSolution (const Scalar time, const Problem &problem) |
| Creates analytical solution. Returns a tuple of the analytical solution for the pressure, the velocity and the velocity at the faces. More... | |
| template<class Problem > | |
| auto | createSource (const Problem &problem) |
| template<class Problem , class SolutionVector , class GridGeometry > | |
| void | printL2Error (const Problem &problem, const SolutionVector &x, const GridGeometry &gridGeometry) |
| int | main (int argc, char **argv) |
| auto createAnalyticalSolution | ( | const Scalar | time, |
| const Problem & | problem | ||
| ) |
Creates analytical solution. Returns a tuple of the analytical solution for the pressure, the velocity and the velocity at the faces.
| time | the time at which to evaluate the analytical solution |
| problem | the problem for which to evaluate the analytical solution |
| auto createSource | ( | const Problem & | problem | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| void printL2Error | ( | const Problem & | problem, |
| const SolutionVector & | x, | ||
| const GridGeometry & | gridGeometry | ||
| ) |
