Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
d37885ab
Commit
d37885ab
authored
Jun 28, 2019
by
Martin Utz
Browse files
[swe][frictionlaw] Small changes.
parent
8e37ca8b
Changes
5
Hide whitespace changes
Inline
Side-by-side
dumux/freeflow/shallowwater/boundaryfluxes.hh
View file @
d37885ab
...
...
@@ -24,7 +24,7 @@
* The boundary conditions are given at the the outer face of the
* the boundary cells. In this form the boundary condition can't be
* processed by the riemann Solver, because it needs two cell states, one at
* each side of a face. Therefore the
y
Riemann invariants are used to
* each side of a face. Therefore the Riemann invariants are used to
* calculate a virtual outer state.
*/
#ifndef DUMUX_SHALLOWWATER_BOUNDARYFLUXES_HH
...
...
dumux/material/fluidmatrixinteractions/frictionlaws/frictionlaw.hh
View file @
d37885ab
...
...
@@ -46,7 +46,7 @@ public:
* from contiuums mechanics, but a force projected on an area. Therefore it is a
* vector with two entries.
*
* \return shear stress. First entry is the x-component, the second the y-component.
* \return shear stress
[N/m^2]
. First entry is the x-component, the second the y-component.
*/
virtual
Dune
::
FieldVector
<
Scalar
,
2
>
computeShearStress
(
const
VolumeVariables
&
VolVar
)
const
=
0
;
...
...
dumux/material/fluidmatrixinteractions/frictionlaws/manning.hh
View file @
d37885ab
...
...
@@ -58,7 +58,7 @@ public:
* from contiuums mechanics, but a force projected on an area. Therefore it is a
* vector with two entries.
*
* \return shear stress. First entry is the x-component, the second the y-component.
* \return shear stress
[N/m^2]
. First entry is the x-component, the second the y-component.
*/
Dune
::
FieldVector
<
Scalar
,
2
>
computeShearStress
(
const
VolumeVariables
&
volVars
)
const
final
{
...
...
dumux/material/fluidmatrixinteractions/frictionlaws/nikuradse.hh
View file @
d37885ab
...
...
@@ -57,7 +57,7 @@ public:
* from contiuums mechanics, but a force projected on an area. Therefore it is a
* vector with two entries.
*
* \return shear stress. First entry is the x-component, the second the y-component.
* \return shear stress
[N/m^2]
. First entry is the x-component, the second the y-component.
*/
Dune
::
FieldVector
<
Scalar
,
2
>
computeShearStress
(
const
VolumeVariables
&
volVars
)
const
final
{
...
...
test/freeflow/shallowwater/roughchannel/problem.hh
View file @
d37885ab
...
...
@@ -76,10 +76,6 @@ struct EnableFVGridGeometryCache<TypeTag, TTag::RoughChannel>
template
<
class
TypeTag
>
struct
EnableGridVolumeVariablesCache
<
TypeTag
,
TTag
::
RoughChannel
>
{
static
constexpr
bool
value
=
false
;
};
template
<
class
TypeTag
>
struct
EnableGridFluxVariablesCache
<
TypeTag
,
TTag
::
RoughChannel
>
{
static
constexpr
bool
value
=
false
;
};
}
// end namespace Properties
/*!
...
...
@@ -318,7 +314,6 @@ public:
// no flow boundary
else
{
boundaryStateVariables
=
{
0
,
0
,
0
};
boundaryStateVariables
[
0
]
=
insideVolVars
.
waterDepth
();
boundaryStateVariables
[
1
]
=
-
insideVolVars
.
velocity
(
0
);
boundaryStateVariables
[
2
]
=
-
insideVolVars
.
velocity
(
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment