|
opm-simulators
|
Class for handling the blackoil well network model. More...
#include <BlackoilWellModelNetwork.hpp>
Public Member Functions | |
| BlackoilWellModelNetwork (BlackoilWellModel< TypeTag > &well_model) | |
| std::tuple< bool, Scalar > | update (const bool mandatory_network_balance, DeferredLogger &deferred_logger, const bool relax_network_tolerance=false) |
| void | doPreStepRebalance (DeferredLogger &deferred_logger) |
| Public Member Functions inherited from Opm::BlackoilWellModelNetworkGeneric< GetPropType< TypeTag, Properties::Scalar >, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > | |
| BlackoilWellModelNetworkGeneric (BlackoilWellModelGeneric< Scalar, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > &well_model) | |
| bool | active () const |
| return true if network is active (at least one network well in prediction mode) | |
| const std::map< std::string, Scalar > & | nodePressures () const |
| void | setNodePressures (const std::map< std::string, Scalar > &values) |
| void | setFromRestart (const std::optional< std::map< std::string, double > > &restart_pressures) |
| void | initialize (const int report_step) |
| Initialize wells according to network configuration. | |
| void | initializeWell (WellInterfaceGeneric< Scalar, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > &well) |
| Initialize a single well according to network configuration. | |
| void | updateActiveState (const int report_step) |
| Checks if network is active (at least one network well on prediction). | |
| bool | needPreStepRebalance (const int report_step) const |
| Checks if there are reasons to perform a pre-step network re-balance. | |
| bool | shouldBalance (const int reportStepIndex, const NewtonIterationContext &iterCtx) const |
| Checks if we shall perform a network re-balance. | |
| bool | willBalanceOnNextIteration (const int reportStepIndex, const NewtonIterationContext &iterCtx) const |
| Checks if we will perform a network re-balance on the next Newton iteration. | |
| Scalar | updatePressures (const int reportStepIdx, const Scalar damping_factor, const Scalar update_upper_bound) |
| void | assignNodeValues (std::map< std::string, data::NodeData > &nodevalues, const int reportStepIdx) const |
| void | commitState () |
| void | resetState () |
| void | serializeOp (Serializer &serializer) |
| bool | operator== (const BlackoilWellModelNetworkGeneric< Scalar, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > &rhs) const |
Protected Member Functions | |
| bool | computeWellGroupThp (const double dt, DeferredLogger &local_deferredLogger) |
| This function is to be used for well groups in an extended network that act as a subsea manifold The wells of such group should have a common THP and total phase rate(s) obeying (if possible) the well group constraint set by GCONPROD. | |
| Protected Member Functions inherited from Opm::BlackoilWellModelNetworkGeneric< GetPropType< TypeTag, Properties::Scalar >, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > | |
| std::map< std::string, Scalar > | computePressures (const Network::ExtNetwork &network, const VFPProdProperties< Scalar > &vfp_prod_props, const UnitSystem &unit_system, const int reportStepIdx, const Parallel::Communication &comm) const |
Protected Attributes | |
| BlackoilWellModel< TypeTag > & | well_model_ |
| std::map< std::string, Scalar > | well_group_thp_calc_ |
| Protected Attributes inherited from Opm::BlackoilWellModelNetworkGeneric< GetPropType< TypeTag, Properties::Scalar >, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > | |
| bool | active_ |
| BlackoilWellModelGeneric< Scalar, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > & | well_model_ |
| std::map< std::string, Scalar > | node_pressures_ |
| std::map< std::string, Scalar > | last_valid_node_pressures_ |
Class for handling the blackoil well network model.