Skip to main content

Module for thermoelastic coefficient identification

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ThermCoeff-0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

ThermCoeff-0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file ThermCoeff-0.1.tar.gz.

File metadata

  • Download URL: ThermCoeff-0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ThermCoeff-0.1.tar.gz
Algorithm Hash digest
SHA256 7b0885ead2cc3a8f1ebc4c9ec11cc9734d92c17d186c322918277017386b9604
MD5 09eb5d13d89818020a209de8455263af
BLAKE2b-256 dd138e6fbb8958ed34ddbfc14dcbcd762fb626970453d38689bcabe9753d1474

See more details on using hashes here.

File details

Details for the file ThermCoeff-0.1-py3-none-any.whl.

File metadata

  • Download URL: ThermCoeff-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ThermCoeff-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 591416f1d806f08b4d18f78f332a65a61833976133fb12f6e3603268c179a549
MD5 0ed80154ae4b8b39151d5b588c0fa1a9
BLAKE2b-256 60499c4105aad0e54818c513832bbfae13bfb6af0f4b3bde97d17828d2975d6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page