User login

Navigation

You are here

MicroStructPy: Generation of statistically representative microstructures with direct grain geometry control

Julian J. Rimoli's picture

I would like to share an article that was recently published in CMAME.

It is about MicroStructPy, a very flexible microstructure generator able to represent various statistics for microstructures with multiple phases. It works in 2D and 3D and you can provide, for each phase, grain size distributions, volume fraction, elongation and orientation distribution for elongated grains, etc.

Actually, the nice thing is that it is entirely written in Python, can be installed via "pip install", and the input file for a microstructure can be written in XML. So there is a very simple learning curve. Also, the source code, examples, and documentation are freely available through an open source license.

Hope you find it useful!

Comments

Ashkan_Golgoon's picture

 Thanks Julián for sharing the code on PyPI. 

 

Ashkan, 

tarkes's picture

Thanks for sharing this information Prof. Dr. Rimoli. I am sure this would be helpful for micromechanics community. It would be interesting for me if the distribution of oriented ellipsoids can be modelled.

Julian J. Rimoli's picture

Hi, thanks for your comment. Yes, this can be done. Here you have the corresponding documentation:

https://docs.microstructpy.org/en/latest/cli/material.html?highlight=ellipsoid#ellipsoid

And here there is an example for 2D elliptical grains (the same procedure carries in 3D):

https://docs.microstructpy.org/en/latest/examples/cli/elliptical_grains.html

Subscribe to Comments for "MicroStructPy: Generation of statistically representative microstructures with direct grain geometry control"

More comments

Syndicate

Subscribe to Syndicate