Architecture
A constructor of the Reactor class creates instances of five classes:
Class Control
reads input data;
evaluates signals using symbolic algebra;
provides interfaces between classes and
hosts an ODE solver.
Class Solid generates a required number of instances of FuelRod and HeatStructure classes.
Class Fuelrod generates for every axial slice
Class Heatstructure
Class Fluid solves mass, momentum and energy conservation equations for incompressible single-phase one-dimensional flow.
Class Core generates a required number of instances of Isotope and Mix classes and includes the solve_eigenvalue_problem function containing Monte Carlo neutron transport and neutron diffusion solvers.
Class Data calculates material properties, Nusselt numbers and friction factors for Fluid and Solid classes.
.