Opm::NcpBoundaryRateVector< TypeTag > Class Template Reference

Implements a boundary vector for the fully implicit compositional multi-phase NCP model. More...

#include <ncpboundaryratevector.hh>

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

Public Member Functions

 NcpBoundaryRateVector ()
 
 NcpBoundaryRateVector (const Evaluation &value)
 
 NcpBoundaryRateVector (const NcpBoundaryRateVector &value)=default
 
NcpBoundaryRateVectoroperator= (const NcpBoundaryRateVector &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::NcpBoundaryRateVector< TypeTag >

Implements a boundary vector for the fully implicit compositional multi-phase NCP model.

Constructor & Destructor Documentation

◆ NcpBoundaryRateVector() [1/3]

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

◆ NcpBoundaryRateVector() [2/3]

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

ImmiscibleBoundaryRateVector::ImmiscibleBoundaryRateVector(Scalar)

◆ NcpBoundaryRateVector() [3/3]

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

Member Function Documentation

◆ operator=()

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

◆ setFreeFlow()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::NcpBoundaryRateVector< 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::NcpBoundaryRateVector< TypeTag >::setInFlow(), and Opm::NcpBoundaryRateVector< TypeTag >::setOutFlow().

◆ setInFlow()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::NcpBoundaryRateVector< 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::NcpBoundaryRateVector< TypeTag >::setFreeFlow().

◆ setNoFlow()

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

Specify a no-flow boundary for all conserved quantities.

◆ setOutFlow()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::NcpBoundaryRateVector< 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::NcpBoundaryRateVector< TypeTag >::setFreeFlow().


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