Opm::NetworkPressureComputation< GenericWellModel, VfpProperties, Communication > Class Template Reference

Class to compute network pressures using VFP tables, given flow rates for each group and fixed pressures at network roots. Optionally, the ALQ values from wells can be included in the rates. More...

#include <BlackoilWellModelNetworkPressureComputation.hpp>

Public Types

using Scalar = typename GenericWellModel::Scalar
 
using IndexTraits = GenericWellModel::IndexTraits
 

Public Member Functions

 NetworkPressureComputation (const GenericWellModel &well_model, const Network::ExtNetwork &network, const VfpProperties &vfp_props, const UnitSystem &unit_system, const int report_step_idx, const Communication &comm)
 
std::pair< std::map< std::string, Scalar >, std::map< std::string, data::BranchData > > run ()
 
const std::set< std::string > & invalidNodes () const
 

Detailed Description

template<typename GenericWellModel, typename VfpProperties, typename Communication = Parallel::Communication>
class Opm::NetworkPressureComputation< GenericWellModel, VfpProperties, Communication >

Class to compute network pressures using VFP tables, given flow rates for each group and fixed pressures at network roots. Optionally, the ALQ values from wells can be included in the rates.

Member Typedef Documentation

◆ IndexTraits

template<typename GenericWellModel , typename VfpProperties , typename Communication = Parallel::Communication>
using Opm::NetworkPressureComputation< GenericWellModel, VfpProperties, Communication >::IndexTraits = GenericWellModel::IndexTraits

◆ Scalar

template<typename GenericWellModel , typename VfpProperties , typename Communication = Parallel::Communication>
using Opm::NetworkPressureComputation< GenericWellModel, VfpProperties, Communication >::Scalar = typename GenericWellModel::Scalar

Constructor & Destructor Documentation

◆ NetworkPressureComputation()

template<typename GenericWellModel , typename VfpProperties , typename Communication = Parallel::Communication>
Opm::NetworkPressureComputation< GenericWellModel, VfpProperties, Communication >::NetworkPressureComputation ( const GenericWellModel &  well_model,
const Network::ExtNetwork &  network,
const VfpProperties &  vfp_props,
const UnitSystem &  unit_system,
const int  report_step_idx,
const Communication &  comm 
)
inline

Member Function Documentation

◆ invalidNodes()

template<typename GenericWellModel , typename VfpProperties , typename Communication = Parallel::Communication>
const std::set< std::string > & Opm::NetworkPressureComputation< GenericWellModel, VfpProperties, Communication >::invalidNodes ( ) const
inline

Nodes whose pressure could not be computed from the VFP tables (and their descendants). Their entries in the pressure map are placeholders (the upstream pressure) and must not be used as node pressures.

◆ run()

template<typename GenericWellModel , typename VfpProperties , typename Communication = Parallel::Communication>
std::pair< std::map< std::string, Scalar >, std::map< std::string, data::BranchData > > Opm::NetworkPressureComputation< GenericWellModel, VfpProperties, Communication >::run ( )
inline

References Opm::to_string().


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