Loading...
Searching...
No Matches
blackoilmodel.hh File Reference

A fully-implicit black-oil flow model. More...

`#include <opm/material/densead/Math.hpp>`
`#include <opm/material/fluidsystems/BlackOilFluidSystem.hpp>`
`#include <opm/models/blackoil/blackoilbioeffectsmodules.hh>`
`#include <opm/models/blackoil/blackoilboundaryratevector.hh>`
`#include <opm/models/blackoil/blackoilbrinemodules.hh>`
`#include <opm/models/blackoil/blackoildarcyfluxmodule.hh>`
`#include <opm/models/blackoil/blackoildiffusionmodule.hh>`
`#include <opm/models/blackoil/blackoildispersionmodule.hh>`
`#include <opm/models/blackoil/blackoilextbomodules.hh>`
`#include <opm/models/blackoil/blackoilextensivequantities.hh>`
`#include <opm/models/blackoil/blackoilfoammodules.hh>`
`#include <opm/models/blackoil/blackoilvariableandequationindices.hh>`
`#include <opm/models/blackoil/blackoilintensivequantities.hh>`
`#include <opm/models/blackoil/blackoillocalresidual.hh>`
`#include <opm/models/blackoil/blackoilnewtonmethod.hpp>`
`#include <opm/models/blackoil/blackoilpolymermodules.hh>`
`#include <opm/models/blackoil/blackoilprimaryvariables.hh>`
`#include <opm/models/blackoil/blackoilproblem.hh>`
`#include <opm/models/blackoil/blackoilproperties.hh>`
`#include <opm/models/blackoil/blackoilratevector.hh>`
`#include <opm/models/blackoil/blackoilsolventmodules.hh>`
`#include <opm/models/blackoil/blackoiltwophaseindices.hh>`
`#include <opm/models/common/multiphasebasemodel.hh>`
`#include <opm/models/io/vtkblackoilmodule.hpp>`
`#include <opm/models/io/vtkcompositionmodule.hpp>`
`#include <opm/models/io/vtkdiffusionmodule.hpp>`
`#include <cassert>`
`#include <istream>`
`#include <memory>`
`#include <ostream>`
`#include <sstream>`
`#include <stdexcept>`
`#include <string>`
`#include <tuple>`
`#include <vector>`

Go to the source code of this file.

## Classes

struct | Opm::Properties::TTag::BlackOilModel
| The type tag for the black-oil problems. More...
struct | Opm::Properties::LocalResidual< TypeTag, TTag::BlackOilModel >
| Set the local residual function. More...
struct | Opm::Properties::NewtonMethod< TypeTag, TTag::BlackOilModel >
| Use the black-oil specific newton method. More...
struct | Opm::Properties::Model< TypeTag, TTag::BlackOilModel >
| The Model property. More...
struct | Opm::Properties::BaseProblem< TypeTag, TTag::BlackOilModel >
| The Problem property. More...
struct | Opm::Properties::RateVector< TypeTag, TTag::BlackOilModel >
| the RateVector property More...
struct | Opm::Properties::BoundaryRateVector< TypeTag, TTag::BlackOilModel >
| the BoundaryRateVector property More...
struct | Opm::Properties::PrimaryVariables< TypeTag, TTag::BlackOilModel >
| the PrimaryVariables property More...
struct | Opm::Properties::IntensiveQuantities< TypeTag, TTag::BlackOilModel >
| the IntensiveQuantities property More...
struct | Opm::Properties::ExtensiveQuantities< TypeTag, TTag::BlackOilModel >
| the ExtensiveQuantities property More...
struct | Opm::Properties::FluxModule< TypeTag, TTag::BlackOilModel >
| Use the the velocity module which is aware of the black-oil specific model extensions (i.e., the polymer and solvent extensions). More...
struct | Opm::Properties::Indices< TypeTag, TTag::BlackOilModel >
| The indices required by the model. More...
struct | Opm::Properties::FluidSystem< TypeTag, TTag::BlackOilModel >
| Set the fluid system to the black-oil fluid system by default. More...
struct | Opm::Properties::EnableSolvent< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableExtbo< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnablePolymer< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnablePolymerMW< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableFoam< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableBrine< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableVapwat< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableDisgasInWater< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableSaltPrecipitation< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableBioeffects< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableTemperature< TypeTag, TTag::BlackOilModel >
| By default, the blackoil model is isothermal and does not conserve energy. More...
struct | Opm::Properties::EnableEnergy< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::EnableDiffusion< TypeTag, TTag::BlackOilModel >
| disable diffusion by default More...
struct | Opm::Properties::EnableDispersion< TypeTag, TTag::BlackOilModel >
| disable dispersion by default More...
struct | Opm::Properties::EnableConvectiveMixing< TypeTag, TTag::BlackOilModel >
struct | Opm::Properties::BlackOilEnergyScalingFactor< TypeTag, TTag::BlackOilModel >
| by default, scale the energy equation by the inverse of the energy required to heat up one kg of water by 30 Kelvin. More...
struct | Opm::Properties::BlackOilUreaScalingFactor< TypeTag, TTag::BlackOilModel >
| similarly to the energy equation, the urea equation in MICP is scaled by a factor of 0.1 More...
struct | Opm::Properties::BlackoilConserveSurfaceVolume< TypeTag, TTag::BlackOilModel >
class | Opm::BlackOilModel< TypeTag >
| A fully-implicit black-oil flow model. More...

## Namespaces

namespace | Opm
| This file contains a set of helper functions used by VFPProd / VFPInj.
namespace | Opm::Properties::TTag
| The generic type tag for problems using the immiscible multi-phase model.

## Detailed Description

A fully-implicit black-oil flow model.

The black-oil model is a three-phase, three-component model widely used for oil reservoir simulation. The phases are denoted by lower index ("water", "gas" and "oil") and the components by upper index ("Water", "Gas" and "Oil"). The model assumes partial miscibility:

- Water and the gas phases are immisicible and are assumed to be only composed of the water and gas components respectively-
- The oil phase is assumed to be a mixture of the gas and the oil components.

The densities of the phases are determined by so-called formation volume factors:

Since the gas and water phases are assumed to be immiscible, this is sufficient to calculate their density. For the formation volume factor of the the oil phase determines the density of saturated oil, i.e. the density of the oil phase if some gas phase is present.

The composition of the oil phase is given by the gas dissolution factor , which defined as the volume of gas at atmospheric pressure that is dissolved in a given amount of oil at reservoir pressure:

This allows to calculate all quantities required for the mass-conservation equations for each component, i.e.

where is the filter velocity of the phase .

By default is determined by using the standard multi-phase Darcy approach, i.e.

although the actual approach which is used can be specified via the `FluxModule` property. For example, the velocity model can by changed to the Forchheimer approach by

template<class TypeTag>
struct FluxModule<TypeTag, TTag::MyProblemTypeTag> { using type = Opm::ForchheimerFluxModule<TypeTag>; };
Opm::ForchheimerFluxModule
Specifies a flux module which uses the Forchheimer relation.
Definition forchheimerfluxmodule.hh:66

The primary variables used by this model are:

- The pressure of the phase with the lowest index
- The two saturations of the phases with the lowest indices