A base class which provides some common methods used for free-flow/pore-network coupling.
#include <dumux/multidomain/boundary/freeflowporenetwork/couplingconditions.hh>
|
template<std::size_t i> |
static constexpr auto | couplingPhaseIdx (Dune::index_constant< i > id, int coupledPhaseIdx=0) |
| Returns the corresponding phase index needed for coupling.
|
|
template<std::size_t i> |
static constexpr auto | couplingCompIdx (Dune::index_constant< i > id, int coupledCompIdx) |
| Returns the corresponding component index needed for coupling.
|
|
template<class Context> |
static NumEqVector< freeFlowMomentumIndex > | momentumCouplingCondition (const FVElementGeometry< freeFlowMomentumIndex > &fvGeometry, const SubControlVolumeFace< freeFlowMomentumIndex > &scvf, const ElementVolumeVariables< freeFlowMomentumIndex > &elemVolVars, const Context &context) |
| Returns the momentum flux across the coupling boundary.
|
|
template<class Context> |
static VelocityVector | interfaceThroatVelocity (const FVElementGeometry< freeFlowMomentumIndex > &fvGeometry, const SubControlVolumeFace< freeFlowMomentumIndex > &scvf, const Context &context) |
|
static Scalar | advectiveFlux (const Scalar insideQuantity, const Scalar outsideQuantity, const Scalar volumeFlow, bool insideIsUpstream) |
| Evaluate an advective flux across the interface and consider upwinding.
|
|
template<std::size_t i, std::size_t j, bool isNI = enableEnergyBalance, typename std::enable_if_t< isNI, int > = 0> |
static Scalar | conductiveEnergyFlux (Dune::index_constant< i > domainI, Dune::index_constant< j > domainJ, const SubControlVolumeFace< freeFlowMassIndex > &scvf, const SubControlVolume< i > &scvI, const SubControlVolume< j > &scvJ, const VolumeVariables< i > &volVarsI, const VolumeVariables< j > &volVarsJ) |
| Evaluate the conductive energy flux across the interface.
|
|
|
template<class Scv, class Scvf> |
static Scalar | getDistance_ (const Scv &scv, const Scvf &scvf) |
| Returns the distance between an scvf and the corresponding scv center.
|
|
◆ advectiveFlux()
◆ conductiveEnergyFlux()
template<std::size_t i, std::size_t j, bool isNI = enableEnergyBalance, typename std::enable_if_t< isNI, int > = 0>
◆ couplingCompIdx()
◆ couplingPhaseIdx()
◆ getDistance_()
template<class Scv, class Scvf>
◆ interfaceThroatVelocity()
◆ momentumCouplingCondition()
For the normal momentum coupling, the porous medium side of the coupling condition is evaluated, i.e. -[p n]^pm.
◆ freeFlowMassIndex
◆ freeFlowMomentumIndex
◆ poreNetworkIndex
The documentation for this class was generated from the following file: