A class which handles sequential implicit solution of the energy equation as specified in by TEMP.
More...
#include <TemperatureModel.hpp>
template<class TypeTag, bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
class Opm::TemperatureModel< TypeTag, enableTempV > A class which handles sequential implicit solution of the energy equation as specified in by TEMP.
◆ CartesianIndexMapper
| using Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::CartesianIndexMapper = Dune::CartesianIndexMapper<GetPropType< TypeTag, Properties::Grid > > |
|
inherited |
◆ TemperatureModel()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
◆ advanceTemperatureFields()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
◆ assembleEquations()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
References Opm::TemperatureModel< TypeTag, enableTempV >::assembleEquationWell(), Opm::TemperatureModel< TypeTag, enableTempV >::computeFluxTerm(), Opm::TemperatureModel< TypeTag, enableTempV >::computeHeatFluxTerm(), Opm::TemperatureModel< TypeTag, enableTempV >::computeStorageTerm(), Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energyMatrix_, Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energyVector_, Opm::TemperatureModel< TypeTag, enableTempV >::overlapRows_, Opm::TemperatureModel< TypeTag, enableTempV >::simulator_, and Opm::TemperatureModel< TypeTag, enableTempV >::storage1_.
Referenced by Opm::TemperatureModel< TypeTag, enableTempV >::advanceTemperatureFields().
◆ assembleEquationWell()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
template<class Well >
References Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energy_rates_, Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energyMatrix_, Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energyVector_, Opm::TemperatureModel< TypeTag, enableTempV >::intQuants_, and Opm::TemperatureModel< TypeTag, enableTempV >::simulator_.
Referenced by Opm::TemperatureModel< TypeTag, enableTempV >::assembleEquations().
◆ beginTimeStep()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
References Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::doTemp(), Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energy_rates_, Opm::TemperatureModel< TypeTag, enableTempV >::intQuants_, Opm::TemperatureModel< TypeTag, enableTempV >::simulator_, and Opm::TemperatureModel< TypeTag, enableTempV >::updateStorageCache().
◆ computeFluxTerm()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
template<class ResidualNBInfo >
| void Opm::TemperatureModel< TypeTag, enableTempV >::computeFluxTerm |
( |
unsigned |
globI, |
|
|
unsigned |
globJ, |
|
|
const ResidualNBInfo & |
res_nbinfo, |
|
|
Evaluation & |
flux |
|
) |
| |
|
inlineprotected |
◆ computeHeatFluxTerm()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
template<class ResidualNBInfo >
| void Opm::TemperatureModel< TypeTag, enableTempV >::computeHeatFluxTerm |
( |
unsigned |
globI, |
|
|
unsigned |
globJ, |
|
|
const ResidualNBInfo & |
res_nbinfo, |
|
|
Evaluation & |
heatFlux |
|
) |
| |
|
inlineprotected |
◆ computeStorageTerm()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
template<class LhsEval >
| void Opm::TemperatureModel< TypeTag, enableTempV >::computeStorageTerm |
( |
unsigned |
globI, |
|
|
LhsEval & |
storage |
|
) |
| |
|
inlineprotected |
◆ converged()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
References Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energyVector_, and Opm::TemperatureModel< TypeTag, enableTempV >::simulator_.
Referenced by Opm::TemperatureModel< TypeTag, enableTempV >::advanceTemperatureFields(), and Opm::TemperatureModel< TypeTag, enableTempV >::solveAndUpdate().
◆ deserialize()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
template<class Restarter >
This method restores the complete state of the temperature from disk.
It is the inverse of the serialize() method.
◆ doInit()
| void Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::doInit |
( |
std::size_t |
numGridDof | ) |
|
|
protectedinherited |
Initialize all internal data structures needed by the temperature module.
◆ doTemp()
| bool Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::doTemp |
( |
| ) |
|
|
inlineinherited |
◆ endTimeStep()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
Informs the temperature model that a time step has just been finished.
References Opm::TemperatureModel< TypeTag, enableTempV >::advanceTemperatureFields(), Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::doTemp(), Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energy_rates_, Opm::TemperatureModel< TypeTag, enableTempV >::intQuants_, Opm::WellState< Scalar, IndexTraits >::numWells(), Opm::TemperatureModel< TypeTag, enableTempV >::simulator_, and Opm::WellState< Scalar, IndexTraits >::well().
◆ init()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
References Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::doInit(), Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::doTemp(), Opm::detail::findOverlapAndInterior(), Opm::TemperatureModel< TypeTag, enableTempV >::interiorRows_, Opm::TemperatureModel< TypeTag, enableTempV >::intQuants_, Opm::TemperatureModel< TypeTag, enableTempV >::overlapRows_, Opm::TemperatureModel< TypeTag, enableTempV >::simulator_, Opm::TemperatureModel< TypeTag, enableTempV >::storage1_, and Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::temperature_.
◆ linearSolve_()
| bool Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::linearSolve_ |
( |
const EnergyMatrix & |
M, |
|
|
EnergyVector & |
x, |
|
|
EnergyVector & |
b |
|
) |
| |
|
protectedinherited |
◆ serialize()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
template<class Restarter >
This method writes the complete state of all temperature to the hard disk.
◆ solveAndUpdate()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
References Opm::TemperatureModel< TypeTag, enableTempV >::converged(), Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energyMatrix_, Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::energyVector_, Opm::TemperatureModel< TypeTag, enableTempV >::intQuants_, Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::linearSolve_(), Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::maxTempChange_, Opm::TemperatureModel< TypeTag, enableTempV >::simulator_, and Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::temperature_.
Referenced by Opm::TemperatureModel< TypeTag, enableTempV >::advanceTemperatureFields().
◆ temperature()
| const GetPropType< TypeTag, Properties::Scalar > Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::temperature |
( |
size_t |
globalIdx | ) |
const |
|
inlineinherited |
◆ updateStorageCache()
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
◆ cartMapper_
| const CartesianIndexMapper& Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::cartMapper_ |
|
protectedinherited |
◆ dimWorld
| constexpr int Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::dimWorld |
|
staticconstexprinherited |
◆ dofMapper_
| const GetPropType< TypeTag, Properties::DofMapper > & Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::dofMapper_ |
|
protectedinherited |
◆ doTemp_
| bool Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::doTemp_ |
|
protectedinherited |
◆ eclState_
| const EclipseState& Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::eclState_ |
|
protectedinherited |
◆ energy_rates_
| std::vector<GetPropType< TypeTag, Properties::Scalar > > Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::energy_rates_ |
|
protectedinherited |
◆ energyMatrix_
| std::unique_ptr<EnergyMatrix> Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::energyMatrix_ |
|
protectedinherited |
◆ energyVector_
| EnergyVector Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::energyVector_ |
|
protectedinherited |
◆ gridView_
| const GetPropType< TypeTag, Properties::GridView > & Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::gridView_ |
|
protectedinherited |
◆ interiorRows_
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
◆ intQuants_
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
Referenced by Opm::TemperatureModel< TypeTag, enableTempV >::assembleEquationWell(), Opm::TemperatureModel< TypeTag, enableTempV >::beginTimeStep(), Opm::TemperatureModel< TypeTag, enableTempV >::computeFluxTerm(), Opm::TemperatureModel< TypeTag, enableTempV >::computeHeatFluxTerm(), Opm::TemperatureModel< TypeTag, enableTempV >::computeStorageTerm(), Opm::TemperatureModel< TypeTag, enableTempV >::endTimeStep(), Opm::TemperatureModel< TypeTag, enableTempV >::init(), and Opm::TemperatureModel< TypeTag, enableTempV >::solveAndUpdate().
◆ maxTempChange_
| GetPropType< TypeTag, Properties::Scalar > Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::maxTempChange_ |
|
protectedinherited |
◆ overlapRows_
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
◆ simulator_
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
Referenced by Opm::TemperatureModel< TypeTag, enableTempV >::assembleEquations(), Opm::TemperatureModel< TypeTag, enableTempV >::assembleEquationWell(), Opm::TemperatureModel< TypeTag, enableTempV >::beginTimeStep(), Opm::TemperatureModel< TypeTag, enableTempV >::computeFluxTerm(), Opm::TemperatureModel< TypeTag, enableTempV >::computeHeatFluxTerm(), Opm::TemperatureModel< TypeTag, enableTempV >::converged(), Opm::TemperatureModel< TypeTag, enableTempV >::endTimeStep(), Opm::TemperatureModel< TypeTag, enableTempV >::init(), Opm::TemperatureModel< TypeTag, enableTempV >::solveAndUpdate(), and Opm::TemperatureModel< TypeTag, enableTempV >::updateStorageCache().
◆ storage1_
template<class TypeTag , bool enableTempV = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::SequentialImplicitThermal>
◆ temperature_
| std::vector<GetPropType< TypeTag, Properties::Scalar > > Opm::GenericTemperatureModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::temperature_ |
|
protectedinherited |
The documentation for this class was generated from the following file:
|