3.6-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 *****************************************************************************/
84#ifndef DUMUX_2PNCMIN_MODEL_HH
85#define DUMUX_2PNCMIN_MODEL_HH
86
89
91
96
100
101namespace Dumux {
102namespace Properties {
104// Type tags
106// Create new type tags
107namespace TTag {
108struct TwoPNCMin { using InheritsFrom = std::tuple<TwoPNC>; };
109struct TwoPNCMinNI { using InheritsFrom = std::tuple<TwoPNCMin>; };
110} // end namespace TTag
111
113// Property tags for the isothermal 2pncmin model
115
116// use the mineralization local residual
117template<class TypeTag>
118struct LocalResidual<TypeTag, TTag::TwoPNCMin> { using type = MineralizationLocalResidual<TypeTag>; };
119
121template<class TypeTag>
122struct VolumeVariables<TypeTag, TTag::TwoPNCMin>
123{
124private:
133 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
134 // class used for scv-wise reconstruction of nonwetting phase saturations
137
140
141 template<class BaseTraits, class DT, class EDM>
142 struct NCTraits : public BaseTraits
143 {
144 using DiffusionType = DT;
145 using EffectiveDiffusivityModel = EDM;
146 };
147
149public:
151};
152
154template<class TypeTag>
155struct IOFields<TypeTag, TTag::TwoPNCMin> { using type = MineralizationIOFields<TwoPNCIOFields>; };
156
158template<class TypeTag>
159struct ModelTraits<TypeTag, TTag::TwoPNCMin>
160{
161private:
163 using NonMineralizationTraits = GetPropType<TypeTag, Properties::BaseModelTraits>;
164public:
166};
167
169template<class TypeTag>
170struct SolidState<TypeTag, TTag::TwoPNCMin>
171{
172private:
175public:
177};
178
180// Properties for the non-isothermal 2pncmin model
182
184template<class TypeTag>
185struct ModelTraits<TypeTag, TTag::TwoPNCMinNI>
186{
187private:
191public:
192 // the mineralization traits, based on 2pnc traits, are the isothermal traits
194};
195
197template<class TypeTag>
198struct VolumeVariables<TypeTag, TTag::TwoPNCMinNI>
199{
200private:
209 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
210 // class used for scv-wise reconstruction of nonwetting phase saturations
213
217
218 template<class BaseTraits, class DT, class EDM, class ETCM>
219 struct NCNITraits : public BaseTraits
220 {
221 using DiffusionType = DT;
222 using EffectiveDiffusivityModel = EDM;
223 using EffectiveThermalConductivityModel = ETCM;
224 };
226public:
228};
229
231template<class TypeTag>
232struct IOFields<TypeTag, TTag::TwoPNCMinNI>
233{
236};
237
239template<class TypeTag>
240struct ThermalConductivityModel<TypeTag, TTag::TwoPNCMinNI>
242
243} // end namespace Properties
244} // end namespace Dumux
245
246#endif
Relation for the saturation-dependent effective thermal conductivity.
Represents all relevant thermodynamic quantities of a compositional solid system.
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:180
Traits class encapsulating model specifications.
Definition: common/properties.hh:51
A class helping models to define input and output fields.
Definition: common/properties.hh:61
Definition: common/properties.hh:72
The secondary variables within a sub-control volume.
Definition: common/properties.hh:105
The type of the solid state to use.
Definition: common/properties.hh:166
The employed model for the computation of the effective diffusivity.
Definition: common/properties.hh:168
Model to be used for the calculation of the effective conductivity.
Definition: common/properties.hh:170
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:109
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:108
std::tuple< TwoPNC > InheritsFrom
Definition: porousmediumflow/2pncmin/model.hh:108
Definition: porousmediumflow/2pncmin/model.hh:109
std::tuple< TwoPNCMin > InheritsFrom
Definition: porousmediumflow/2pncmin/model.hh:109
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 processes.
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.