| Literature DB >> 35880132 |
Katja Vozel1, Katja Klinar2, Andrej Kitanovski2.
Abstract
This protocol describes the use of a simple 1D numerical model to evaluate a single-stage (magneto)caloric refrigerating device with static thermal switches. The model can be used to find appropriate values of parameters that lead to a significant refrigerating effect and COP of the device. The modeled device can comprise any type of static thermal switch in combination with any kind of magnetocaloric or electrocaloric material. Simulation parameters need to be set with care for acceptable computational time. For complete details on the use and execution of this protocol, please refer to Klinar et al. (2022).Entities:
Keywords: Computer sciences; Energy; Physics
Mesh:
Year: 2022 PMID: 35880132 PMCID: PMC9307514 DOI: 10.1016/j.xpro.2022.101576
Source DB: PubMed Journal: STAR Protoc ISSN: 2666-1667
Figure 1Caloric embodiment with ferrofluidic thermal switches
(A) (Magneto)caloric embodiment evaluated in a numerical model with the boundary conditions (constant heat flow on the left and convection on the right) and the coordinate system.
(B) Presentation of the single-stage, non-regenerative Brayton thermodynamic cycle with thermal switches 1 and 2. Figure reprinted with permission from Klinar et al. (2022).
Figure 2The flowchart of the mc_switch code
Figure reprinted with permission from Klinar et al. (2022).
Main attributes of the Simulation class in simulation.py
| Attribute | Type | Meaning | Unit |
|---|---|---|---|
| self.path | String | The path to the results folder | / |
| self.st_data_filename | String | The path to the file containing (m)cm data | / |
| self.rho_source | Float | Density of heat source | kg m-3 |
| self.rho_sink | Float | Density of heat sink | kg m-3 |
| self.rho_switch | Float | Density of thermal switches (both have the same thickness) | kg m-3 |
| self.rho_mcm | Float | Density of (magneto)caloric material | kg m-3 |
| self.cp_source | Float | Specific heat of heat source | J kg-1 K-1 |
| self.cp_sink | Float | Specific heat of heat sink | J kg-1 K-1 |
| self.cp_switch | Float | Specific heat of thermal switch | J kg-1 K-1 |
| self.k_source | Float | Thermal conductivity of heat source | W m-1 K-1 |
| self.k_sink | Float | Thermal conductivity of heat sink | W m-1 K-1 |
| self.k_on | Float | Effective thermal conductivity of thermal switch during on state | W m-1 K-1 |
| self.k_off | Float | Effective thermal conductivity of thermal switch during off state | W m-1 K-1 |
| self.k_mcm | Float | Thermal conductivity of (magneto)caloric material | W m-1 K-1 |
| self.q_left | Float | Left bound. cond.: heat flux = cooling power | W m-2 |
| self.h_right | Float | Right bound. cond.: convection coefficient | W m-2 K-1 |
| self.right_temp | Float | Right bound. cond.: temperature of ambient | K |
| self.switch_work | Float | Work input for thermal switch | W m-2 |
| self.resist_12 | Float | Thermal contact resist.: interface heat source - thermal switch 1 | m2 K W-1 |
| self.resist_23 | Float | Thermal contact resist.: interface thermal switch 1 – (m)cm | m2 K W-1 |
| self.resist_34 | Float | Thermal contact resist.: interface (m)cm - thermal switch 2 | m2 K W-1 |
| self.resist_45 | Float | Thermal contact resist.: interface thermal switch 2 - heat source | m2 K W-1 |
| self.generated_heat_on | Float | Internal heat gen. inside thermal switch during on state | W m-3 |
| self.generated_heat_off | Float | Internal heat gen. inside thermal switch during off state | W m-3 |
| self.low_field | Float | (Magnetic) field density when the field is off | T |
| self.high_field | Float | (Magnetic) field density when the field is on | T |
| self.start_temperature | Float | Starting temperature in all nodes | K |
| self.t_mag | Float | Duration of (de)magnetization | s |
| self.freq | Float | Operating frequency | Hz |
| self.tolerance | Float | Internal tolerance | K |
| self.end_tolerance | Float | End tolerance = quasi steady-state condition | K |
| self.N | Integer | Minimum number of executed cycles | / |
| self.n0 | Integer | Number of nodes in heat source and heat sink | / |
| self.n1 | Integer | Number of nodes in each thermal switch | / |
| self.n2 | Integer | Number of nodes in a (m)cm | / |
| self.t_transfer | Float | Duration of each heat-transfer process | s |
| self.time_step | Float | Time step for the heat-transfer process | s |
| self.print_cycle | Integer | Result (temperatures) printing frequency | / |
When running the code on an HPC, the path must include the folder mc_switch (e.g., ‘mc_switch/results’), otherwise not (e.g., ‘results/’).
Additional work input required for thermal switch operation (e.g., electric energy, mechanical energy). This value is only used for the COP (coefficient of performance, defined later in the text) calculation in runcycles.py.
Internal heat generation inside the thermal switches (e.g., due to Joule heating, chemical reactions). The internal heat generation can be different during the on and off state of the thermal switch. Ideally, these values are 0.
Internal tolerance helps to optimize the accuracy of the newly calculated temperatures during a time step of a heat transfer.
The ending tolerance helps determine whether the quasi-steady state is reached. When two consecutive sets of node temperatures, defined by the attribute check_list of the Simulation class, differ by less than this given tolerance, the simulation stops.
Must not be changed; calculated from other given values.
The time step refers only to the heat-transfer process. Magnetization and demagnetization are considered adiabatic processes and thus considered as step functions of time.
Figure 3Results files after all simulations are finished
Figure 4Operation of the caloric embodiment to achieve a temperature difference between the heat source and the heat sink
The device operates with single-stage, non-regenerative Brayton cycle.
(A and C) Left: Time evolution of the temperatures of the magnetocaloric material, heat sink and heat source (zero cooling power, ambient temperature 293 K) for the cases with constant (A) and fluctuating (C) temperatures of the heat source/sink. The insets show the temperature fluctuation of the heat sink during the quasi-steady state on the same scale.
(B and D) Right: Temperature profile along the magnetocaloric embodiment for all four processes during the quasi-steady-state operation for the cases with constant (B) and fluctuating (D) temperatures of the heat source/sink. Note that Brayton thermodynamic cycle predicts adiabatic (de)magnetization – no heat transfer between components. More details available in Klinar et al. (2022).
| REAGENT or RESOURCE | SOURCE | IDENTIFIER |
|---|---|---|
| Python 3 | Python Software Foundation | |
| NumPy package | NumPy project and community | |
| mc_switch Python Code | Zenodo: | |
| Materials data | N/A | |
| Hardware: PC or HPC | N/A | N/A |