23#ifndef OPM_MSWELLHELPERS_HEADER_INCLUDED
24#define OPM_MSWELLHELPERS_HEADER_INCLUDED
26#include <dune/istl/matrix.hh>
29template<
class Matrix>
class UMFPack;
37namespace mswellhelpers
41 template <
typename MatrixType,
typename VectorType>
49 template <
typename VectorType,
typename MatrixType>
50 Dune::Matrix<typename MatrixType::block_type>
51 invertWithUMFPack(
const int size,
58 template <
typename MatrixType,
typename VectorType>
60 invDX(
const MatrixType& D, VectorType x, DeferredLogger& deferred_logger);
70 template <
typename ValueType,
typename Scalar>
71 ValueType frictionPressureLoss(
const Scalar l,
const Scalar diameter,
72 const Scalar area,
const Scalar roughness,
73 const ValueType& density,
74 const ValueType& w,
const ValueType& mu);
77 template <
typename ValueType,
typename Scalar>
78 ValueType valveContrictionPressureLoss(
const ValueType& mass_rate,
79 const ValueType& density,
80 const Scalar area_con,
const Scalar cv);
83 template <
typename ValueType,
typename Scalar>
84 ValueType velocityHead(
const Scalar area,
const ValueType& mass_rate,
85 const ValueType& density);
89 template <
typename ValueType,
typename Scalar>
90 ValueType emulsionViscosity(
const ValueType& water_fraction,
91 const ValueType& water_viscosity,
92 const ValueType& oil_fraction,
93 const ValueType& oil_viscosity,
Definition MultisegmentWellEquations.hpp:33
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37