-
C code for precipitate evolution.
-
It solves Allen-Cahn and Cahn–Hilliard equations using FFTW3.
-
Compile the code using "make". Compilation creates "FFT_2D_ppt.out" file.
-
Execute "./FFT_2D_ppt Input.in Filling.in output"
-
Authors: Dasari Mohan and M P Gururajan
-
This is alpha version of the code and check for updates in future release.
-
Copyright (c) 2021 Materials and Process Modelling Laboratory,
-
Department of Metallurgical Engineering and Materials Science,
-
Indian Institute of Technology Bombay, Mumbai 400076 INDIA
This code solves the problem of precipitate growth using a multiphase field solver on the GPU. The code is tested on Tesla P100 and Tesla V100. For Tesla K80, one needs to comment "CudaMemPrefetchAsync" in solverloop/evolve.h
To run the code use
- "make" to create executable kks.out
- Execute "./kks.out Input.in Filling.in Output"
The code uses CUDA version 11, CUFFT and CUDA-CUB libraries. nvcc version 11.2 is used for compilation of the codes. Input.in contains all numerical and physical parameters used in the simulations. Makefile creates a DATA folder where the datafiles (in the form of VTK files) are stored. VTK files can be viewed using Paraview.
This is the alpha version of code. We will continue to add more features in future release.
- GPU Phase-Field Developer Team @ IITH (Pankaj, Saurav Shenoy, Saswata Bhattacharya)
The following contributers are acknowledged
- Tushar Jogi
- Hemanth Kumar Sandireddy
-
OpenCL code for solidification microstructure evolution
-
Compile the code using "make". Compilation creates "kim_soldfn.out" file.
-
GEdata_writer.py is used for generation of Gibbs energy and its derivatives
-
To generate Gibbs energies and execute the program
-
run "./kimsldfn.sh Input.in Filling.in Output"
-
It is always safe to run above command for execution of the code.
-
If Gibbs energies are generated already then generating
-
Gibbs energies can be skipped and directly execute following command.
-
Execute "./kim_soldfn.out Input.in Filling.in Output"
-
Authors: Dasari Mohan and G Phanikumar
-
Acknowledgement to P. Gerald Tennyson for contributions towards code development at IITM
-
This is alpha version of the code and check for updates in future release.
This repository is a fork of Phase-Field-DynamicMeshing. The addition primarily is the documentations. The description of each directories are given below:
It contains the Doxygen configuration file, generated HTML and LaTeX documentation files from the source codes. To access HTML documentation, open html/index.html. To access LaTeX generated PDF documentation, open pdflatex/refman.pdf.
It contains the source files of the solver.
It contains the R Markdown files for creating the HTML (userGuide.html) and PDF (userGuide.pdf) documentations of the OpenFOAM cases.
It contains the OpenFOAM case files required to run the free growth problem.
It contains the OpenFOAM case files required to run the directional solidification problem.
Python GUI application for generating Infile and Filling files.
- Python v3.5 and later
- pyqt5 Library
To check the version installed, open a terminal window and entering the following:
python --version
If installed python version is 3.5 or above then you can continue to install pyqt5 library using pip. To install python or upgrade older python version follow next step -
Download setup from https://www.python.org/downloads/ and follow the instruction.
If you are using Ubuntu 16.10 or newer, then you can easily install Python 3 with the following commands:
sudo apt-get update
sudo apt-get install python3
If you’re using another version of Ubuntu (e.g. the latest LTS release) or you want to use a more current Python, we recommend using the deadsnakes PPA to install Python 3:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3
If you are using other Linux distribution, chances are you already have Python 3 pre-installed as well. If not, use your distribution’s package manager. For example on Fedora, you would use dnf:
sudo dnf install python3
Download the https://bootstrap.pypa.io/get-pip.py file and store it in the same directory as python is installed. Run the command given below: python get-pip.py and wait through the installation process.
To Install PIP3(For Python 3+):
sudo apt install python3-pip
pip install --upgrade pip
pip install pyqt5
To run the code use python ./InfileGenerator.py
Developed by- Ajay Sagar
