Git Product home page Git Product logo

allen-cahn-cuda's Introduction

Allen Cahn CUDA (Phase-Field Simulation of Dendritic Solidification)

Description: This CUDA program does phase-field simulation of dendritic solidification based on these references:

  1. Yung-Tae Kim, Nikolas Provatas, Nigel Goldenfeld, and Jonathan Dantzig, Universal dynamics of phase-field models for dendritic growth, Phys. Rev. E 59, R2546(R)

  2. Anand Kumar, Isotropic finite-differences, Journal of Computational Physics, Volume 201, Issue 1, 20 November 2004, Pages 109-118

Dependencies: CUDA Toolkit 9.2, GCC 6.3, VTK 8.2, CMake 3.10.0

In order to compile the program use these commands in UNIX shell terminals:

git clone [email protected]:myousefi2016/Allen-Cahn-CUDA.git
cd Allen-Cahn-CUDA && mkdir build && cd build
cmake .. && make

To run the program after compilation just running this command:

mkdir out && ./Allen-Cahn-CUDA

It will store the results in out directory as vtk files. Good luck and if you use this piece of code for your research don't forget to give attribute to this github repository. Also this program is tested on a cluster with Tesla V100 gpus. If you don't have access to this type of gpu, you could reduce the simulation size by changing these lines in main.cu file.

#define DATAXSIZE 600
#define DATAYSIZE 600
#define DATAZSIZE 600

alt text

allen-cahn-cuda's People

Contributors

myousefi2016 avatar

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.