2D projection of a 3D Phasefield simulation computed on a GPU (deeper layers appear bluer, areas of higher concentration of component A appear lighter). The simulation code was developed using OpenCL. Besides the usual Cahn-Hilliard formalism (shown here for an immiscible alloy) the simulation adds plastic deformation, modeled using a simple plane shifting algorithm. Both post processing for visualization as well as characterization using spherically averaged structure factors are computed on the GPU.
The animation on the left shows a 3D random walk originating in the center of a sphere, shown until it first crosses the surface of the sphere. This is called a first passage event. The system is rotated around the x axis to keep the particle in a plane parallel to the screen and going through the center of the sphere. That way it always hits the surface of the sphere at the outer perimeter line, making the first passage event more obvious in the 2D representation.