Giter VIP home page Giter VIP logo

fiberpy's Introduction

Computational methods for fiber-reinforced composites

travis codecov readthedocs pypi

This package provides several computational models for fiber-reinforced composites (thermoplastics reiforced by glass fibers, for instance).

  • Compute the 4th-order fiber orientation tensor from the 2nd-order one (linear, quadratic, hybrid, orthotropic closure models...)
  • Compute the effective thermomechanical properties from the microstructure definition (Mori-Tanaka, orientation averaging...)
  • Compute fiber orientation tensor evolution using the Folgar-Tucker model or its variants (RSC model...)

Some notebook examples can be found in examples.

Documentation is available here.

Installation

To install fiberpy, you are invited to use pip and its associated options

pip install -U fiberpy

Testing

To run the fiberpy unit tests, check out this repository and type

pytest

License

fiberpy is published under the MIT license.

fiberpy's People

Contributors

tianyikillua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fiberpy's Issues

Micro strains and micro stresses calculation

Hi! Great application, it works great for estimating the effective properties of a reinforced material.

I wanted to ask of it would be possible to estimate the micro strains and micro stresses in the matrix and inclusion, after going through the code I don’t see a mention of that.

This can be done through
S_matrix=B_matrix x S_global
where
B_matrix=C_matrix(I + v(Eshelby- I)Localization_tensor)^-1 x C_matrix^-1

but this is only true for a uni directional case. As soon as we add an orientation tensor to this where a1!=a2 or a1!=a3 this does not work anymore as the Eshelby tensor and hence the localization tensor are both defined in the local coordinate system and the stress, Sigma is defined in the global system.

Maybe I’m being stupid about this, but what should be rotated and in which way? Maybe this is already solved and I have just overseen it in the code.

Mori-Tanaka calculation

Hi, I came across your code when trying to find something I could test my own Mori Tanaka calculation code against. My code still doesn't seem to give the right results but meanwhile I can use your code :). However, when l looked at your calculation, it seemed the be a bit different than in the literature

UD = (self.vf * C1 @ B + (1 - self.vf) * C0) @ (

According to eq. (14) in Benveniste (1987, https://doi.org/10.1016/0167-6636(87)90005-6), the composite stiffness tensor is given by

eq14

However, in your code also the term L_1 (or C0) is multiplied by the [ ... ]^-1 factor. In practice there seems to be hardly any difference in the results but I'd be interested to know if there is a reason for the different form?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.