Modeling and simulation of a linear motor in a liquid-frozen deposition system for additive manufacturing