Opm::LinearisedBlackoilResidual Struct Reference
Detailed DescriptionResidual structure of the fully implicit solver. All equations are given as AD types, with multiple jacobian blocks corresponding to the primary unknowns. The primary unknowns are for a three-phase simulation, in order: p (pressure) sw (water saturation) xvar (gas saturation, gas-oil ratio or oil-gas ratio) qs (well outflows by well and phase) bhp (bottom hole pressures) In the above, the xvar variable will have a different meaning from cell to cell, corresponding to the state in that cell (saturated, undersaturated oil or undersaturated gas). In a two-phase simulation, either sw or xvar is not used, depending on which phase is missing. Note: this class is strongly coupled to the class FullyImplicitBlackoilSolver, and is separated from that class to facilitate the development of linear solver strategies outside that class. Member Typedef Documentation
A type alias for the automatic differentiation type. Member Function Documentation
The size of the non-linear system. Member Data Documentation
The material_balance_eq vector has one element for each active phase, each of which has size equal to the number of cells. Each material balance equation is given in terms of surface volumes (in SI units, that is standard m^3). Referenced by Opm::BlackoilModelBase< Grid, Implementation >::addWellContributionToMassBalanceEq(), Opm::BlackoilModelBase< Grid, Implementation >::assembleMassBalanceEq(), Opm::BlackoilSolventModel< Grid >::BlackoilSolventModel(), Opm::BlackoilModelBase< Grid, Implementation >::computeResidualNorms(), Opm::BlackoilModelBase< Grid, Implementation >::getConvergence(), and Opm::BlackoilModelBase< Grid, Implementation >::getWellConvergence().
The well_eq has size equal to the number of wells. It contains the well control equations, that is for each well either a rate specification or bottom hole pressure specification. Referenced by Opm::BlackoilModelBase< Grid, Implementation >::addWellControlEq(), Opm::BlackoilModelBase< Grid, Implementation >::computeResidualNorms(), Opm::BlackoilModelBase< Grid, Implementation >::getConvergence(), Opm::BlackoilModelBase< Grid, Implementation >::getWellConvergence(), and Opm::BlackoilModelBase< Grid, Implementation >::solveWellEq().
The well_flux_eq has size equal to the number of wells times the number of phases. It contains the well flow equations, relating the total well flows to bottom-hole pressures and reservoir conditions. Referenced by Opm::BlackoilModelBase< Grid, Implementation >::addWellFluxEq(), Opm::BlackoilModelBase< Grid, Implementation >::computeResidualNorms(), Opm::BlackoilModelBase< Grid, Implementation >::convergenceReduction(), and Opm::BlackoilModelBase< Grid, Implementation >::solveWellEq(). The documentation for this struct was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||