|
BlackoilWellModelNetworkGeneric.hpp
Go to the documentation of this file.
127 // Valid network pressures for output and initialization for safe restart after failed iterations
Class for handling the blackoil well model. Definition: BlackoilWellModelGeneric.hpp:97 Class for handling the blackoil well network model. Definition: BlackoilWellModelNetworkGeneric.hpp:50 std::map< std::string, Scalar > node_pressures_ Definition: BlackoilWellModelNetworkGeneric.hpp:126 virtual ~BlackoilWellModelNetworkGeneric()=default bool willBalanceOnNextIteration(const int reportStepIndex, const NewtonIterationContext &iterCtx) const Checks if we will perform a network re-balance on the next Newton iteration. void commitState() Definition: BlackoilWellModelNetworkGeneric.hpp:98 bool active_ Definition: BlackoilWellModelNetworkGeneric.hpp:122 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:123 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:128 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:105 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. bool shouldBalance(const int reportStepIndex, const NewtonIterationContext &iterCtx) const void assignNodeValues(std::map< std::string, data::NodeData > &nodevalues, const int reportStepIdx) const void resetState() Definition: BlackoilWellModelNetworkGeneric.hpp:101 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 Context for iteration-dependent decisions in the Newton solver. Definition: NewtonIterationContext.hpp:43 |