Skip to main content

ThermCoeff - Thermoelastic coefficent evaluation

Thermoelastic coefficent evaluation for Thermoelastic Stress Analysis (TSA)

Simple examples

Here is a simple example on how to use the code:

.. code-block:: python

pip install ThermCoeff

Import packages:

.. code-block:: python

import numpy as np
import pysfmov as sfmov
import ThermCoeff

Thermoelastic coefficient of standard materials is available as:

.. code-block:: python

s = 'steel'                         # Steel material is chosen
km = ThermCoeff.from_material(s)    # Thermoelastic coefficient of steel is obtained

The following materials are available: aluminium, epoxy, glass, magnesium, steel, titanium

If strain gauge calibration is performed and the strain is acquired externally during the experiment:

.. code-block:: python

# Uniaxial strain-gauge					
eps = np.random.rand(1000)		# Simulated strain from strain-gauge
strain = ThermCoeff.get_strain(eps)	# Obtain strain

# Strain-gauge rosette
eps = np.random.rand(1000, 3)				# Simulated strain from rosette
configuration = '90' 					# Angular configuration of the rosette
strain = ThermCoeff.get_strain(eps, configuration)	# Obtain strain

Once the strain is obtained (or already known):

.. code-block:: python

filename = './data/rec.sfmov'   # Path to the thermal video
data = sfmov.get_data(filename) # Load the data
fs = 400			# Sampling frequency [Hz]
fl = 40				# Load frequency [Hz]
location = 56, 38, 30, 70	# Location of the strain-gauge on the camera field of view

E = 75 * 10**9 			# Young Modulus [Pa]
ni = 0.33 			# Poisson's ratio

km = ThermCoeff.from_strain_gauge(data, fs, fl, E, ni, strain, location)

Reference: https://www.sciencedirect.com/science/article/pii/S0142112320301924

Metadata

Release files for ThermCoeff 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ThermCoeff 0.2
File Size Uploaded
ThermCoeff-0.2.tar.gz 3.3 kB Details

Release files / ThermCoeff-0.2.tar.gz

Download URL ThermCoeff-0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c351065a602ae972b2d13b5fd2bc6805cf793b262c3c3783f402122e08743e01
BLAKE2b-256 checksum
How to use checksums
6e400af770887d2c11c3b16bec3d2115d777bf861c5f3f1d7c9b36af1afa223b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page