Use new linearizer for blackoil + thermal

This commit is contained in:
Tor Harald Sandve 2025-01-07 09:34:26 +01:00
parent 09d7e8d8c5
commit 2095dd7df3

View File

@ -22,6 +22,8 @@
#include <opm/grid/CpGrid.hpp>
#include <opm/simulators/flow/SimulatorFullyImplicitBlackoil.hpp>
#include <opm/simulators/flow/Main.hpp>
#include <opm/models/blackoil/blackoillocalresidualtpfa.hh>
#include <opm/models/discretization/common/tpfalinearizer.hh>
namespace Opm {
namespace Properties {
@ -35,6 +37,12 @@ template<class TypeTag>
struct EnableEnergy<TypeTag, TTag::FlowEnergyProblem> {
static constexpr bool value = true;
};
template<class TypeTag>
struct Linearizer<TypeTag, TTag::FlowEnergyProblem> { using type = TpfaLinearizer<TypeTag>; };
template<class TypeTag>
struct LocalResidual<TypeTag, TTag::FlowEnergyProblem> { using type = BlackOilLocalResidualTPFA<TypeTag>; };
}}
namespace Opm {