version 3.11-dev
Toggle main menu visibility
Main Page
Installation
Getting started
Examples and tutorials
Understanding DuMux
Basic concepts
Runtime parameters
Running in parallel
Input and output formats
Directory structure
Cheatsheet
Module documentation
Flow and transport in porous media
Python bindings
External libraries
Developer documentation
Dumux and Dune
Developing Dumux
Build doxygen documentation
Changing property name
Custom input data
Gmsh with ALUGrid
Printing system matrix
Upgrading to Dumux 3
Bibliography
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
f
h
i
k
l
n
p
s
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
b
c
d
g
l
n
p
s
t
w
Related Functions
i
l
s
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
forchheimerslaw_fwd.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
//
15
#ifndef DUMUX_FLUX_FORCHHEIMERS_LAW_FWD_HH
16
#define DUMUX_FLUX_FORCHHEIMERS_LAW_FWD_HH
17
18
#include <
dumux/common/properties.hh
>
19
#include <
dumux/discretization/method.hh
>
20
#include <
dumux/flux/forchheimervelocity.hh
>
21
22
namespace
Dumux
{
23
24
// definition of primary template
25
template
<
class
TypeTag,
class
VelocityLaw,
class
DiscretizationMethod>
26
class
ForchheimersLawImplementation
27
{
28
static_assert
(
29
GetPropType<TypeTag, Properties::GridGeometry>::discMethod
==
DiscretizationMethods::cctpfa
||
30
GetPropType<TypeTag, Properties::GridGeometry>::discMethod
==
DiscretizationMethods::box
,
31
"Forchheimer only implemented for cctpfa or box!"
32
);
33
};
34
41
template
<
class
TypeTag>
42
using
ForchheimersLaw
=
ForchheimersLawImplementation
<
43
TypeTag,
44
ForchheimerVelocity
<
45
GetPropType<TypeTag, Properties::Scalar>
,
46
GetPropType<TypeTag, Properties::GridGeometry>
,
47
GetPropType<TypeTag, Properties::FluxVariables>
48
>,
49
typename
GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod
50
>;
51
52
}
// end namespace Dumux
53
54
#endif
Dumux::ForchheimerVelocity
Forchheimer's law For a detailed description see dumux/flow/forchheimerslaw.hh.
Definition:
forchheimervelocity.hh:39
Dumux::ForchheimersLawImplementation
forward declare
Definition:
forchheimerslaw_fwd.hh:27
properties.hh
Defines all properties used in Dumux.
forchheimervelocity.hh
Forchheimer's law This file contains the calculation of the Forchheimer velocity for a given Darcy ve...
Dumux::GetPropType
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition:
propertysystem.hh:296
method.hh
The available discretization methods in Dumux.
Dumux::DiscretizationMethods::cctpfa
constexpr CCTpfa cctpfa
Definition:
method.hh:145
Dumux::DiscretizationMethods::box
constexpr Box box
Definition:
method.hh:147
Dumux
Definition:
adapt.hh:17
dumux
flux
forchheimerslaw_fwd.hh
© Copyright 2010-2025
DuMux project contributors
(doc pages:
CC-BY 4.0
/ code examples:
GPLv3 or later
)
3.11-dev Generated by
1.9.3