Skip to content
/ arche Public
forked from arche-tool/arche

A tool for parent phase reconstruction after martensitic transformations.

License

Notifications You must be signed in to change notification settings

snayir6/arche

 
 

Repository files navigation

Build Status

Arche

Arche (/ˈɑːrki/; Ancient Greek: ἀρχή) is a Greek word with primary senses "beginning", "origin" or "source of action" (εξ’ ἀρχής: from the beginning, οr εξ’ ἀρχής λόγος: the original argument), and later "first principle" or "element". Wikipedia

Arche is a software tool for the reconstruction of the prior parent phase after martensitic transformation.

Find more information about the underlying algorithm and its use at the WIP documentation

Installation

Arche is written in Haskell and the visualization is done in Paraview (VTK files). Therefore the following softwares need to be installed:

Once the stack is installed, open a terminal (cmd.exe in Windows), go to a folder where the files will be placed on and then run the following commands:

git clone [email protected]:arche-tool/arche.git
cd arche
git submodule update --init
stack install

In order to update to the latest modifications, go the folder that contains the source files and run the following commands:

cd arche
git pull
git submodule update --init
stack install

Note that the internet access is required in order to download all the other dependencies.

Basic Usage Example

There are three commands available on Arche:

  • micro-features: output basic processing of ANG files to be visualized on Paraview. Point properties, representing grain properties, such as orientation and phase will be shown in the *.vtr file. Line/surface properties, representing grain boundary properties, such as misorientation will be shown in the *_faces.vtu file.
arche micro-features -i ~/Desktop/lab/sample1.ang -o ~/Desktop/folder/baseName
  • optimum-OR: find the actual orientation relationship between alpha grains and also provides the deviation from the theoretical Kurdjumov-Sachs <1,1,2> 90-deg
arche optimum-OR -i ~/Desktop/lab/sample1.ang
====================== Calculated ======================
Error: FitError {avgError = 2.5 deg, devError = 1.4 deg, maxError = 9.0 deg}
OR: [90,84,185] 90.4 deg
Direct deviation from KS: 2.8 deg
Deviation from (111) <-> (110): 0.7 deg
Deviation from [110] <-> [111]: 2.8 deg
  • reconstruction: Reconstructs parent phase grains from siblings alpha grains. It's necessary to provide the phase ID of the phase as specified in the ANG file. And, in order to improve the accuracy, it's better to provide the actual orientation relationship calculated using optimum-OR
arche reconstruction --or "(90,84,185,90.4)" -g 1  -i ~/Desktop/lab/sample1.ang -o ~/Desktop/folder/baseName

About

A tool for parent phase reconstruction after martensitic transformations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 67.3%
  • Elm 25.8%
  • HTML 2.0%
  • JavaScript 1.8%
  • Makefile 1.5%
  • Dockerfile 1.2%
  • CSS 0.4%