3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
porousmediumflow/2pncmin/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 *****************************************************************************/
87#ifndef DUMUX_2PNCMIN_MODEL_HH
88#define DUMUX_2PNCMIN_MODEL_HH
89
92
94
99
103
104namespace Dumux {
105namespace Properties {
107// Type tags
109// Create new type tags
110namespace TTag {
111struct TwoPNCMin { using InheritsFrom = std::tuple<TwoPNC>; };
112struct TwoPNCMinNI { using InheritsFrom = std::tuple<TwoPNCMin>; };
113} // end namespace TTag
114
116// Property tags for the isothermal 2pncmin model
118
119// use the mineralization local residual
120template<class TypeTag>
121struct LocalResidual<TypeTag, TTag::TwoPNCMin> { using type = MineralizationLocalResidual<TypeTag>; };
122
124template<class TypeTag>
125struct VolumeVariables<TypeTag, TTag::TwoPNCMin>
126{
127private:
136 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
137 // class used for scv-wise reconstruction of nonwetting phase saturations
140
143
144 template<class BaseTraits, class DT, class EDM>
145 struct NCTraits : public BaseTraits
146 {
147 using DiffusionType = DT;
148 using EffectiveDiffusivityModel = EDM;
149 };
150
152public:
154};
155
157template<class TypeTag>
158struct IOFields<TypeTag, TTag::TwoPNCMin> { using type = MineralizationIOFields<TwoPNCIOFields>; };
159
161template<class TypeTag>
162struct ModelTraits<TypeTag, TTag::TwoPNCMin>
163{
164private:
166 using NonMineralizationTraits = GetPropType<TypeTag, Properties::BaseModelTraits>;
167public:
169};
170
172template<class TypeTag>
173struct SolidState<TypeTag, TTag::TwoPNCMin>
174{
175private:
178public:
180};
181
183// Properties for the non-isothermal 2pncmin model
185
187template<class TypeTag>
188struct ModelTraits<TypeTag, TTag::TwoPNCMinNI>
189{
190private:
194public:
195 // the mineralization traits, based on 2pnc traits, are the isothermal traits
197};
198
200template<class TypeTag>
201struct VolumeVariables<TypeTag, TTag::TwoPNCMinNI>
202{
203private:
212 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
213 // class used for scv-wise reconstruction of nonwetting phase saturations
216
220
221 template<class BaseTraits, class DT, class EDM, class ETCM>
222 struct NCNITraits : public BaseTraits
223 {
224 using DiffusionType = DT;
225 using EffectiveDiffusivityModel = EDM;
226 using EffectiveThermalConductivityModel = ETCM;
227 };
229public:
231};
232
234template<class TypeTag>
235struct IOFields<TypeTag, TTag::TwoPNCMinNI>
236{
239};
240
242template<class TypeTag>
243struct ThermalConductivityModel<TypeTag, TTag::TwoPNCMinNI>
245
246} // end namespace Properties
247} // end namespace Dumux
248
249#endif
Relation for the saturation-dependent effective thermal conductivity.
Represents all relevant thermodynamic quantities of a compositional solid system.
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
Traits class encapsulating model specifications.
Definition: common/properties.hh:53
A class helping models to define input and output fields.
Definition: common/properties.hh:63
Definition: common/properties.hh:74
The secondary variables within a sub-control volume.
Definition: common/properties.hh:107
The type of the solid state to use.
Definition: common/properties.hh:168
The employed model for the computation of the effective diffusivity.
Definition: common/properties.hh:170
Model to be used for the calculation of the effective conductivity.
Definition: common/properties.hh:172
Relation for the saturation-dependent effective thermal conductivity.
Definition: somerton.hh:60
Represents all relevant thermodynamic quantities of a compositional solid system.
Definition: compositionalsolidstate.hh:37
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
Contains the quantities which are are constant within a finite volume in the two-phase,...
Definition: porousmediumflow/2pnc/volumevariables.hh:58
Definition: porousmediumflow/2pncmin/model.hh:111
std::tuple< TwoPNC > InheritsFrom
Definition: porousmediumflow/2pncmin/model.hh:111
Definition: porousmediumflow/2pncmin/model.hh:112
std::tuple< TwoPNCMin > InheritsFrom
Definition: porousmediumflow/2pncmin/model.hh:112
Adds I/O fields specific to a NCMin model.
Definition: porousmediumflow/mineralization/iofields.hh:39
Element-wise calculation of the local residual for problems using a one/two-phase n-component mineral...
Definition: porousmediumflow/mineralization/localresidual.hh:41
Specifies a number properties of models that consider mineralization proceses.
Definition: porousmediumflow/mineralization/model.hh:50
Contains the quantities which are are constant within a sub-control volume of the finite volume grid ...
Definition: porousmediumflow/mineralization/volumevariables.hh:38
Adds I/O fields specific to non-isothermal models.
Definition: porousmediumflow/nonisothermal/iofields.hh:39
Specifies a number properties of non-isothermal porous medium flow models based on the specifics of a...
Definition: porousmediumflow/nonisothermal/model.hh:70
Adaption of the fully implicit scheme to the two-phase n-component fully implicit model.
Defines the properties required for compositional porous medium flow models considering mineralizatio...
Adds I/O fields specific to the models considering mineralization processes.
Adds I/O fields specific to non-isothermal models.
Element-wise calculation of the local residual for problems using a compositional model that also con...
Contains the quantities which are constant within a finite volume in the two-phase,...
Contains the quantities which are constant within a sub-control volume of the finite volume grid in t...
Defines the indices used by the non-isothermal two-phase two-component model.