Loading...
Searching...
No Matches
BlackoilModelProperties.hpp
/*
Copyright 2013, 2015 SINTEF ICT, Applied Mathematics.
Copyright 2014, 2015 Dr. Blatt - HPC-Simulation-Software & Services
Copyright 2014, 2015 Statoil ASA.
Copyright 2015 NTNU
Copyright 2015, 2016, 2017 IRIS AS
This file is part of the Open Porous Media project (OPM).
OPM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OPM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef OPM_BLACKOILMODEL_PROPERTIES_HEADER_INCLUDED
#define OPM_BLACKOILMODEL_PROPERTIES_HEADER_INCLUDED
#include <opm/simulators/flow/FlowProblemBlackoilProperties.hpp>
#include <tuple>
namespace Opm {
template<class TypeTag> class BlackoilAquiferModel;
template<class TypeTag> class BlackoilWellModel;
}
namespace Opm::Properties {
namespace TTag {
struct FlowIstlSolver;
struct FlowBaseProblemBlackoil;
struct FlowProblem { using InheritsFrom = std::tuple<FlowBaseProblemBlackoil, BlackOilModel>; };
}
// default in flow is to formulate the equations in surface volumes
template<class TypeTag>
struct BlackoilConserveSurfaceVolume<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = true; };
template<class TypeTag>
struct UseVolumetricResidual<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct AquiferModel<TypeTag, TTag::FlowProblem>
{ using type = BlackoilAquiferModel<TypeTag>; };
// disable all extensions supported by black oil model. this should not really be
// necessary but it makes things a bit more explicit
template<class TypeTag>
struct EnablePolymer<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableSolvent<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableTemperature<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = true; };
template<class TypeTag>
struct EnableEnergy<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableFoam<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableBrine<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableSaltPrecipitation<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableBioeffects<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableDispersion<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableConvectiveMixing<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = true; };
template<class TypeTag>
struct WellModel<TypeTag, TTag::FlowProblem>
{ using type = BlackoilWellModel<TypeTag>; };
template<class TypeTag>
struct LinearSolverSplice<TypeTag, TTag::FlowProblem>
{ using type = TTag::FlowIstlSolver; };
template<class TypeTag>
struct EnableDebuggingChecks<TypeTag, TTag::FlowProblem>
{ static constexpr bool value = false; };
} // namespace Opm::Properties
#endif // OPM_BLACKOILMODEL_PROPERTIES_HEADER_INCLUDED
FlowProblemBlackoilProperties.hpp
Opm::BlackoilAquiferModel
Class for handling the blackoil aquifer model.
Definition BlackoilAquiferModel.hpp:50
Opm::BlackoilWellModel
Class for handling the blackoil well model.
Definition BlackoilWellModel.hpp:102
Opm::FlowProblem
This problem simulates an input file given in the data format used by the commercial ECLiPSE simulato...
Definition FlowProblem.hpp:94
Opm::Properties::TTag
The generic type tag for problems using the immiscible multi-phase model.
Definition blackoilmodel.hh:81
Opm
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
Opm::Properties::AquiferModel
Definition FlowBaseProblemProperties.hpp:67
Opm::Properties::BlackoilConserveSurfaceVolume
Enable surface volume scaling.
Definition blackoilproperties.hh:59
Opm::Properties::EnableBioeffects
Enable the ECL-blackoil extension for bioeffects (biofilm/MICP).
Definition blackoilproperties.hh:83
Opm::Properties::EnableBrine
Enable the ECL-blackoil extension for salt.
Definition blackoilproperties.hh:67
Opm::Properties::EnableConvectiveMixing
Enable convective mixing?
Definition multiphasebaseproperties.hh:99
Opm::Properties::EnableDebuggingChecks
Definition FlowBaseProblemProperties.hpp:78
Opm::Properties::EnableDispersion
Enable dispersive fluxes?
Definition multiphasebaseproperties.hh:95
Opm::Properties::EnableEnergy
Specify whether energy should be considered as a conservation quantity or not.
Definition multiphasebaseproperties.hh:87
Opm::Properties::EnableFoam
Enable the ECL-blackoil extension for foam.
Definition blackoilproperties.hh:63
Opm::Properties::EnablePolymer
Enable the ECL-blackoil extension for polymer.
Definition blackoilproperties.hh:51
Opm::Properties::EnableSaltPrecipitation
Enable the ECL-blackoil extension for salt precipitation.
Definition blackoilproperties.hh:71
Opm::Properties::EnableSolvent
Enable the ECL-blackoil extension for solvents. ("Second gas").
Definition blackoilproperties.hh:43
Opm::Properties::EnableTemperature
Allow the spatial and temporal domains to exhibit non-constant temperature in the black-oil model.
Definition blackoilproperties.hh:88
Opm::Properties::LinearSolverSplice
Definition fvbaseproperties.hh:53
Opm::Properties::TTag::FlowBaseProblemBlackoil
Definition FlowProblemBlackoilProperties.hpp:54
Opm::Properties::TTag::FlowIstlSolver
Definition ISTLSolver.hpp:68
Opm::Properties::TTag::FlowProblem
Definition BlackoilModelProperties.hpp:41
Opm::Properties::UseVolumetricResidual
Specify whether to use volumetric residuals or not.
Definition fvbaseproperties.hh:237
Opm::Properties::WellModel
Definition FlowBaseProblemProperties.hpp:97