My professor recently tasked me with first understanding maxwell's stress tensor and then applying it to analyze the force produced by a linear pull type solenoid. However after having studied the stress tensor I am not sure that I can apply the stress tensor to a solenoid. I don't believe that the electric force F = E*rho, where E is the electric field and rho is the charge density. In my understanding of how a solenoid operates the current flowing through the wires generates a Magnetic field, H, which in turn magnetizes the plunger. The plunger then wants to minimize the current flowing through the wires so it moves in closing the air gap. So the force generated is purely magnetic. Am I right in thinking this or can maxwell's stress tensor be applied to it. Also if it cannot be applied to a solenoid can you give me an example of something it may be applied to?