version 3.11-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
permeabilitykozenycarman.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-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
13#ifndef DUMUX_PERMEABILITY_KOZENY_CARMAN_HH
14#define DUMUX_PERMEABILITY_KOZENY_CARMAN_HH
15
16#include <cmath>
17#include <dune/common/fmatrix.hh>
18#include <dune/common/math.hh>
19
20namespace Dumux {
21
30template<class PermeabilityType>
32{
33public:
40 template<class Scalar>
41 PermeabilityType evaluatePermeability(PermeabilityType refPerm, Scalar refPoro, Scalar poro) const
42 {
43 using Dune::power;
44 auto factor = power((1.0 - refPoro)/(1.0 - poro), 2) * power(poro/refPoro, 3);
45 refPerm *= factor;
46 return refPerm;
47 }
48};
49
50} // namespace Dumux
51
52#endif
The Kozeny-Carman relationship for the calculation of a porosity-dependent permeability....
Definition: permeabilitykozenycarman.hh:32
PermeabilityType evaluatePermeability(PermeabilityType refPerm, Scalar refPoro, Scalar poro) const
Calculates the permeability for a given sub-control volume.
Definition: permeabilitykozenycarman.hh:41
Definition: adapt.hh:17