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