Modeling of polymeric materials with applications in active materials and additive manufacturing