Opm::PvsBoundaryRateVector< TypeTag > Class Template Reference

Implements a rate vector on the boundary for the fully implicit compositional multi-phase primary variable switching compositional model. More...

#include <pvsboundaryratevector.hh>

Inheritance diagram for Opm::PvsBoundaryRateVector< TypeTag >:
Inheritance graph

Public Member Functions

 PvsBoundaryRateVector ()
 
 PvsBoundaryRateVector (const Evaluation &value)
 
 PvsBoundaryRateVector (const PvsBoundaryRateVector &value)=default
 
PvsBoundaryRateVectoroperator= (const PvsBoundaryRateVector &value)=default
 
template<class Context , class FluidState >
void setFreeFlow (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState)
 Specify a free-flow boundary. More...
 
template<class Context , class FluidState >
void setInFlow (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState)
 Specify an inflow boundary. More...
 
template<class Context , class FluidState >
void setOutFlow (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState)
 Specify an outflow boundary. More...
 
void setNoFlow ()
 Specify a no-flow boundary for all conserved quantities. More...
 

Detailed Description

template<class TypeTag>
class Opm::PvsBoundaryRateVector< TypeTag >

Implements a rate vector on the boundary for the fully implicit compositional multi-phase primary variable switching compositional model.

Constructor & Destructor Documentation

◆ PvsBoundaryRateVector() [1/3]

template<class TypeTag >
Opm::PvsBoundaryRateVector< TypeTag >::PvsBoundaryRateVector ( )
inline

◆ PvsBoundaryRateVector() [2/3]

template<class TypeTag >
Opm::PvsBoundaryRateVector< TypeTag >::PvsBoundaryRateVector ( const Evaluation &  value)
inline

ImmiscibleBoundaryRateVector::ImmiscibleBoundaryRateVector(Scalar)

◆ PvsBoundaryRateVector() [3/3]

template<class TypeTag >
Opm::PvsBoundaryRateVector< TypeTag >::PvsBoundaryRateVector ( const PvsBoundaryRateVector< TypeTag > &  value)
default

Member Function Documentation

◆ operator=()

template<class TypeTag >
PvsBoundaryRateVector & Opm::PvsBoundaryRateVector< TypeTag >::operator= ( const PvsBoundaryRateVector< TypeTag > &  value)
default

◆ setFreeFlow()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::PvsBoundaryRateVector< TypeTag >::setFreeFlow ( const Context &  context,
unsigned  bfIdx,
unsigned  timeIdx,
const FluidState &  fluidState 
)
inline

Specify a free-flow boundary.

Parameters
contextThe execution context for which the boundary rate should be specified.
bfIdxThe local space index of the boundary segment.
timeIdxThe index used by the time discretization.
fluidStateThe repesentation of the thermodynamic state of the system on the integration point of the boundary segment.

Referenced by Opm::PvsBoundaryRateVector< TypeTag >::setInFlow(), and Opm::PvsBoundaryRateVector< TypeTag >::setOutFlow().

◆ setInFlow()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::PvsBoundaryRateVector< TypeTag >::setInFlow ( const Context &  context,
unsigned  bfIdx,
unsigned  timeIdx,
const FluidState &  fluidState 
)
inline

Specify an inflow boundary.

An inflow boundary condition is basically a free flow boundary condition that is not prevented from specifying a flow out of the domain.

Parameters
contextThe execution context for which the boundary rate should be specified.
bfIdxThe local space index of the boundary segment.
timeIdxThe index used by the time discretization.
fluidStateThe repesentation of the thermodynamic state of the system on the integration point of the boundary segment.

References Opm::PvsBoundaryRateVector< TypeTag >::setFreeFlow().

◆ setNoFlow()

template<class TypeTag >
void Opm::PvsBoundaryRateVector< TypeTag >::setNoFlow ( )
inline

Specify a no-flow boundary for all conserved quantities.

◆ setOutFlow()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::PvsBoundaryRateVector< TypeTag >::setOutFlow ( const Context &  context,
unsigned  bfIdx,
unsigned  timeIdx,
const FluidState &  fluidState 
)
inline

Specify an outflow boundary.

An outflow boundary condition is basically a free flow boundary condition that is not prevented from specifying a flow into the domain.

Parameters
contextThe execution context for which the boundary rate should be specified.
bfIdxThe local space index of the boundary segment.
timeIdxThe index used by the time discretization.
fluidStateThe repesentation of the thermodynamic state of the system on the integration point of the boundary segment.

References Opm::PvsBoundaryRateVector< TypeTag >::setFreeFlow().


The documentation for this class was generated from the following file: