3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
porousmediumflow/co2/model.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3/*****************************************************************************
4 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
25#ifndef DUMUX_TWOP_TWOC_CO2_MODEL_HH
26#define DUMUX_TWOP_TWOC_CO2_MODEL_HH
27
30#include "volumevariables.hh"
31
51namespace Dumux {
52namespace Properties {
53
54// Create new type tags
55namespace TTag {
56struct TwoPTwoCCO2 { using InheritsFrom = std::tuple<TwoPTwoC>; };
57struct TwoPTwoCCO2NI { using InheritsFrom = std::tuple<TwoPTwoCNI>; };
58} // end namespace TTag
59
61template<class TypeTag>
62struct VolumeVariables<TypeTag, TTag::TwoPTwoCCO2>
63{
64private:
73 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
74 // class used for scv-wise reconstruction of nonwetting phase saturations
77
80 template<class BaseTraits, class DT, class EDM>
81 struct NCTraits : public BaseTraits
82 {
83 using DiffusionType = DT;
84 using EffectiveDiffusivityModel = EDM;
85 };
86
87public:
89};
90
91template<class TypeTag>
92struct VolumeVariables<TypeTag, TTag::TwoPTwoCCO2NI>
93{
94private:
103 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
104 // class used for scv-wise reconstruction of nonwetting phase saturations
107
111 template<class BaseTraits, class DT, class EDM, class ETCM>
112 struct NCNITraits : public BaseTraits
113 {
114 using DiffusionType = DT;
115 using EffectiveDiffusivityModel = EDM;
116 using EffectiveThermalConductivityModel = ETCM;
117 };
118
119public:
121};
122
123} // end namespace Properties
124} // end namespace Dumux
125
126#endif
Definition: adapt.hh:29
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:150
The secondary variables within a sub-control volume.
Definition: common/properties.hh:107
The employed model for the computation of the effective diffusivity.
Definition: common/properties.hh:170
Traits class for the two-phase model.
Definition: porousmediumflow/2p/model.hh:112
Class that computes the nonwetting saturation in an scv from the saturation at the global degree of f...
Definition: saturationreconstruction.hh:43
Definition: porousmediumflow/co2/model.hh:56
std::tuple< TwoPTwoC > InheritsFrom
Definition: porousmediumflow/co2/model.hh:56
Definition: porousmediumflow/co2/model.hh:57
std::tuple< TwoPTwoCNI > InheritsFrom
Definition: porousmediumflow/co2/model.hh:57
Contains the quantities which are are constant within a finite volume in the CO2 model.
Definition: porousmediumflow/co2/volumevariables.hh:51
Declares all properties used in Dumux.
Properties for a two-phase, two-component model for flow in porous media.