A guide for using Heisler charts and approximation for transient heat transfer.
Project description
Heisler Chart Guide
This is a Python library distributed on Pypi to increase the speed and accuracy of using the Heilser Chart. This package also provides users a simple additional calculator which allows users to calculate initial useful parameters for Heisler Chart [1]. For more information visit Wikipedia page.
Using show_plot
based on made object, the plot related to thedesired shape will be depicted. This function does not require any mandatory arguments. After running this function, the shown chart allows users to click on it and draw a vertical and a horizontal line to determine the accurate position of the selected point. You can check an unlimited number of points, and just by pressing X button on the top left corner, the chart will be closed.
Unfortunately, in this version (0.1.0), the numeric analysis of the chart is not available, so users ought to select points and read its position manually. We are planning to make it easier to work with this package.
Installation
use the package manager pip to install Heisler Chart Guide in Python.
pip install HeislerChartsGuide
An Example (Chart)
Heisler Class Guide:
At first use have to defone configuration of the problem.
There are there kind of shapes:
1- Plane (W)
2- Cylinder (C)
3- Sphere (S)
Also three types of charts:
1- Center Temperature (CT)
2- Internal Energy Chnage (IE)
3- Temperature Distribution (TD)
Consider you want to use the Internal Energy chart for a plane wall.
from HeislerChartsGuide import Heisler as hc
problem = hs("W", "IE", verbose = 0)
problem.show_plot()
An Example (Calculator)
And if you want to use the calculator, you can add the below code to the previous one. Then you
alpha = 8.4*10**-5 #m2/s Thermal diffusivity
L = 7/1000 #length [m] Characteristic length (L = Volume/Area)
h = 200 #[W/m2.K] Heat transfer coefficient
k = 215 #[W/mK.] Thermal conductivity
t = 120 #time [s] Elapsed time
Bi, Fo = problem.calculator(alpha, L, h, k, t, verbose = 1)
Reference
[1] Frank P. Incropera (2006). Fundamentals of Heat and Mass Transfer (6th ed.).
John Wiley. ISBN-13: 978-0471457282
License
Copyright 2021 Reza Sadeghi
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 NON-INFRINGEMENT. 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Heisler-0.1.1.tar.gz
.
File metadata
- Download URL: Heisler-0.1.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ee73e5413cccee811b08899252303868f5a9412a9c4a58a0e4fbc5fb1cf77c8 |
|
MD5 | 9dac8f4a2a9e95a13dc1f9c42f42096e |
|
BLAKE2b-256 | e2ce9803e171b7155d8348c90724420ad4fed8465a0557be9f84e9952cffd35e |
File details
Details for the file Heisler-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: Heisler-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6fbe93cba79bdfff5e1c1264c296d96bf7bf39a0adee3bf8c0c59a900ce0dc4 |
|
MD5 | d135d3b65cb413dc06e68390d7a693c1 |
|
BLAKE2b-256 | a4c0a21609ef1b8bf246ae8da81a9e6495fc00785defa9a42d36567fa361505e |