3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Namespaces | Functions
boundaryfluxes.hh File Reference

Compute boundary conditions for the Riemann Solver. More...

#include <array>
#include <cmath>

Go to the source code of this file.

Description

Compute boundary conditions for the Riemann Solver.

The boundary conditions are given at the the outer face of the the boundary cells. In this form the boundary condition can't be processed by the riemann Solver, because it needs two cell states, one at each side of a face. Therefore the Riemann invariants are used to calculate a virtual outer state.

Namespaces

namespace  Dumux
 
namespace  Dumux::ShallowWater
 

Functions

template<class Scalar , class GlobalPosition >
std::array< Scalar, 3 > Dumux::ShallowWater::fixedWaterDepthBoundary (const Scalar waterDepthBoundary, const Scalar waterDepthInside, const Scalar velocityXInside, const Scalar velocityYInside, const Scalar gravity, const GlobalPosition &nxy)
 Compute the outer cell state for fixed water depth boundary. More...
 
template<class Scalar , class GlobalPosition >
std::array< Scalar, 3 > Dumux::ShallowWater::fixedDischargeBoundary (const Scalar dischargeBoundary, const Scalar waterDepthInside, const Scalar velocityXInside, const Scalar velocityYInside, const Scalar gravity, const GlobalPosition &nxy)
 Compute the outer cell state for a fixed discharge boundary. More...
 
Include dependency graph for boundaryfluxes.hh: