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-lecture
Commits
ec3527ce
Commit
ec3527ce
authored
May 06, 2020
by
Holger Class
Browse files
adapted heatpipe to book, changed to pnsw
parent
83c67fc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
lecture/mm/heatpipe/heatpipe.input
View file @
ec3527ce
[TimeLoop]
DtInitial = 1 # [s]
TEnd = 2.2e1
2
# [s]
EpisodeLength = 1.e
11
TEnd = 2.2e1
0
# [s]
EpisodeLength = 1.e
8
[Grid]
File = ./grids/heatpipe.dgf
...
...
lecture/mm/heatpipe/heatpipeproblem.hh
View file @
ec3527ce
...
...
@@ -55,6 +55,10 @@ struct Problem<TypeTag, TTag::HeatPipeTypeTag> { using type = HeatPipeProblem<Ty
template
<
class
TypeTag
>
struct
FluidSystem
<
TypeTag
,
TTag
::
HeatPipeTypeTag
>
{
using
type
=
FluidSystems
::
H2OAir
<
GetPropType
<
TypeTag
,
Properties
::
Scalar
>>
;
};
// pn-sw formulation
template
<
class
TypeTag
>
struct
Formulation
<
TypeTag
,
TTag
::
HeatPipeTypeTag
>
{
static
constexpr
auto
value
=
TwoPFormulation
::
p1s0
;
};
// Set the spatial parameters
template
<
class
TypeTag
>
struct
SpatialParams
<
TypeTag
,
TTag
::
HeatPipeTypeTag
>
...
...
@@ -117,7 +121,7 @@ public:
// we could use another phase presence (onlyWater) on the left, here simplified for better
// convergence behavior
values
[
Indices
::
pressureIdx
]
=
1.013e5
;
values
[
Indices
::
switchIdx
]
=
0.
01
;
values
[
Indices
::
switchIdx
]
=
0.
99
;
values
[
Indices
::
temperatureIdx
]
=
341.75
;
values
.
setState
(
Indices
::
bothPhases
);
...
...
Bernd Flemisch
@bernd
mentioned in commit
482048fc
·
May 07, 2020
mentioned in commit
482048fc
mentioned in commit 482048fc8756d0eedaa48673d25f463aecf3b00a
Toggle commit list
Bernd Flemisch
@bernd
mentioned in merge request
!114 (merged)
·
May 07, 2020
mentioned in merge request
!114 (merged)
mentioned in merge request !114
Toggle commit list
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