Opm::FlashBoundaryRateVector< TypeTag > Class Template Reference

Implements a boundary vector for the fully implicit compositional multi-phase model which is based on flash calculations. More...

#include <flashboundaryratevector.hh>

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

Public Member Functions

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

Implements a boundary vector for the fully implicit compositional multi-phase model which is based on flash calculations.

Constructor & Destructor Documentation

◆ FlashBoundaryRateVector() [1/3]

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

◆ FlashBoundaryRateVector() [2/3]

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

ImmiscibleBoundaryRateVector::ImmiscibleBoundaryRateVector(Scalar)

◆ FlashBoundaryRateVector() [3/3]

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

Member Function Documentation

◆ operator=()

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

◆ setFreeFlow()

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

◆ setInFlow()

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

◆ setNoFlow()

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

Specify a no-flow boundary for all conserved quantities.

◆ setOutFlow()

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


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