|
Classes |
Public Member Functions |
Protected Member Functions |
Static Protected Member Functions |
Protected Attributes |
List of all members
Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits > Class Template Reference Class for handling the blackoil well network model. More...
Inheritance diagram for Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >:
![]()
Detailed Descriptiontemplate<typename Scalar, typename IndexTraits> class Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits > Class for handling the blackoil well network model. Constructor & Destructor Documentation◆ BlackoilWellModelNetworkGeneric()
template<typename Scalar , typename IndexTraits >
◆ ~BlackoilWellModelNetworkGeneric()
template<typename Scalar , typename IndexTraits >
Member Function Documentation◆ active()
template<typename Scalar , typename IndexTraits >
return true if network is active (at least one network well in prediction mode) References Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::active_. ◆ applyNodePressureOverrides_()
template<typename Scalar , typename IndexTraits >
Sets the cached production node pressures of the overridden nodes to the override values. Does not sync the legacy state. ◆ assignNodeAndBranchValues()
template<typename Scalar , typename IndexTraits >
◆ branchData() [1/2]
template<typename Scalar , typename IndexTraits >
◆ branchData() [2/2]
template<typename Scalar , typename IndexTraits >
References Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::domain_branch_data_, and Opm::details::domainIndex(). Referenced by Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::syncLegacyProductionState_(), and Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::syncProductionDomainState_(). ◆ commitState()
template<typename Scalar , typename IndexTraits >
References Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::domain_branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::domain_node_pressures_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::last_valid_branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::last_valid_domain_branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::last_valid_domain_node_pressures_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::last_valid_node_pressures_, and Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::node_pressures_. ◆ computePressures() [1/2]
template<typename Scalar , typename IndexTraits >
◆ computePressures() [2/2]
template<typename Scalar , typename IndexTraits >
◆ imposeWellThpLimit()
template<typename Scalar , typename IndexTraits >
Apply a network THP limit and retain it across well reconstruction or network detachment. ◆ initialize()
template<typename Scalar , typename IndexTraits >
Initialize wells according to network configuration. ◆ initializeWell()
template<typename Scalar , typename IndexTraits >
Initialize a single well according to network configuration. ◆ invalidNodes() [1/2]
template<typename Scalar , typename IndexTraits >
◆ invalidNodes() [2/2]
template<typename Scalar , typename IndexTraits >
◆ needPreStepRebalance()
template<typename Scalar , typename IndexTraits >
Checks if there are reasons to perform a pre-step network re-balance. (Currently, the only reasons are network well status changes.) (TODO: Consider if adding network change events would be helpful.) ◆ nodePressures() [1/3]
template<typename Scalar , typename IndexTraits >
◆ nodePressures() [2/3]
template<typename Scalar , typename IndexTraits >
◆ nodePressures() [3/3]
template<typename Scalar , typename IndexTraits >
◆ operator==()
template<typename Scalar , typename IndexTraits >
◆ productionNetworkDomain()
template<typename Scalar , typename IndexTraits >
◆ resetState()
template<typename Scalar , typename IndexTraits >
Restores the state saved by commitState(). The node pressure overrides are kept, as they are the current boundary condition, so they are applied to the restored pressures again. ◆ serializeOp()
template<typename Scalar , typename IndexTraits >
template<class Serializer >
References Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::domain_branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::domain_node_pressures_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::last_valid_branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::last_valid_domain_branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::last_valid_domain_node_pressures_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::last_valid_node_pressures_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::node_pressures_, and Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::well_group_thp_calc_. ◆ setFromRestart()
template<typename Scalar , typename IndexTraits >
◆ setNodePressureOverrides()
template<typename Scalar , typename IndexTraits >
Pressures that a reservoir coupling master imposes on nodes of the production network, by node (group) name. A reservoir coupling slave takes the pressure of a node that is a master group's leaf in the master's network from the master. The pressure computation uses it as the fixed pressure of the node, instead of the one in the deck, and the nodes below it follow from it with the pressure drops in their branches. So the THP limits of the slave's wells are the master's pressure plus those drops whenever they are set, and not only after the master's message is received. The node itself is not damped by updatePressures(). Only production network nodes with a fixed pressure in the deck are overridden. The cached pressures of the overridden nodes are set to the imposed values at once, so that what is computed from them before the next pressure update, such as the common THP of an auto-choke group below such a node, uses the current imposed pressure. ◆ setNodePressures()
template<typename Scalar , typename IndexTraits >
◆ shouldBalance()
template<typename Scalar , typename IndexTraits >
Checks if we shall perform a network re-balance. This is typically controlled by the NETBALAN keyword. ◆ syncLegacyProductionState_()
template<typename Scalar , typename IndexTraits >
References Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::branchData(), Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::node_pressures_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::nodePressures(), and Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::productionNetworkDomain(). ◆ syncProductionDomainState_()
template<typename Scalar , typename IndexTraits >
References Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::branch_data_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::branchData(), Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::node_pressures_, Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::nodePressures(), and Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::productionNetworkDomain(). ◆ updateActiveState()
template<typename Scalar , typename IndexTraits >
Checks if network is active (at least one network well on prediction). ◆ updateActiveStateImpl()
template<typename Scalar , typename IndexTraits >
◆ updatePressures()
template<typename Scalar , typename IndexTraits >
◆ willBalanceOnNextIteration()
template<typename Scalar , typename IndexTraits >
Checks if we will perform a network re-balance on the next Newton iteration. Member Data Documentation◆ active_
template<typename Scalar , typename IndexTraits >
◆ branch_data_
template<typename Scalar , typename IndexTraits >
Referenced by Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::commitState(), Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::serializeOp(), Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::syncLegacyProductionState_(), and Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::syncProductionDomainState_(). ◆ domain_branch_data_
template<typename Scalar , typename IndexTraits >
◆ domain_invalid_nodes_
template<typename Scalar , typename IndexTraits >
◆ domain_node_pressures_
template<typename Scalar , typename IndexTraits >
◆ invalid_nodes_report_step_
template<typename Scalar , typename IndexTraits >
◆ last_valid_branch_data_
template<typename Scalar , typename IndexTraits >
◆ last_valid_domain_branch_data_
template<typename Scalar , typename IndexTraits >
◆ last_valid_domain_node_pressures_
template<typename Scalar , typename IndexTraits >
◆ last_valid_node_pressures_
template<typename Scalar , typename IndexTraits >
◆ node_pressure_overrides_
template<typename Scalar , typename IndexTraits >
◆ node_pressures_
template<typename Scalar , typename IndexTraits >
Referenced by Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::commitState(), Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::nodePressures(), Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::serializeOp(), Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::setNodePressures(), Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::syncLegacyProductionState_(), and Opm::BlackoilWellModelNetworkGeneric< Scalar, IndexTraits >::syncProductionDomainState_(). ◆ well_group_thp_calc_
template<typename Scalar , typename IndexTraits >
◆ well_model_
template<typename Scalar , typename IndexTraits >
The documentation for this class was generated from the following files: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||