version 3.8.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-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
19
namespace
Dumux
{
20
29
template
<
class
PermeabilityType>
30
class
PermeabilityKozenyCarman
31
{
32
public
:
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
Dumux::PermeabilityKozenyCarman
The Kozeny-Carman relationship for the calculation of a porosity-dependent permeability....
Definition
permeabilitykozenycarman.hh:31
Dumux::PermeabilityKozenyCarman::evaluatePermeability
PermeabilityType evaluatePermeability(PermeabilityType refPerm, Scalar refPoro, Scalar poro) const
Calculates the permeability for a given sub-control volume.
Definition
permeabilitykozenycarman.hh:40
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.8.0 Generated by
1.9.8