Develop an image-based crystal plasticity finite element (CPFE) model. Predict explicit twin formation single crystal and polycrystalline microstructures of hcp materials like Mg alloys. Twin nucleation model is based on dissociation of sessile dislocations into stable twin loops. Twin propagation is due to shearing and shuffling of atoms to reduce the thermal activation energy barrier. Subcycling algorithm is developed for accelerating CPFE fine simulations.