Giter Club home page Giter Club logo

spinodal-decomposition's Introduction

Spinodal-Decomposition

MATLAB function used to generate and record Cahn-Hilliard spinodal decomposition models

Sample GIF 1

Usage

Simply call the function with the desired system constants and the model will be generated and recorded! This function also allows for the customization of model grid size (performance limited), frame/capture methods, colormap, video name, and many other paramters. Model and coefficient details can be found on the Wikipedia page here. See spinodal_decomp.m for the full documentation and more examples.

Examples

The above sample was created with the following function call:

spinodal_decomp(10,3,'CaptureMode','incremental','NumIterations',50000);

A wide variety of behavior and appearance can be generated by altering the constants and model paramters. The below sample was created from the following call:

spinodal_decomp(10,10,...
                'CaptureMode','incremental',...
                'Colormap','jet',...
                'ImgStyle','true',...
                'NumIterations',25000);

Sample GIF 2

Experiment Away!

License

License

spinodal-decomposition's People

Contributors

nsbalbi avatar

Stargazers

 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.