Three-dimensional adaptive phase field modeling of directional solidification of a binary alloy: 2D–3D transitions