test_wellmodel: disable convective mixing

This commit is contained in:
Arne Morten Kvarving committed 2026-06-03 09:52:34 +02:00
1 parent 6e6d527942
commit a088d9e261
1 file changed
+19 -2
+19 -2
View File
@@ -65,9 +65,26 @@
#include <memory>
#include <stdexcept>
#include <tuple>
#include <vector>
using StandardWell = Opm::StandardWell<Opm::Properties::TTag::FlowProblem>;
namespace Opm::Properties {
namespace TTag {
struct WellModelTestTypeTag
{ using InheritsFrom = std::tuple<FlowProblem>; };
}
// Disable convective mixing
template<class TypeTag>
struct EnableConvectiveMixing<TypeTag, TTag::WellModelTestTypeTag>
{ static constexpr bool value = false; };
}
using StandardWell = Opm::StandardWell<Opm::Properties::TTag::WellModelTestTypeTag>;
struct SetupTest {
@@ -113,7 +130,7 @@ struct GlobalFixture {
Dune::MPIHelper::instance(argcDummy, argvDummy);
#endif
Opm::FlowMain<Opm::Properties::TTag::FlowProblem>::setupParameters_(argcDummy, argvDummy, Dune::MPIHelper::getCommunication());
Opm::FlowMain<Opm::Properties::TTag::WellModelTestTypeTag>::setupParameters_(argcDummy, argvDummy, Dune::MPIHelper::getCommunication());
}
};