How to mate a part preventing protrusion

Hi all

Does anyone know, given two parts, how to mate them together so that they won't protrude through each other during motion study (one is spring loaded)? I have an assembly like below:

where the pistons are supposed to touch the inner face of the brass ring. I've added tangent mates between the spherical faces and the ring's inner face. However, when motion study is run, it immediately gives this

which isn't expected given that they're all specified as solid bodies. Here's a video of what I did.​

Any help appreciated.

Thanks

SolidworksAssemblies
Answers 15
SL
SL 2016-03-07 Best Answer

Have you created precision contact sets for these parts?

JM
JM 2016-03-07

Hi Shaodun,

Yes, I have.

comment imagecomment image
AS
AS 2016-03-07

Try to define the contact between components which are going to protrude. Ensure to use Basic motion or Motion analysis under type of study as only these type studies resolves  defined contact between components.

comment imagecomment image
KP
KP 2016-03-07

John,

It looks like the tangent mate is reversing. Perhaps mate it a different way or try to add a control mate to prevent this. I don't do many motion studies but I know tangent mates can cause issues in general assemblies with them flipping over.

JM
JM 2016-03-07

Hi Anurag,

I already have. Every part is defined as a separate body. I'm also using Motion Analysis.

Thanks

JM
JM 2016-03-07

Hi Kevin,

Am I supposed to get away without tangent mates though? Since both the pistons and the ring are solid bodies, and the pistons are spring loaded, the spherical ends should naturally press against the ring's inner face, right?

KP
KP 2016-03-07

John,

Yes, the they would naturally press against inner face in reality but SolidWorks gets confused (or makes it's own decision where you want  the mate) & can flip the tangent mate to the opposite side of the inner face which is still obeying the mate rule with te sphere of the piston. Perhaps you could try adding a max min distance mate to the piston to stop it protruding too far?

SL
SL 2016-03-07

Can you try this?

I created a very simple model.

The part inside the circle will not protrude out.

TV
TV 2016-03-07

Perhaps you could add a sketch point in your spherical parts at the contact point. This point could be mated coincident to the ring.

Of course this requires that the contact point is always the same.

AS
AS 2016-03-07

HI Kevin,

If you have defined the contacts correctly, it will not require the tangent mates and should not protrude out. If possible, can you share the simplified assembly...

JM
JM 2016-03-07

Hi Anurag,

Sure. Here it is.

JM
JM 2016-03-07

Hi Shaodun,

Indeed, your assy works fine and the parts don't protrude through the ring. Our assemblies are quite similar, so I wonder if it's a bug with 2016. Are you on 2016?

I've simplified the assembly to consist of just one ring, two pistons and one connecting rod.

AS
AS 2016-03-07

Hi Kevin,

Under Basic motion contacts are working as expected, I am not sure why it is not working in Motion Analysis

SL
SL 2016-03-07

Hi John:

I opened your assembly with SW2016SP02, and modified some mates.

I think it works now. But not sure the result is what you expected.

Regards

JM
JM 2016-03-07

Hi Shaodun,

Your assembly works perfectly. I now see what's needed - basically the moving parts need to be somewhat boxed to prevent wiggling.

Thanks so much!