Modeling and Simulation of Liquid-Crystal Elastomers