Skip to main content

Implementation of analytical homogenization models.

Project description

HomoComPy

This packages helps in computing effective stiffness properties of continuous fibre-matrix composite materials, based on analytical homogenization models. It assumes the fibres are transversally isotropic and the matrix is isotropic

Currently, these models are supported:

  • Rule of Mixtures
  • Chamis' model
  • Mori-Tanaka (based on a closed-form expression)

Installation

pip install HomoComPy

Get started

How to calculate the effective properties of a fibre / matrix composite with this package:

from homocompy import rule_of_mixtures, chamis_model, mori_tanaka

fvf = 0.5  # fibre volume fraction [-]

# Fibre properties - units in GPa - transversally isotropic
f_e11 = 230.0  # Young's modulus 11
f_e22 = 20.0  # Young's modulus 22
f_v12 = 0.2  # Poisson coefficient 12
f_g12 = 30.0  # Shear modulus 12
f_g23 = 7.0  # Shear modulus 23

# Matrix properties - units in GPa - isotropic
m_e = 4.0  # Young's modulus
m_v = 0.3  # Poisson coefficient

# Calculate effective properties
# Results is a tuple of floats: (e11, e22/e33, v12/v13, v23, g12/g13, g23)
results_rom = rule_of_mixtures(fvf, f_e11, f_e22, f_v12, f_g12, f_g23, m_e, m_v)
results_chamis = chamis_model(fvf, f_e11, f_e22, f_v12, f_g12, f_g23, m_e, m_v)
results_mori_tanaka = mori_tanaka(fvf, f_e11, f_e22, f_v12, f_g12, f_g23, m_e, m_v)

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

homocompy-1.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

homocompy-1.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file homocompy-1.1.1.tar.gz.

File metadata

  • Download URL: homocompy-1.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for homocompy-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e508c83d14fdb96ca870d3696953154774d57b1f7a7cd384f27a0551aca6f30b
MD5 637fd4538461dba6d31e5a6fb131e791
BLAKE2b-256 14dcd2d394276987dff0b9e25c4bc4211cae14e2fabb267a0a801e648f46ddd2

See more details on using hashes here.

File details

Details for the file homocompy-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: homocompy-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for homocompy-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cd19fc2b60cd9d0cbcc1485fc73c0e72f8d8eb3a80ab67b8971e00875f7f41e
MD5 bfd5723d836e35c0c5c576bc2ea454a3
BLAKE2b-256 e4ba930c62939794607f8d176b3bd426acef61d975c1cccead76898bdd55d14c

See more details on using hashes here.

Supported by

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