Opm::BlackOilPrimaryVariables< TypeTag > Class Template Reference Represents the primary variables used by the black-oil model. More...
Inheritance diagram for Opm::BlackOilPrimaryVariables< TypeTag >:
Detailed Descriptiontemplate<class TypeTag> class Opm::BlackOilPrimaryVariables< TypeTag > Represents the primary variables used by the black-oil model. Member Enumeration Documentation◆ BrineMeaning
template<class TypeTag >
◆ GasMeaning
template<class TypeTag >
◆ PressureMeaning
template<class TypeTag >
◆ SolventMeaning
template<class TypeTag >
◆ WaterMeaning
template<class TypeTag >
Constructor & Destructor Documentation◆ BlackOilPrimaryVariables() [1/3]
template<class TypeTag >
◆ BlackOilPrimaryVariables() [2/3]
template<class TypeTag >
Constructor with assignment from scalar.
◆ BlackOilPrimaryVariables() [3/3]
template<class TypeTag >
Copy constructor.
Member Function Documentation◆ adaptPrimaryVariables()
template<class TypeTag >
Adapt the interpretation of the switching variables to be physically meaningful. If the meaning of the primary variables changes, their values are also adapted in a meaningful manner. A Scalar eps can be passed to make the switching condition more strict. Useful for avoiding ocsilation in the primaryVarsMeaning.
References Opm::BlackOilPrimaryVariables< TypeTag >::Cs, Opm::BlackOilPrimaryVariables< TypeTag >::Disabled, Opm::BlackOilBrineModule< TypeTag, enableBrineV >::hasPcfactTables(), Opm::BlackOilSolventModule< TypeTag, enableSolventV >::isSolubleInWater(), Opm::BlackOilBrineModule< TypeTag, enableBrineV >::pcfactTable(), Opm::BlackOilPrimaryVariables< TypeTag >::Pg, Opm::BlackOilPrimaryVariables< TypeTag >::Po, Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningBrine(), Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningGas(), Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningPressure(), Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningSolvent(), Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningWater(), Opm::BlackOilPrimaryVariables< TypeTag >::pvtRegionIndex(), Opm::BlackOilPrimaryVariables< TypeTag >::Pw, Opm::BlackOilExtboModule< TypeTag, enableExtboV >::rs(), Opm::BlackOilPrimaryVariables< TypeTag >::Rs, Opm::BlackOilPrimaryVariables< TypeTag >::Rsolw, Opm::BlackOilPrimaryVariables< TypeTag >::Rsw, Opm::BlackOilExtboModule< TypeTag, enableExtboV >::rv(), Opm::BlackOilPrimaryVariables< TypeTag >::Rv, Opm::BlackOilPrimaryVariables< TypeTag >::Rvw, Opm::BlackOilBrineModule< TypeTag, enableBrineV >::saltSol(), Opm::BlackOilPrimaryVariables< TypeTag >::setPrimaryVarsMeaningBrine(), Opm::BlackOilPrimaryVariables< TypeTag >::setPrimaryVarsMeaningGas(), Opm::BlackOilPrimaryVariables< TypeTag >::setPrimaryVarsMeaningPressure(), Opm::BlackOilPrimaryVariables< TypeTag >::setPrimaryVarsMeaningSolvent(), Opm::BlackOilPrimaryVariables< TypeTag >::setPrimaryVarsMeaningWater(), Opm::BlackOilPrimaryVariables< TypeTag >::Sg, Opm::BlackOilSolventModule< TypeTag, enableSolventV >::solubilityLimit(), Opm::BlackOilPrimaryVariables< TypeTag >::Sp, Opm::BlackOilPrimaryVariables< TypeTag >::Ss, and Opm::BlackOilPrimaryVariables< TypeTag >::Sw. ◆ assignMassConservative()
template<class TypeTag >
template<class FluidState >
Set the primary variables from an arbitrary fluid state in a mass conservative way. If an energy equation is included, the fluid temperatures are the same as the one given in the fluid state, not the enthalpy.
References Opm::BlackOilPrimaryVariables< TypeTag >::assignNaive(). ◆ assignNaive()
template<class TypeTag >
template<class FluidState >
Directly retrieve the primary variables from an arbitrary fluid state. This method retrieves all primary variables from an abitrary fluid state without careing whether the state which is represented by the resulting primary variables features the equivalent mass as the given fluid state. This method is massively cheaper and simpler than assignMassConservative() but it should be used with care!
References Opm::BlackOilEnergyModule< TypeTag, enableEnergyV >::assignPrimaryVars(), Opm::BlackOilPrimaryVariables< TypeTag >::Cs, Opm::BlackOilPrimaryVariables< TypeTag >::Disabled, Opm::BlackOilPrimaryVariables< TypeTag >::Pg, Opm::BlackOilPrimaryVariables< TypeTag >::Po, Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningGas(), Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningPressure(), Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningWater(), Opm::BlackOilPrimaryVariables< TypeTag >::Pw, Opm::BlackOilPrimaryVariables< TypeTag >::Rs, Opm::BlackOilPrimaryVariables< TypeTag >::Rsw, Opm::BlackOilPrimaryVariables< TypeTag >::Rv, Opm::BlackOilPrimaryVariables< TypeTag >::Rvw, Opm::BlackOilPrimaryVariables< TypeTag >::Sg, Opm::BlackOilPrimaryVariables< TypeTag >::Sp, and Opm::BlackOilPrimaryVariables< TypeTag >::Sw. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::assignMassConservative(). ◆ checkDefined()
template<class TypeTag >
Instruct valgrind to check the definedness of all attributes of this class. We cannot simply check the definedness of the whole object because there might be "alignedness holes" in the memory layout which are caused by the pseudo primary variables. ◆ chopAndNormalizeSaturations()
template<class TypeTag >
References Opm::BlackOilPrimaryVariables< TypeTag >::Disabled, Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningGas(), Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningSolvent(), Opm::BlackOilPrimaryVariables< TypeTag >::primaryVarsMeaningWater(), Opm::BlackOilPrimaryVariables< TypeTag >::Sg, Opm::BlackOilPrimaryVariables< TypeTag >::Ss, and Opm::BlackOilPrimaryVariables< TypeTag >::Sw. ◆ init()
template<class TypeTag >
◆ makeEvaluation()
template<class TypeTag >
◆ operator=() [1/2]
template<class TypeTag >
◆ operator=() [2/2]
template<class TypeTag >
◆ operator==()
template<class TypeTag >
◆ primaryVarsMeaningBrine()
template<class TypeTag >
◆ primaryVarsMeaningGas()
template<class TypeTag >
Return the interpretation which should be applied to the switching primary variables. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(), Opm::BlackOilPrimaryVariables< TypeTag >::assignNaive(), and Opm::BlackOilPrimaryVariables< TypeTag >::chopAndNormalizeSaturations(). ◆ primaryVarsMeaningPressure()
template<class TypeTag >
Return the interpretation which should be applied to the switching primary variables. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(), and Opm::BlackOilPrimaryVariables< TypeTag >::assignNaive(). ◆ primaryVarsMeaningSolvent()
template<class TypeTag >
◆ primaryVarsMeaningWater()
template<class TypeTag >
Return the interpretation which should be applied to the switching primary variables. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(), Opm::BlackOilPrimaryVariables< TypeTag >::assignNaive(), and Opm::BlackOilPrimaryVariables< TypeTag >::chopAndNormalizeSaturations(). ◆ pvtRegionIndex()
template<class TypeTag >
Return the index of the region which should be used for PVT properties. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(). ◆ registerParameters()
template<class TypeTag >
◆ serializationTestObject()
template<class TypeTag >
◆ serializeOp()
template<class TypeTag >
template<class Serializer >
◆ setPressureScale()
template<class TypeTag >
◆ setPrimaryVarsMeaningBrine()
template<class TypeTag >
Set the interpretation which should be applied to the switching primary variables. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(). ◆ setPrimaryVarsMeaningGas()
template<class TypeTag >
Set the interpretation which should be applied to the switching primary variables. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(). ◆ setPrimaryVarsMeaningPressure()
template<class TypeTag >
Set the interpretation which should be applied to the switching primary variables. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(). ◆ setPrimaryVarsMeaningSolvent()
template<class TypeTag >
Set the interpretation which should be applied to the switching primary variables. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(). ◆ setPrimaryVarsMeaningWater()
template<class TypeTag >
Set the interpretation which should be applied to the switching primary variables. Referenced by Opm::BlackOilPrimaryVariables< TypeTag >::adaptPrimaryVariables(). ◆ setPvtRegionIndex()
template<class TypeTag >
Set the index of the region which should be used for PVT properties. PVT regions represent spatial variation of the composition decribed by the pseudo-components used by the black oil model (i.e., oil, gas and water). This introduce spatially varying pvt behaviour. The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||