version 3.7
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//
72#ifndef DUMUX_2PNCMIN_MODEL_HH
73#define DUMUX_2PNCMIN_MODEL_HH
74
77
79
84
88
89namespace Dumux {
90namespace Properties {
92// Type tags
94// Create new type tags
95namespace TTag {
96struct TwoPNCMin { using InheritsFrom = std::tuple<TwoPNC>; };
97struct TwoPNCMinNI { using InheritsFrom = std::tuple<TwoPNCMin>; };
98} // end namespace TTag
99
101// Property tags for the isothermal 2pncmin model
103
104// use the mineralization local residual
105template<class TypeTag>
106struct LocalResidual<TypeTag, TTag::TwoPNCMin> { using type = MineralizationLocalResidual<TypeTag>; };
107
109template<class TypeTag>
110struct VolumeVariables<TypeTag, TTag::TwoPNCMin>
111{
112private:
121 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
122 // class used for scv-wise reconstruction of nonwetting phase saturations
125
128
129 template<class BaseTraits, class DT, class EDM>
130 struct NCTraits : public BaseTraits
131 {
132 using DiffusionType = DT;
133 using EffectiveDiffusivityModel = EDM;
134 };
135
137public:
139};
140
142template<class TypeTag>
143struct IOFields<TypeTag, TTag::TwoPNCMin> { using type = MineralizationIOFields<TwoPNCIOFields>; };
144
146template<class TypeTag>
147struct ModelTraits<TypeTag, TTag::TwoPNCMin>
148{
149private:
151 using NonMineralizationTraits = GetPropType<TypeTag, Properties::BaseModelTraits>;
152public:
154};
155
157template<class TypeTag>
158struct SolidState<TypeTag, TTag::TwoPNCMin>
159{
160private:
163public:
165};
166
168// Properties for the non-isothermal 2pncmin model
170
172template<class TypeTag>
173struct ModelTraits<TypeTag, TTag::TwoPNCMinNI>
174{
175private:
179public:
180 // the mineralization traits, based on 2pnc traits, are the isothermal traits
182};
183
185template<class TypeTag>
186struct VolumeVariables<TypeTag, TTag::TwoPNCMinNI>
187{
188private:
197 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
198 // class used for scv-wise reconstruction of nonwetting phase saturations
201
205
206 template<class BaseTraits, class DT, class EDM, class ETCM>
207 struct NCNITraits : public BaseTraits
208 {
209 using DiffusionType = DT;
210 using EffectiveDiffusivityModel = EDM;
211 using EffectiveThermalConductivityModel = ETCM;
212 };
214public:
216};
217
219template<class TypeTag>
220struct IOFields<TypeTag, TTag::TwoPNCMinNI>
221{
224};
225
227template<class TypeTag>
228struct ThermalConductivityModel<TypeTag, TTag::TwoPNCMinNI>
230
231} // end namespace Properties
232} // end namespace Dumux
233
234#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
Relation for the saturation-dependent effective thermal conductivity.
Definition: somerton.hh:48
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:267
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.
Relation for the saturation-dependent effective thermal conductivity.
Specifies a number properties of models that consider mineralization processes.
Definition: porousmediumflow/mineralization/model.hh:38
Specifies a number properties of non-isothermal porous medium flow models based on the specifics of a...
Definition: porousmediumflow/nonisothermal/model.hh:58
Definition: porousmediumflow/2pncmin/model.hh:96
std::tuple< TwoPNC > InheritsFrom
Definition: porousmediumflow/2pncmin/model.hh:96
Definition: porousmediumflow/2pncmin/model.hh:97
std::tuple< TwoPNCMin > InheritsFrom
Definition: porousmediumflow/2pncmin/model.hh:97
Traits class for the two-phase model.
Definition: porousmediumflow/2p/model.hh:97