Crate tuas_boussinesq_solver

Crate tuas_boussinesq_solver 

Source
Expand description

A Library which contains useful traits and methods for thermal hydraulics calculations in salt loops

This crate has heavy reliance on units of measure (uom) released under Apache 2.0 license. So you’ll need to get used to unit safe calculations with uom as well.

This library was initially developed for use in my PhD thesis under supervision of Professor Per F. Peterson. It a thermal hydraulics library in Rust that is released under the GNU General Public License v 3.0. This is partly due to the fact that some of the libraries inherit from GeN-Foam and OpenFOAM, both licensed under GNU General Public License v3.0.

As such, the entire library is released under GNU GPL v3.0. It is a strong copyleft license which means you cannot use it in proprietary software.

License This is a thermal hydraulics library written in rust meant to help with the fluid mechanics and heat transfer aspects of the calculations for the Compact Integral Effects Tests (CIET) and hopefully Gen IV Reactors such as the Fluoride Salt cooled High Temperature Reactor (FHR)

Copyright (C) 2022-2023 Theodore Kay Chen Ong, Singapore Nuclear Research and Safety Initiative, Per F. Peterson, University of California, Berkeley Thermal Hydraulics Laboratory

tuas_boussinesq_solver is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

tuas_boussinesq_solver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

This thermal hydraulics library contains some code copied from GeN-Foam, and OpenFOAM derivative. This offering is not approved or endorsed by the OpenFOAM Foundation nor OpenCFD Limited, producer and distributor of the OpenFOAM(R)software via www.openfoam.com, and owner of the OPENFOAM(R) and OpenCFD(R) trademarks. Nor is it endorsed by the authors and owners of GeN-Foam.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

© All rights reserved. Theodore Kay Chen Ong, Singapore Nuclear Research and Safety Initiative, Per F. Peterson, University of California, Berkeley Thermal Hydraulics Laboratory

Main author of the code: Theodore Kay Chen Ong, supervised by Professor Per F. Peterson

Btw, I no affiliation with the Rust Foundation.

Modules§

array_control_vol_and_fluid_component_collections
Module for array control volumes (mainly for fluid control volumes, but solid control volumes are set by setting flowrate to zero) suitable for tuas_boussinesq_solver (single phase, negligble density changes except for buoyancy)
boundary_conditions
Module for boundary conditions
boussinesq_thermophysical_properties
Module specifically for thermophysical properties For liquids and solids with almost invariable density
control_volume_dimensions
specific dimensions for control volume construction
fluid_mechanics_correlations
Module for correlations of fluid mechanics suitable for tuas_boussinesq_solver (single phase, negligble density changes except for buoyancy) License This file is part of a thermal hydraulics library written in rust meant to help with the fluid mechanics and heat transfer aspects of the calculations for the Compact Integral Effects Tests (CIET) and hopefully Gen IV Reactors such as the Fluoride Salt cooled High Temperature Reactor (FHR)
heat_transfer_correlations
Module for heat transfer correlations suitable for tuas_boussinesq_solver (single phase, negligble density changes except for buoyancy)
pre_built_components
Module for pre-built-components suitable for tuas_boussinesq_solver (single phase, negligble density changes except for buoyancy)
prelude
prelude, for easy importing
single_control_vol
Module for single control volumes (mainly for fluid control volumes, but solid control volumes are set by setting flowrate to zero)
tuas_lib_error
provides error types for tuas_boussinesq_solver