XSodium

Versione 1.0.0 (3,44 KB) da Fabio Aste
Liquid Sodium properties according to J. K. Fink and L. Leibowitz, "ANL/RE-95/2", Argonne National Labs. Temperature range: 98°C-881°C.
3 download
Aggiornato 10 giu 2025

Visualizza la licenza

Liquid Sodium properties according to Argonne National Lab (ANL) report (see References).
By Fabio Aste, www.linkedin.com/in/fabio-aste/
Visit us at: vast.energy
---------------------------------------------------------------------------------------------------------------------
Description:
The function determines various thermodynamic properties of Sodium based on Argonne National Lab (ANL) data and correlations. Different possibilities exist for the combinations between the input/output properties:
- h-->T {'H2T','h2T'}. for Temperature [°C] as a function of Enthalpy [kJ/kg].
- T-->h {'T2H','T2h'}. for Enthalpy [kJ/kg] as a function of Temperature [°C].
- T-->rho {'T2rho'}. for Density [kg/m3] as a function of Temperature [°C].
- T-->Cp {'T2Cp','T2cp'}. for Specific Heat [kJ/kg.K] as a function of Temperature [°C].
- T-->mu {'T2mu'}. for Dynamic Viscosity [Pa.s] as a function of Temperature [°C].
The function is thought to be applied to Liquid Sodium, therefore its temperature validity field is 98°C-881°C. Despite XSodium can handle values outside range without resulting in an error, it does not mean that they are precise or, more in general, possible.
---------------------------------------------------------------------------------------------------------------------
References:
- J. K. Fink and L. Leibowitz, Argonne National Labs, "ANL/RE-95/2 – Thermodynamic and Transport Properties of Sodium Liquid and Vapor".
---------------------------------------------------------------------------------------------------------------------
Procedure:
The user shall input the desired function mode and related input. The function will assess that the validity field is respected, and eventually force the input to fit within, then determine the output.
---------------------------------------------------------------------------------------------------------------------
Inputs:
The function accepts a thermodynamic property according to the following list:
- Temperature [°C] Range: 98-881 [°C] / 371-1154 [K]
- Entalphy [kJ/kg] Range: 207-1214 [kJ/kg]
---------------------------------------------------------------------------------------------------------------------
Outputs:
- Temperature [°C] T
- Enthalpy [kJ/kg] h
- Specific heat (isobaric) [kJ/kg.K] Cp
- Density [kg/m3] rho
- Dynamic Viscosity [Pa.s] mu
---------------------------------------------------------------------------------------------------------------------
Copyright (c) 2025, Fabio Aste, Vast Renewables Ltd.
Version: 1.0.
This software is licensed under the MIT License (2023).
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Cita come

Fabio Aste (2026). XSodium (https://it.mathworks.com/matlabcentral/fileexchange/181241-xsodium), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2022b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Versione Pubblicato Note della release
1.0.0