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-course
Commits
5fd921b7
Commit
5fd921b7
authored
Jul 20, 2018
by
Kilian Weishaupt
Browse files
[ex-coupling-ff-pm] fix typo
parent
6652c0e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
exercises/exercise-coupling-ff-pm/README.md
View file @
5fd921b7
...
...
@@ -340,18 +340,24 @@ bool isOnWall(const GlobalPosition& globalPos) const
In addition, especially for the zero-equation models, any element in the free-flow domain interacts with the walls,
e.g. this defines the wall distance which is needed to calculate the eddy viscosity.
To get all these interactions, you have to call
`stokesProblem->updateStaticWallProperties()`
To get all these interactions, you have to call
```
cpp
stokesProblem
->
updateStaticWallProperties
()
```
in
`ex_turbulence_coupling_ff-pm.cc`
.
However, there is also a solution-dependent component of these interactions, e.g. for a correct
damping of the eddy viscosity toward the wall, the velocity gradient at the wall and inside the
cells is needed.
These dynamic interactions are to be updated by calling
`stokesProblem->updateDynamicWallProperties(stokesSol)`
These dynamic interactions are to be updated by calling
```
cpp
stokesProblem
->
updateDynamicWallProperties
(
stokesSol
)
```
in the time loop (after
`// update dynamic wall properties`
).
Compile and run your new coupled problem and take a look at the results in Paraview.
In addition to the standard variables and parameters, you can now analyze turbulence model specific quantities
(e.g. the turbulent viscosity
`
nu_\textrm{t}`
or the turbulent diffusivity
`D_\textrm{t}`
) for the free flow domain.
In paraview you may compare the magnitude of
`D`
and
`D_\textrm{t}`
to see where the transport is affected by turbulence.
(e.g. the turbulent viscosity
$
`\
nu_\textrm{t}`
$
or the turbulent diffusivity
$
`D_\textrm{t}`
$
) for the free flow domain.
In paraview you may compare the magnitude of
$
`D`
$
and
$
`D_\textrm{t}`
$
to see where the transport is affected by turbulence.
The result for the turbulent viscosity should look like this:

...
...
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