Characterize the molecular dynamics of materials for 4D printing