version 3.10.0
Loading...
Searching...
No Matches
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
//
12
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
20
namespace
Dumux
{
21
30
template
<
class
PermeabilityType>
31
class
PermeabilityKozenyCarman
32
{
33
public
:
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
Dumux::PermeabilityKozenyCarman
The Kozeny-Carman relationship for the calculation of a porosity-dependent permeability....
Definition
permeabilitykozenycarman.hh:32
Dumux::PermeabilityKozenyCarman::evaluatePermeability
PermeabilityType evaluatePermeability(PermeabilityType refPerm, Scalar refPoro, Scalar poro) const
Calculates the permeability for a given sub-control volume.
Definition
permeabilitykozenycarman.hh:41
Dumux
Definition
adapt.hh:17
dumux
material
fluidmatrixinteractions
permeabilitykozenycarman.hh
© Copyright 2010-
DuMux project contributors
(doc pages:
CC-BY 4.0
/ code examples:
GPLv3 or later
)
3.10.0 Generated by
1.13.2