mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3318 from akva2/eclwellmodel_no_default
changed: do not set the ebos well model as default type
This commit is contained in:
commit
fcc4970337
@ -28,6 +28,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "eclproblem.hh"
|
#include "eclproblem.hh"
|
||||||
|
#include "eclwellmanager.hh"
|
||||||
|
|
||||||
#include <opm/models/utils/start.hh>
|
#include <opm/models/utils/start.hh>
|
||||||
|
|
||||||
@ -39,6 +40,11 @@ struct EbosPlainTypeTag {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<class TypeTag>
|
||||||
|
struct EclWellModel<TypeTag, TTag::EbosPlainTypeTag> {
|
||||||
|
using type = EclWellManager<TypeTag>;
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace Opm::Properties
|
} // namespace Opm::Properties
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
@ -53,7 +53,6 @@
|
|||||||
#include "eclcpgridvanguard.hh"
|
#include "eclcpgridvanguard.hh"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "eclwellmanager.hh"
|
|
||||||
#include "eclequilinitializer.hh"
|
#include "eclequilinitializer.hh"
|
||||||
#include "eclwriter.hh"
|
#include "eclwriter.hh"
|
||||||
#include "ecloutputblackoilmodule.hh"
|
#include "ecloutputblackoilmodule.hh"
|
||||||
@ -297,12 +296,6 @@ struct EclAquiferModel<TypeTag, TTag::EclBaseProblem> {
|
|||||||
using type = EclBaseAquiferModel<TypeTag>;
|
using type = EclBaseAquiferModel<TypeTag>;
|
||||||
};
|
};
|
||||||
|
|
||||||
// use the built-in proof of concept well model by default
|
|
||||||
template<class TypeTag>
|
|
||||||
struct EclWellModel<TypeTag, TTag::EclBaseProblem> {
|
|
||||||
using type = EclWellManager<TypeTag>;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Enable aquifers by default in experimental mode
|
// Enable aquifers by default in experimental mode
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct EclEnableAquifers<TypeTag, TTag::EclBaseProblem> {
|
struct EclEnableAquifers<TypeTag, TTag::EclBaseProblem> {
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include <opm/parser/eclipse/EclipseState/Schedule/ScheduleTypes.hpp>
|
#include <opm/parser/eclipse/EclipseState/Schedule/ScheduleTypes.hpp>
|
||||||
#include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp>
|
#include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp>
|
||||||
|
#include <opm/simulators/wells/GroupState.hpp>
|
||||||
#include <opm/simulators/wells/TargetCalculator.hpp>
|
#include <opm/simulators/wells/TargetCalculator.hpp>
|
||||||
|
|
||||||
namespace Opm
|
namespace Opm
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <ebos/equil/equilibrationhelpers.hh>
|
#include <ebos/equil/equilibrationhelpers.hh>
|
||||||
#include <ebos/eclproblem.hh>
|
#include <ebos/eclproblem.hh>
|
||||||
|
#include <ebos/eclwellmanager.hh>
|
||||||
#include <opm/models/utils/start.hh>
|
#include <opm/models/utils/start.hh>
|
||||||
|
|
||||||
#include <opm/grid/UnstructuredGrid.h>
|
#include <opm/grid/UnstructuredGrid.h>
|
||||||
@ -67,19 +68,27 @@
|
|||||||
|
|
||||||
namespace Opm::Properties {
|
namespace Opm::Properties {
|
||||||
namespace TTag {
|
namespace TTag {
|
||||||
|
|
||||||
struct TestEclOutputTypeTag {
|
struct TestEclOutputTypeTag {
|
||||||
using InheritsFrom = std::tuple<EclBaseProblem, BlackOilModel>;
|
using InheritsFrom = std::tuple<EclBaseProblem, BlackOilModel>;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct EnableGravity<TypeTag, TTag::TestEclOutputTypeTag> {
|
struct EnableGravity<TypeTag, TTag::TestEclOutputTypeTag> {
|
||||||
static constexpr bool value = false;
|
static constexpr bool value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct EnableAsyncEclOutput<TypeTag, TTag::TestEclOutputTypeTag> {
|
struct EnableAsyncEclOutput<TypeTag, TTag::TestEclOutputTypeTag> {
|
||||||
static constexpr bool value = false;
|
static constexpr bool value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<class TypeTag>
|
||||||
|
struct EclWellModel<TypeTag, TTag::TestEclOutputTypeTag> {
|
||||||
|
using type = EclWellManager<TypeTag>;
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace Opm::Properties
|
} // namespace Opm::Properties
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <ebos/equil/equilibrationhelpers.hh>
|
#include <ebos/equil/equilibrationhelpers.hh>
|
||||||
#include <ebos/eclproblem.hh>
|
#include <ebos/eclproblem.hh>
|
||||||
|
#include <ebos/eclwellmanager.hh>
|
||||||
#include <opm/models/utils/start.hh>
|
#include <opm/models/utils/start.hh>
|
||||||
|
|
||||||
#include <opm/grid/UnstructuredGrid.h>
|
#include <opm/grid/UnstructuredGrid.h>
|
||||||
@ -64,10 +65,17 @@
|
|||||||
|
|
||||||
namespace Opm::Properties {
|
namespace Opm::Properties {
|
||||||
namespace TTag {
|
namespace TTag {
|
||||||
|
|
||||||
struct TestEquilTypeTag {
|
struct TestEquilTypeTag {
|
||||||
using InheritsFrom = std::tuple<EclBaseProblem, BlackOilModel>;
|
using InheritsFrom = std::tuple<EclBaseProblem, BlackOilModel>;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<class TypeTag>
|
||||||
|
struct EclWellModel<TypeTag, TTag::TestEquilTypeTag> {
|
||||||
|
using type = EclWellManager<TypeTag>;
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace Opm::Properties
|
} // namespace Opm::Properties
|
||||||
|
|
||||||
template <class TypeTag>
|
template <class TypeTag>
|
||||||
|
Loading…
Reference in New Issue
Block a user