mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixing AquiferModel in AlugridModel
This commit is contained in:
parent
c4c4c7ac88
commit
3832fd5eb7
@ -108,15 +108,6 @@ public:
|
|||||||
unsigned) const
|
unsigned) const
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Add the water which enters or leaves the reservoir due to aquifiers.
|
|
||||||
*/
|
|
||||||
template <class Context>
|
|
||||||
void addToSource(RateVector&,
|
|
||||||
const Context&,
|
|
||||||
unsigned) const
|
|
||||||
{ }
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief This method is called after each Newton-Raphson successful iteration.
|
* \brief This method is called after each Newton-Raphson successful iteration.
|
||||||
*
|
*
|
||||||
|
@ -19,26 +19,19 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <opm/simulators/flow/Main.hpp>
|
#include <opm/simulators/flow/Main.hpp>
|
||||||
|
|
||||||
namespace Opm::Properties {
|
namespace Opm {
|
||||||
namespace TTag {
|
namespace Properties {
|
||||||
struct EclFlowProblemAlugrid {
|
namespace TTag {
|
||||||
using InheritsFrom = std::tuple<EclFlowProblem>;
|
struct EclFlowProblemAlugrid {
|
||||||
};
|
using InheritsFrom = std::tuple<EclFlowProblem>;
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// by default use the dummy aquifer "model"
|
|
||||||
template<class TypeTag>
|
|
||||||
struct EclAquiferModel<TypeTag, TTag::EclFlowProblemAlugrid> {
|
|
||||||
using type = Opm::EclBaseAquiferModel<TypeTag>;
|
|
||||||
};
|
};
|
||||||
// Enable aquifers by default in experimental mode
|
}
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct EclEnableAquifers<TypeTag, TTag::EclFlowProblemAlugrid> {
|
struct EclEnableAquifers<TypeTag, TTag::EclFlowProblemAlugrid> {
|
||||||
static constexpr bool value = false;
|
static constexpr bool value = false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
using TypeTag = Opm::Properties::TTag::EclFlowProblemAlugrid;
|
using TypeTag = Opm::Properties::TTag::EclFlowProblemAlugrid;
|
||||||
|
Loading…
Reference in New Issue
Block a user