version 3.8
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// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
25#ifndef DUMUX_TWOP_TWOC_CO2_MODEL_HH
26#define DUMUX_TWOP_TWOC_CO2_MODEL_HH
27
30#include "volumevariables.hh"
31
32namespace Dumux {
33namespace Properties {
34
35// Create new type tags
36namespace TTag {
37struct TwoPTwoCCO2 { using InheritsFrom = std::tuple<TwoPTwoC>; };
38struct TwoPTwoCCO2NI { using InheritsFrom = std::tuple<TwoPTwoCNI>; };
39} // end namespace TTag
40
42template<class TypeTag>
43struct VolumeVariables<TypeTag, TTag::TwoPTwoCCO2>
44{
45private:
54 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
55 // class used for scv-wise reconstruction of nonwetting phase saturations
58
61 template<class BaseTraits, class DT, class EDM>
62 struct NCTraits : public BaseTraits
63 {
64 using DiffusionType = DT;
65 using EffectiveDiffusivityModel = EDM;
66 };
67
68public:
70};
71
72template<class TypeTag>
73struct VolumeVariables<TypeTag, TTag::TwoPTwoCCO2NI>
74{
75private:
84 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
85 // class used for scv-wise reconstruction of nonwetting phase saturations
88
92 template<class BaseTraits, class DT, class EDM, class ETCM>
93 struct NCNITraits : public BaseTraits
94 {
95 using DiffusionType = DT;
96 using EffectiveDiffusivityModel = EDM;
97 using EffectiveThermalConductivityModel = ETCM;
98 };
99
100public:
102};
103
104} // end namespace Properties
105} // end namespace Dumux
106
107#endif
Class that computes the nonwetting saturation in an scv from the saturation at the global degree of f...
Definition: saturationreconstruction.hh:31
Contains the quantities which are are constant within a finite volume in the CO2 model.
Definition: porousmediumflow/co2/volumevariables.hh:39
Defines all properties used in Dumux.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:296
Definition: adapt.hh:17
Properties for a two-phase, two-component model for flow in porous media.
Python wrapper for volume variables (finite volume schemes)
Definition: porousmediumflow/co2/model.hh:37
std::tuple< TwoPTwoC > InheritsFrom
Definition: porousmediumflow/co2/model.hh:37
Definition: porousmediumflow/co2/model.hh:38
std::tuple< TwoPTwoCNI > InheritsFrom
Definition: porousmediumflow/co2/model.hh:38
Traits class for the two-phase model.
Definition: porousmediumflow/2p/model.hh:107