# An efficient cellular automata model for texture prediction A compiled executable of the implemented cellular automata (CA) model is provided. ## System requirements This executable should be used on a Linux platform. No dependencies are required as necessary packages have been statically linked and included within the executable. This executable is built statically on a CentOS Linux (version 7 (Core)) platform with g++ (version 7.3.1). It has been tested on an Ubuntu 20.04.6 platform. The final microstructure can be visualized with ParaView (v5.12). MTEX (5.10.2) can be employed to generate pole figures based on the simulated microstructures. ## Installation guide The executable is ready to use on a Linux platform without installation. ## Demo - 316L steel simulation On a linux platform, one can rerun the simulation for the 316L steel sample with ``` ./main ``` in the working directory. All the parameters for the simulation of 316L steel sample have been hard-coded into the executable. A folder named "res" will be generated within the working directory. Microstructures in plane-YZ and plane-XY will be plotted every 10000 steps. After the simulation finishes, one can find layer-by-layer grain IDs in a HDF5 file "res/result.h5". The Euler angles of each grain can also be found in this file. Microstructures can be then visualized with ParaView. The runtime of this simulation depends on the computational sources. It takes 1 hour with 64 cores of two AMD EPYC 7452 CPUs at 2.35 GHz or 1.5 hours with 8 cores of an Intel Xeon E5-6248R CPU at 3.0 GHz. Compared to the work of Zinovieva et al. and Teferra and Rowenhorst, the current mode is up to two orders of magnitudes faster. ## Instructions for use On a linux platform, one can rerun the simulation for the 316L steel sample with ``` ./main ``` in the working directory.