Opm::BlackOilModel< TypeTag > Class Template Reference A fully-implicit black-oil flow model. More...
Inheritance diagram for Opm::BlackOilModel< TypeTag >:
Detailed Descriptiontemplate<class TypeTag> class Opm::BlackOilModel< TypeTag > 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:
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 template<class TypeTag>
struct FluxModule<TypeTag, TTag::MyProblemTypeTag> { using type = Opm::ForchheimerFluxModule<TypeTag>; };
Specifies a flux module which uses the Forchheimer relation. Definition: forchheimerfluxmodule.hh:62 The primary variables used by this model are:
Member Typedef Documentation◆ FluidSystem
template<class TypeTag >
◆ Indices
template<class TypeTag >
◆ LocalResidual
template<class TypeTag >
◆ PrimaryVariables
template<class TypeTag >
Constructor & Destructor Documentation◆ BlackOilModel()
template<class TypeTag >
Member Function Documentation◆ deserialize()
template<class TypeTag >
template<class Restarter >
Deserializes the state of the model.
◆ deserializeEntity()
template<class TypeTag >
template<class DofEntity >
Reads the current solution variables for a degree of freedom from a restart file.
References Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::deserializeEntity(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::deserializeEntity(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::deserializeEntity(), and Opm::BlackOilSolventModule< TypeTag, enableSolventV >::deserializeEntity(). ◆ eqName()
template<class TypeTag >
Given an equation index, return a human readable name.
References Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::eqApplies(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::eqApplies(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::eqApplies(), Opm::BlackOilSolventModule< TypeTag, enableSolventV >::eqApplies(), Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::eqName(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::eqName(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::eqName(), and Opm::BlackOilSolventModule< TypeTag, enableSolventV >::eqName(). ◆ eqWeight()
template<class TypeTag >
Returns the relative weight of an equation.
◆ globalPhaseStorage()
template<class TypeTag >
Compute the total storage inside one phase of all conservation quantities.
References Opm::ThreadedEntityIterator< GridView, codim >::beginParallel(), Opm::ThreadedEntityIterator< GridView, codim >::increment(), Opm::ThreadedEntityIterator< GridView, codim >::isFinished(), and Opm::ThreadManager< TypeTag >::threadId(). ◆ name()
template<class TypeTag >
◆ phaseIsConsidered()
template<class TypeTag >
Returns true iff a fluid phase is used by the model.
◆ primaryVarName()
template<class TypeTag >
Given an primary variable index, return a human readable name.
References Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::primaryVarApplies(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::primaryVarApplies(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::primaryVarApplies(), Opm::BlackOilSolventModule< TypeTag, enableSolventV >::primaryVarApplies(), Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::primaryVarName(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::primaryVarName(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::primaryVarName(), and Opm::BlackOilSolventModule< TypeTag, enableSolventV >::primaryVarName(). ◆ primaryVarWeight()
template<class TypeTag >
Returns the relative weight of a primary variable for calculating relative errors.
References Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::primaryVarApplies(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::primaryVarApplies(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::primaryVarApplies(), Opm::BlackOilSolventModule< TypeTag, enableSolventV >::primaryVarApplies(), Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::primaryVarWeight(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::primaryVarWeight(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::primaryVarWeight(), and Opm::BlackOilSolventModule< TypeTag, enableSolventV >::primaryVarWeight(). ◆ registerOutputModules_()
template<class TypeTag >
References Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::registerOutputModules(), Opm::BlackOilMICPModule< TypeTag, enableMICPV >::registerOutputModules(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::registerOutputModules(), Opm::BlackOilSolventModule< TypeTag, enableSolventV >::registerOutputModules(), and Opm::MultiPhaseBaseModel< TypeTag >::registerOutputModules_(). ◆ registerParameters()
template<class TypeTag >
Register all run-time parameters for the immiscible model. References Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::registerParameters(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::registerParameters(), Opm::BlackOilMICPModule< TypeTag, enableMICPV >::registerParameters(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::registerParameters(), Opm::BlackOilSolventModule< TypeTag, enableSolventV >::registerParameters(), Opm::MultiPhaseBaseModel< TypeTag >::registerParameters(), Opm::VtkBlackOilModule< TypeTag >::registerParameters(), Opm::VtkCompositionModule< TypeTag >::registerParameters(), and Opm::VtkDiffusionModule< TypeTag >::registerParameters(). ◆ serializeEntity()
template<class TypeTag >
template<class DofEntity >
Write the current solution for a degree of freedom to a restart file.
References Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::serializeEntity(), Opm::BlackOilExtboModule< TypeTag, enableExtboV >::serializeEntity(), Opm::BlackOilPolymerModule< TypeTag, enablePolymerV >::serializeEntity(), and Opm::BlackOilSolventModule< TypeTag, enableSolventV >::serializeEntity(). ◆ setEqWeight()
template<class TypeTag >
◆ supplementInitialSolution_()
template<class TypeTag >
template<class Context >
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||