I have a system with a spring inside a housing. The housing has a notch that fits the spring inside, and is slightly wider than the spring (front view). The depth of the notch is about half the spring diameter, so the spring sticks out about halfway (side view). The top and bottom of the spring contact the edges of the notch(top and bottom), which hold it in place. There is a second housing that goes over this, with a similar notch for the spring. This piece moves up and down, compressing the spring as it moves down. There is an issue with the springs bending up on the side of the housing. My thought was that this is happening because the notch in the housing is too wide, thus allowing the spring to sit in the housing at an angle, which eventually catches the wall and starts bending the spring.
I want to try to simulate this behavior to verify my theory, but I've never done any sort of spring simulation before and have no idea where to start. Any pointers on how to go about this?
Also, sorry if the description was incredibly confusing, I don't really have any pictures that I can attach.