|
BlackoilWellModelNetworkGeneric.hpp
Go to the documentation of this file.
135 // Network branch pressure drops and flow rates for output (outlet branch for production network, inlet branch for injection network)
137 // Valid network pressures for output and initialization for safe restart after failed iterations
139 // Valid network branch pressure drops and flow rates for output (outlet branch for production network, inlet branch for injection network) for safe restart after failed iterations
Class for handling the blackoil well network model. Definition: BlackoilWellModelNetworkGeneric.hpp:50 std::pair< std::map< std::string, Scalar >, std::map< std::string, data::BranchData > > computePressures(const Network::ExtNetwork &network, const VFPProdProperties< Scalar > &vfp_prod_props, const UnitSystem &unit_system, const int reportStepIdx, const Parallel::Communication &comm) const std::map< std::string, Scalar > node_pressures_ Definition: BlackoilWellModelNetworkGeneric.hpp:134 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:98 void assignNodeAndBranchValues(std::map< std::string, data::NodeData > &nodevalues, std::map< std::string, data::BranchData > &branchvalues, std::map< std::string, data::BranchData > &converged_branchvalues, const int reportStepIdx) const bool active_ Definition: BlackoilWellModelNetworkGeneric.hpp:130 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:131 Scalar updatePressures(const int reportStepIdx, const Scalar damping_factor, const Scalar update_upper_bound) std::map< std::string, data::BranchData > branch_data_ Definition: BlackoilWellModelNetworkGeneric.hpp:136 std::map< std::string, Scalar > last_valid_node_pressures_ Definition: BlackoilWellModelNetworkGeneric.hpp:138 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) std::map< std::string, data::BranchData > last_valid_branch_data_ Definition: BlackoilWellModelNetworkGeneric.hpp:140 void serializeOp(Serializer &serializer) Definition: BlackoilWellModelNetworkGeneric.hpp:111 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 resetState() Definition: BlackoilWellModelNetworkGeneric.hpp:104 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 |