Compute boundary conditions for the Riemann Solver. More...
#include <array>
#include <cmath>
#include <algorithm>
Go to the source code of this file.
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 |
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2. | |
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... | |
template<class PrimaryVariables , class Scalar , class GlobalPosition > | |
std::array< Scalar, 3 > | Dumux::ShallowWater::noslipWallBoundary (const Scalar alphaWall, const Scalar turbulentViscosity, const PrimaryVariables &state, const GlobalPosition &cellCenterToBoundaryFaceCenter, const GlobalPosition &unitNormal) |
Compute the viscosity/diffusive flux at a rough wall boundary using no-slip formulation. More... | |
template<class PrimaryVariables , class Scalar , class GlobalPosition > | |
std::array< Scalar, 3 > | Dumux::ShallowWater::nikuradseWallBoundary (const Scalar ksWall, const PrimaryVariables &state, const GlobalPosition &cellCenterToBoundaryFaceCenter, const GlobalPosition &unitNormal) |
Compute the viscosity/diffusive flux at a rough wall boundary using Nikuradse formulation. More... | |