Giter Site home page Giter Site logo

slipanalysis's Introduction

slipAnalysis

This code calculates and plots schmid factors, plane traces and opening angles in a deformed sample Load your EBSD file in .txt format from TSL OIM or other Pick a grain and a lattice (e.g. BCC, FCC, HCP not implemented yet!), the programm will:

  • compute all Schmid factors, plot and save them
  • compute all plane traces, plot and save them
  • compute all opening angles in the reference frame of the slip band, and save them Conventions: loading direction = horizontal (message me if you'd like me to make it a parameter of the code) Euler angles = Bunge's convention (angles are all in degrees, though there's a function in crystallography.py you can change to convert them if needed, message me if you'd like this to be a parameter in the code)

How to

Download both files and change the path to your grain file. You want to edit the analyzeGrain.py file only:

  • 1/ pick your lattice
  • 2/ pick your grain # of interest
  • 3/ hit 'run' and check the results!

Example

Here's an example of the code's output, for a grain of Euler angles (194.3,83.2,68.1) in a BCC lattice, grain '48' in 'grainFile2.txt'

Schmid factors

Schmid factors for {110} planes: grain_48_sf_110 {112} planes: grain_48_sf_112 {123} planes: grain_48_sf_123 {134} planes: grain_48_sf_134

Plane traces

Traces of {110} planes: grain48_traces_110 {112} planes: grain48_traces_112 {123} planes: grain48_traces_123 {134} planes: grain48_traces_134

Gamma angles

Opening ('gamma') angles are to be considered when you are using a discontinuity-tolerant DIC code (e.g. Heaviside DIC, as in F. Bourdin, JC. Stinville et al., Measurements of Plastic Localization by Heaviside-Digital Image Correlation, Acta Materialia 157, pp.307:325 (2018), doi: 10.1016/j.actamat.2018.07.013, https://www.researchgate.net/publication/326406014_Measurements_of_Plastic_Localization_by_Heaviside-Digital_Image_Correlation). This angle is calculated in the reference frame of the slip band and enables to determine the slip direction among discrete possibilities, once the slip plane is known. See above publication for more details, as well as MA. Charpagne, JC. Stinville et al. Materials Characterization (2020), details to come. Convention for the gamma angle: additionalFigure (see above publication for more details). Gamma angles are saved in a .txt file when you run the code.

slipanalysis's People

Contributors

charpagne avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

slipanalysis's Issues

About the Heaviside DIC

I noticed that you mentioned Heaviside DIC algorithm and it can be combined with this slipAnalysis program. Could you please share some implementation code of Heaviside DIC with me? Thanks a lot!

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.