File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def _setup_plot(self):
163163 linestyle = "None" ,
164164 )
165165 secondary_lines .append (self .flux_line )
166- secondary_labels .append (r"$\Phi_ {T_2}$" )
166+ secondary_labels .append (r"$\dot n_ {T_2}$" )
167167
168168 self .ax3_secondary .set_ylabel ("Source / Flux [molT2/s]" )
169169 self .ax3_secondary .grid (False )
Original file line number Diff line number Diff line change @@ -435,11 +435,11 @@ def get_sim_input_standard() -> SimulationInput:
435435 "name" : "LIBRA Pi" ,
436436 "area" : 0.2 * ureg .m ** 2 , # 1/4 * pi * (0.5m)^2
437437 "height" : 1 * ureg .m ,
438- "nozzle_diameter" : 1.4 * ureg .mm ,
438+ "nozzle_diameter" : 1.5 * ureg .mm ,
439439 "nb_nozzle" : 5 * ureg .dimensionless ,
440- "temperature" : 600 * ureg .celsius ,
441- "P_top" : 1 * ureg .atm ,
442- "flow_g_mol" : 100 * ureg .sccm ,
440+ "temperature" : 550 * ureg .celsius ,
441+ "P_top" : 1.2 * ureg .atm ,
442+ "flow_g_mol" : 400 * ureg .sccm ,
443443 "tbr" : 0.1 * ureg ("triton / neutron" ),
444444 "n_gen_rate" : 1e9 * ureg ("neutron / s" ),
445445 "material" : "FLiBe" ,
Original file line number Diff line number Diff line change 4141class SimulationResults :
4242 times : np .ndarray [pint .Quantity ]
4343 c_T2_solutions : np .ndarray [pint .Quantity ]
44+ """ line : time step, column : spatial coordinate """
4445 y_T2_solutions : np .ndarray [pint .Quantity ]
4546 J_T2_solutions : np .ndarray [pint .Quantity ]
4647 x_ct : np .ndarray [pint .Quantity ]
@@ -219,6 +220,11 @@ def solve(
219220 dx : pint .Quantity | None = None ,
220221 fast_solve : bool = False ,
221222 ) -> SimulationResults :
223+ """Input:
224+ - dt: time step, 1000 equal time steps by default
225+ - dx: spatial step, 1000 equal spatial steps by default
226+ - fast_solve: if True, use only 50 equal time and spatial steps
227+ """
222228 # unpack pint.Quantities
223229 t_final = self .t_final .to ("seconds" ).magnitude
224230 tank_height = self .sim_input .height .to ("m" ).magnitude
You can’t perform that action at this time.
0 commit comments