-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsolid.i
More file actions
37 lines (35 loc) · 2.99 KB
/
solid.i
File metadata and controls
37 lines (35 loc) · 2.99 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
<div style='margin:0; font-family:Helvetica; font-size:16px;'>
<div style='margin:0; padding:0 20px 20px 20px; font-size:12px;'><a href='index.html'>Home</a> | <a href='architecture.html'>Code architecture</a> | <span style='color:red;'><code>Control</code></span></div>
<div style='display:flex;'>
<div style='margin:0; padding:0 20px 20px 20px;'>
<div style='margin:0; padding:0 20px 20px 0;'>Tree of classes:</div>
<code style='white-space:nowrap;'>
<a href='architecture.html'>Reactor</a><br>
├─ <a href='control.html'>Control</a><br>
├─ <b>Solid</b><br>
│ ├─ Structure[]<br>
│ └─ FuelRod[]<br>
│ ├─ Fuel[]<br>
│ │ └─ FuelGrain[]<br>
│ ├─ InnerGas<br>
│ └─ Clad[]<br>
├─ Fluid<br>
└─ Core<br>
├─ Isotope[]<br>
└─ Mix[]<br>
</code>
</div>
<div style='margin:0; padding:0 20px 20px 20px;'>
<br><br>The <code>Solid</code> class is a driver for the parts of the code that simulate thermal behaviour of reactor structures*
(e.g. reactor vessel, diagrid, control rod drivelines) and thermal-mechanical performance of fuel rods*.
The constructor of the <code>Solid</code> class creates the <code>structure</code> and <code>fuelrod</code> objects
from the <code>Structure</code> and <code>FuelRod</code> classes as well as initializes the vector of unknowns from
those built in the <code>Structure</code> and <code>FuelRod</code> classes.
<br><br>The <code>calculate_rhs(self, reactor, t)</code> function is defined in the <code>Solid</code> class and called
in the constructor of the <code>Reactor</code> class just to construct the right-hand side vector by calling
<code>structure.calculate_rhs(self, reactor, t)</code> and <code>fueldrod.calculate_rhs(self, reactor, t)</code> functions
calculating the right-hand sides of the corresponding parts of the whole system of ODEs.<br><br>
*<span style='font-size:12px;'>under development</span>
</div>
</div>
</div>