|
BlackoilWellModelNetworkGeneric.hpp
Go to the documentation of this file.
125 // Valid network pressures for output and initialization for safe restart after failed iterations
Class for handling the blackoil well network model. Definition: BlackoilWellModelNetworkGeneric.hpp:50 std::map< std::string, Scalar > node_pressures_ Definition: BlackoilWellModelNetworkGeneric.hpp:124 bool shouldBalance(const int reportStepIndex) const virtual ~BlackoilWellModelNetworkGeneric()=default bool willBalanceOnNextIteration(const int reportStepIndex) const Checks if we will perform a network re-balance on the next Newton iteration. void commitState() Definition: BlackoilWellModelNetworkGeneric.hpp:96 bool active_ Definition: BlackoilWellModelNetworkGeneric.hpp:120 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 void setNodePressures(const std::map< std::string, Scalar > &values) Definition: BlackoilWellModelNetworkGeneric.hpp:64 void initialize(const int report_step) Initialize wells according to network configuration. BlackoilWellModelGeneric< Scalar, IndexTraits > & well_model_ Definition: BlackoilWellModelNetworkGeneric.hpp:121 Scalar updatePressures(const int reportStepIdx, const Scalar damping_factor, const Scalar update_upper_bound) std::map< std::string, Scalar > last_valid_node_pressures_ Definition: BlackoilWellModelNetworkGeneric.hpp:126 bool needPreStepRebalance(const int report_step) const bool operator==(const BlackoilWellModelNetworkGeneric< Scalar, IndexTraits > &rhs) const void updateActiveState(const int report_step) Checks if network is active (at least one network well on prediction). BlackoilWellModelNetworkGeneric(BlackoilWellModelGeneric< Scalar, IndexTraits > &well_model) void serializeOp(Serializer &serializer) Definition: BlackoilWellModelNetworkGeneric.hpp:103 bool active() const return true if network is active (at least one network well in prediction mode) Definition: BlackoilWellModelNetworkGeneric.hpp:57 void setFromRestart(const std::optional< std::map< std::string, double > > &restart_pressures) void initializeWell(WellInterfaceGeneric< Scalar, IndexTraits > &well) Initialize a single well according to network configuration. void assignNodeValues(std::map< std::string, data::NodeData > &nodevalues, const int reportStepIdx) const void resetState() Definition: BlackoilWellModelNetworkGeneric.hpp:99 const std::map< std::string, Scalar > & nodePressures() const Definition: BlackoilWellModelNetworkGeneric.hpp:61 Definition: VFPProdProperties.hpp:38 Definition: WellInterfaceGeneric.hpp:53 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilbioeffectsmodules.hh:45 |