version 3.10-dev
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// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
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
Represents all relevant thermodynamic quantities of a compositional solid system.
Definition: compositionalsolidstate.hh:25
Adds I/O fields specific to non-isothermal models.
Definition: porousmediumflow/nonisothermal/iofields.hh:27
Adds I/O fields specific to a NCMin model.
Definition: porousmediumflow/mineralization/iofields.hh:27
Element-wise calculation of the local residual for problems using a one/two-phase n-component mineral...
Definition: porousmediumflow/mineralization/localresidual.hh:29
Contains the quantities which are are constant within a sub-control volume of the finite volume grid ...
Definition: porousmediumflow/mineralization/volumevariables.hh:26
Effective thermal conductivity after Somerton.
Definition: somerton.hh:46
Contains the quantities which are are constant within a finite volume in the two-phase,...
Definition: porousmediumflow/2pnc/volumevariables.hh:46
Class that computes the nonwetting saturation in an scv from the saturation at the global degree of f...
Definition: saturationreconstruction.hh:31
Represents all relevant thermodynamic quantities of a compositional solid system.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:296
Definition: adapt.hh:17
Adaption of the fully implicit scheme to the two-phase n-component fully implicit model.
Contains the quantities which are constant within a finite volume in the two-phase,...
Adds I/O fields specific to the models considering mineralization processes.
Element-wise calculation of the local residual for problems using a compositional model that also con...
Defines the properties required for compositional porous medium flow models considering mineralizatio...
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.
Adds I/O fields specific to non-isothermal models.
Specifies a number properties of models that consider mineralization processes.
Definition: porousmediumflow/mineralization/model.hh:45
Specifies a number properties of non-isothermal porous medium flow models based on the specifics of a...
Definition: porousmediumflow/nonisothermal/model.hh:76
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
Traits class for the two-phase model.
Definition: porousmediumflow/2p/model.hh:107