This is a collection of some simple phasefield problems solved in MATLAB
- Some basic exercises to get started with MATLAB
├── basic_exercises
│ ├── IdealSolution.m
│ ├── PhaseDiagram.m
│ ├── RegularSolution.m
│ ├── RegularSolutionFunction.m
│ ├── StirlingPlot.m
│ └── fft_basics.m
- Solving 1D difusion equation using explicitlty using Finite Difference Methods (using different boundary conditions) and Fourier Transforms
├── 1D_diff_explicit
│ ├── DiffExplicitFDMv1.m
│ ├── DiffExplicitFDMv2.m
│ ├── DiffExplicitFDMv3.m
│ └── DiffExplicitSpectral.m
- Solving 1D difusion equation using implicitly using Finite Difference Methods (using different boundary conditions) and Fourier Transforms
├── 1D_diff_implicit
│ ├── DiffImplicitFDMv1.m
│ ├── DiffImplicitFDMv2.m
│ ├── DiffImplicitFDMv3.m
│ └── DiffImplicitSpectral.m
- Solving the Allen Cahn equation using Fourier Transforms
├── allen_cahn
│ ├── AC_1D_Spectral.m
│ ├── AC_2D_Spectral.m
│ └── GibbsThomson.m
- Solving the Cahn-Hilliard equation using Fourier Transforms
├── cahn_hilliard
│ ├── CH_1D_FDM.m
│ ├── CH_1D_Spectral.m
│ ├── CH_2D.m
│ ├── CH_FDM_GridPoint.m
│ ├── CH_Photo.m
│ ├── CH_SpectalvsFDM.m
│ ├── CH_Variation_Analysis_A.m
│ ├── CH_Variation_Analysis_kappa.m
│ └── CH_intuition.m
- Spinodal decomposition
└── spinodal
| ├── Spinodal2D.m
| ├── Spinodal2D_EnergyPlots.m
| ├── Spinodal3D.m
| ├── SpinodalPhaseDiagram.m
| └── write_vtk_grid.m
- Fan-Chen model for two grain system
├── fan_chen
│ └── FanChen.m
- How the solution to the Diffusion equation is affected by choice of 'dx' and 'dt'
├── gridsize_effect
│ ├── DiffExplicinFunc.m
│ └── GridPointVariation.m
- Calculation of interfacial width using Cahn-Hiliard equation
├── interfacial_width
│ ├── CH_Interfacial_FDM.m
│ ├── CH_Interfacial_Spectral.m
│ ├── CH_Interfacial_width_direct.m
│ ├── CH_Interfacial_width_func.m
│ ├── CH_Interfacial_width_slope_v0.m
│ ├── CH_Interfacial_width_slope_v1.m
│ ├── CH_Interfacial_width_slope_v2.m
│ ├── CH_Interfacial_width_slope_v3.m
│ └── CH_Interfacial_width_slope_variation.m
- Solving sintering of two particle system
├── sintering
│ ├── free_energy_diff.m
│ ├── micro_sint_pre.m
│ ├── sintering.m
│ └── write_vtk_grid_values.m