Coupling conditions specialization for non-compositional models. More...
#include <dumux/multidomain/boundary/freeflowporenetwork/couplingconditions.hh>
Coupling conditions specialization for non-compositional models.
Static Public Member Functions | |
template<class CouplingContext > | |
static Scalar | massCouplingCondition (Dune::index_constant< ParentType::poreNetworkIndex > domainI, Dune::index_constant< ParentType::freeFlowMassIndex > domainJ, const FVElementGeometry< ParentType::poreNetworkIndex > &fvGeometry, const SubControlVolume< ParentType::poreNetworkIndex > &scv, const ElementVolumeVariables< ParentType::poreNetworkIndex > &insideVolVars, const CouplingContext &context) |
Returns the mass flux across the coupling boundary as seen from the pore-network domain. More... | |
template<class CouplingContext > | |
static Scalar | massCouplingCondition (Dune::index_constant< ParentType::freeFlowMassIndex > domainI, Dune::index_constant< ParentType::poreNetworkIndex > domainJ, const FVElementGeometry< ParentType::freeFlowMassIndex > &fvGeometry, const SubControlVolumeFace< ParentType::freeFlowMassIndex > &scvf, const ElementVolumeVariables< ParentType::freeFlowMassIndex > &insideVolVars, const CouplingContext &context) |
Returns the mass flux across the coupling boundary as seen from the free-flow domain. More... | |
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. More... | |
template<std::size_t i> | |
static constexpr auto | couplingCompIdx (Dune::index_constant< i > id, int coupledCompIdx) |
Returns the corresponding component index needed for coupling. More... | |
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. More... | |
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. More... | |
Static Public Attributes | |
static constexpr auto | freeFlowMomentumIndex = CouplingManager::freeFlowMomentumIndex |
static constexpr auto | freeFlowMassIndex = CouplingManager::freeFlowMassIndex |
static constexpr auto | poreNetworkIndex = CouplingManager::poreNetworkIndex |
Protected Member Functions | |
template<class Scv , class Scvf > | |
Scalar | getDistance_ (const Scv &scv, const Scvf &scvf) const |
Returns the distance between an scvf and the corresponding scv center. More... | |
|
inlinestaticinherited |
Evaluate an advective flux across the interface and consider upwinding.
|
inlinestaticconstexprinherited |
Returns the corresponding component index needed for coupling.
|
inlinestaticconstexpr |
Returns the corresponding phase index needed for coupling.
|
inlineprotectedinherited |
Returns the distance between an scvf and the corresponding scv center.
|
inlinestaticinherited |
|
inlinestatic |
Returns the mass flux across the coupling boundary as seen from the free-flow domain.
|
inlinestatic |
Returns the mass flux across the coupling boundary as seen from the pore-network domain.
|
inlinestaticinherited |
Returns the momentum flux across the coupling boundary.
For the normal momentum coupling, the porous medium side of the coupling condition is evaluated, i.e. -[p n]^pm.
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |