Skip to content
/ gg Public

Grain growth cellular automata model in APL

License

Notifications You must be signed in to change notification settings

yiyus/gg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grain growth model in APL

Dyalog APL script to perform grain growth simulations. The model is a slightly simplified version of:

Installation

Download and extract into some directory.

Usage

First, make sure Dyalog version 18.2 or higher is installed, and set the simulation parameters editing the gg.json file (the comments in the file explain the meaning of each parameter). Then, run the gg.apls script on a command window or double-click the corresponding icon.

Alternatively, from the Dyalog interpreter:

2⎕FIX{⍵⌿⍨(' '=⊃¨⍵)∨':{}'∘(∨/∊)¨⍵}⊃⎕NGET'gg.apls'1
Sim'gg.json5'

Plotting

The script 'plotgg.m' can be used to plot the initial and final microstructures with MTEX. Eg:

plotgg('./gg_')

jgl@dyalog.com 2023

About

Grain growth cellular automata model in APL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published