-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput-fluid.html
More file actions
308 lines (288 loc) · 21 KB
/
input-fluid.html
File metadata and controls
308 lines (288 loc) · 21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fluid cards — ROOSTER documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/custom.css?v=b0fc30b0" />
<link rel="shortcut icon" href="_static/favicon.ico"/>
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Solid cards" href="input-solid.html" />
<link rel="prev" title="Core cards" href="input-core.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home">
ROOSTER
<img src="_static/logo.svg" class="logo" alt="Logo"/>
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="motivation.html">Why a new code?</a></li>
<li class="toctree-l1"><a class="reference internal" href="architecture.html">Architecture</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="input.html">Input description</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="input-control.html">Control cards</a></li>
<li class="toctree-l2"><a class="reference internal" href="input-core.html">Core cards</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Fluid cards</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#jun-dependent-junction"><code class="docutils literal notranslate"><span class="pre">jun</span></code> : Dependent junction</a></li>
<li class="toctree-l3"><a class="reference internal" href="#jun-i-independent-junction"><code class="docutils literal notranslate"><span class="pre">jun-i</span></code> : Independent junction</a></li>
<li class="toctree-l3"><a class="reference internal" href="#jun-i-f-independent-junction-with-user-defined-flowrate"><code class="docutils literal notranslate"><span class="pre">jun-i-f</span></code> : Independent junction with user-defined flowrate</a></li>
<li class="toctree-l3"><a class="reference internal" href="#jun-i-p-independent-junction-with-user-defined-pump-head"><code class="docutils literal notranslate"><span class="pre">jun-i-p</span></code> : Independent junction with user-defined pump head</a></li>
<li class="toctree-l3"><a class="reference internal" href="#pipe-pipe-without-free-level"><code class="docutils literal notranslate"><span class="pre">pipe</span></code> : Pipe without free level</a></li>
<li class="toctree-l3"><a class="reference internal" href="#pipe-f-pipe-with-free-level"><code class="docutils literal notranslate"><span class="pre">pipe-f</span></code> : Pipe with free level</a></li>
<li class="toctree-l3"><a class="reference internal" href="#pipe-t-pipe-without-free-level-with-temperature-defined-by-signal"><code class="docutils literal notranslate"><span class="pre">pipe-t</span></code> : Pipe without free level with temperature defined by signal</a></li>
<li class="toctree-l3"><a class="reference internal" href="#thermbc-thermal-boundary-conditions"><code class="docutils literal notranslate"><span class="pre">thermbc</span></code> : Thermal boundary conditions</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="input-solid.html">Solid cards</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="theory.html">Theory manual</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="references.html">References</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">ROOSTER</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="input.html">Input description</a></li>
<li class="breadcrumb-item active">Fluid cards</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="fluid-cards">
<h1>Fluid cards<a class="headerlink" href="#fluid-cards" title="Link to this heading"></a></h1>
<section id="jun-dependent-junction">
<h2><code class="docutils literal notranslate"><span class="pre">jun</span></code> : Dependent junction<a class="headerlink" href="#jun-dependent-junction" title="Link to this heading"></a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
# Dependent junction
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### from to
jun UP1 PLN
jun DOWN UP2
jun UP2 PLN
</pre></div>
</div>
<p>A junction connects two pipes:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">from</span></code> : id of the user-defined pipe id the junction comes from;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">to</span></code> : id of the user-defined pipe id the junction comes to.</p></li>
</ul>
<p>The mass flowrate in the dependent junction could be found from mass flowrates in independent juntions.</p>
</section>
<section id="jun-i-independent-junction">
<h2><code class="docutils literal notranslate"><span class="pre">jun-i</span></code> : Independent junction<a class="headerlink" href="#jun-i-independent-junction" title="Link to this heading"></a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
# Inependent junction
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### from to
jun-i PLN DOWN
</pre></div>
</div>
<p>A junction connects two pipes:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">from</span></code> : id of the user-defined pipe id the junction comes from;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">to</span></code> : id of the user-defined pipe id the junction comes to.</p></li>
</ul>
<p>The mass flowrate in the dependent junction could be found from mass flowrates in independent juntions which found by integration of the momentum conservation equations.</p>
</section>
<section id="jun-i-f-independent-junction-with-user-defined-flowrate">
<h2><code class="docutils literal notranslate"><span class="pre">jun-i-f</span></code> : Independent junction with user-defined flowrate<a class="headerlink" href="#jun-i-f-independent-junction-with-user-defined-flowrate" title="Link to this heading"></a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
# Inependent junction with user-defined flowrate
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### from to signal
jun-i-f DOWN UP1 MDOT_VS_T
</pre></div>
</div>
<p>A junction connects two pipes:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">from</span></code> : id of the user-defined pipe id the junction comes from;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">to</span></code> : id of the user-defined pipe id the junction comes to;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">signal</span></code> : id of the user-defined signal of flowrate in the junction.</p></li>
</ul>
<p>The mass flowrate in the dependent junction could be found from mass flowrates in independent juntions which found by integration of the momentum conservation equations. In case of the independent junction with user-defined flowrate, the time derivative of mass flowrate is set to zero and flowrate is set equal to the specified signal at the current time step.</p>
</section>
<section id="jun-i-p-independent-junction-with-user-defined-pump-head">
<h2><code class="docutils literal notranslate"><span class="pre">jun-i-p</span></code> : Independent junction with user-defined pump head<a class="headerlink" href="#jun-i-p-independent-junction-with-user-defined-pump-head" title="Link to this heading"></a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
# Inependent junction with user-defined pump head
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### from to signal
jun-i-p PLN DOWN PMPHEAD_VS_T
</pre></div>
</div>
<p>A junction connects two pipes:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">from</span></code> : id of the user-defined pipe id the junction comes from;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">to</span></code> : id of the user-defined pipe id the junction comes to;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">signal</span></code> : id of the user-defined signal of pump head in the junction.</p></li>
</ul>
<p>The mass flowrate in the dependent junction could be found from mass flowrates in independent juntions which found by integration of the momentum conservation equations. In case of the independent junction with user-defined pump head, the specified signal at the current time step is added to the right-hand side of the momentum conservation equation.</p>
</section>
<section id="pipe-pipe-without-free-level">
<span id="input-pipe-without-free-level"></span><h2><code class="docutils literal notranslate"><span class="pre">pipe</span></code> : Pipe without free level<a class="headerlink" href="#pipe-pipe-without-free-level" title="Link to this heading"></a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
# Pipes
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### id matid dhyd(m) len(m) dir(-) areaz(m2) nnodes
pipe UP1 NA 0.01 1.0 1.0 1.1 10
</pre></div>
</div>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">id</span></code> : user-defined pipe id;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">matid</span></code> : user-defined material id (should appear in the <code class="docutils literal notranslate"><span class="pre">mat</span></code> card);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">dhyd</span></code> : hydraulic diameter (m);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">len</span></code> : pipe length (m);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">dir</span></code> : pipe direction: from -1.0 (downward) up to 1.0 (upward) (-);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">areaz</span></code> : flow area (m<sup>2</sup>);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">nnodes</span></code> : number of nodes.</p></li>
</ul>
</section>
<section id="pipe-f-pipe-with-free-level">
<span id="input-pipe-with-free-level"></span><h2><code class="docutils literal notranslate"><span class="pre">pipe-f</span></code> : Pipe with free level<a class="headerlink" href="#pipe-f-pipe-with-free-level" title="Link to this heading"></a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
# Pipe with free level
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### id matid dhyd(m) len(m) areaz(m2)
pipe-f PLN NA 0.1 1.0 1.1
</pre></div>
</div>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">id</span></code> : user-defined pipe id;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">matid</span></code> : user-defined material id (should appear in the <code class="docutils literal notranslate"><span class="pre">mat</span></code> card);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">dhyd</span></code> : hydraulic diameter (m);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">len</span></code> : pipe length (m);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">areaz</span></code> : flow area (m<sup>2</sup>).</p></li>
</ul>
<p>A pipe with free level has always one node.</p>
</section>
<section id="pipe-t-pipe-without-free-level-with-temperature-defined-by-signal">
<span id="input-pipe-without-free-level-with-temperature-defined-by-signal"></span><h2><code class="docutils literal notranslate"><span class="pre">pipe-t</span></code> : Pipe without free level with temperature defined by signal<a class="headerlink" href="#pipe-t-pipe-without-free-level-with-temperature-defined-by-signal" title="Link to this heading"></a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
# Pipe with user-defined temperature
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### id matid dhyd(m) len(m) dir(-) areaz(m2) nnodes signal
pipe-t DOWN NA 0.01 1.0 -1.0 1.1 10 TEMP_VS_T
</pre></div>
</div>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">id</span></code> : user-defined pipe id;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">matid</span></code> : user-defined material id (should appear in the <code>mat</code> card);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">dhyd</span></code> : hydraulic diameter (m);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">len</span></code> : pipe length (m);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">dir</span></code> : pipe direction: from -1.0 (downward) up to 1.0 (upward) (-);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">areaz</span></code> : flow area (m<sup>2</sup>);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">nnodes</span></code> : number of nodes;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">signal</span></code> : id of the signal specifying temperature in all nodes of the pipe.</p></li>
</ul>
<p>The time derivative of temperature in every node of the pipe is set to zero and temperature is set equal to the specified signal at the current time step.</p>
</section>
<section id="thermbc-thermal-boundary-conditions">
<h2><code class="docutils literal notranslate"><span class="pre">thermbc</span></code> : Thermal boundary conditions<a class="headerlink" href="#thermbc-thermal-boundary-conditions" title="Link to this heading"></a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
# Thermal boundary conditions
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### id type qf
thermbc BC01 0 0
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### id type alfa temp
thermbc BC02 1 1e4 293
#---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7---- ----8---- ----9---- ----0----
##### id type pipeid pipenode
thermbc BC03 2 UP1 1
</pre></div>
</div>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">id</span></code> : user-defined boundary condition id (used in the <code class="docutils literal notranslate"><span class="pre">htstr</span></code> card);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">type</span></code> : flag of boundary condition type;</p>
<blockquote>
<div><ul>
<li><p><code class="docutils literal notranslate"><span class="pre">0</span></code> : constant heat flux from the heat structure surface assumed</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">qf</span></code> : heat flux (W/m<sup>2</sup>);</p></li>
</ul>
</div></blockquote>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">1</span></code>: heat flux from the heat structure surface defined by heat exchange coefficient and external temperature (both constant)</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">alfa</span></code> : heat exchange coefficient (W/m<sup>2</sup> K);</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">temp</span></code> : temperature (K);</p></li>
</ul>
</div></blockquote>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">2</span></code> : heat structure surface coupled to the pipe node</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">pipeid</span></code> : thermal-hydraulic pipe id defined in the <code>pipe</code> card;</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">pipenode</span></code> : index of the node inside the thermal-hydraulic pipe coupled to the heat structure.</p></li>
</ul>
</div></blockquote>
</li>
</ul>
</div></blockquote>
</li>
</ul>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="input-core.html" class="btn btn-neutral float-left" title="Core cards" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="input-solid.html" class="btn btn-neutral float-right" title="Solid cards" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>© Copyright 2023-2024, Konstantin Mikityuk.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>