3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Functions
freeflow/navierstokes/angeli/main.cc File Reference

Test for the instationary staggered grid Navier-Stokes model with analytical solution (Angeli et al. 2017, [6]). 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"

Description

Test for the instationary staggered grid Navier-Stokes model with analytical solution (Angeli et al. 2017, [6]).

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...
 
int main (int argc, char **argv)
 

Function Documentation

◆ createAnalyticalSolution()

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.

Parameters
timethe time at which to evaluate the analytical solution
problemthe problem for which to evaluate the analytical solution

◆ main()

int main ( int  argc,
char **  argv 
)
Include dependency graph for freeflow/navierstokes/angeli/main.cc: