Skip to main content
1-Visitor
July 19, 2017
Solved

Pressure Resulting from Shrink Fit

  • July 19, 2017
  • 2 replies
  • 3356 views

Hello folks,

MathCAD Prime 3.0 novice user here with a question. I am trying to duplicate example 51.4 from Lindeburg to determine the pressure resulting from a shrink fit betwen two cylinders. I have attached a .PDF of the problem. I have also attached a coply of my MathCAD Prime 3.0 file which I am struggling with.

 

To me, the problem involves solving a system of equations for "P". I have put the entire problem into a solve block but I am not sure if this is the correct approach. The three regions of the solve bloc "Guess Values", "Contraints", and "Solver" regoins seem to run together.

 

Any advice would be appreciated.

 

Best regards,

 

Bill

 

Best answer by Fred_Kohlhepp

The original version of Mathcad used to be very particular about what we could put inside solve blocks.  Take all of your problem definitions outside the solve block.

 

When a parameter depends on the value of a property that might change (like pressure) create a function definition.  (See examples.)

 

Then you wind up with a very small, readily understood solve block.

2 replies

21-Topaz II
July 19, 2017

Hi,

In the solve block you should use the comparison operator, as follows:

ptc------.jpg

1-Visitor
July 19, 2017

Thanks F.M.,

 

I made the suggested changes.  

 

My current syntax for the solve funtion is:

 

find(P):=[  ]

 

This still does not return a result for the pressure "P".  Is the syntax above correct? 

 

Regrads,

 

Bill

21-Topaz II
July 19, 2017

Hi Bill,

Follow Mr. Kolepp's advice

Greetings

23-Emerald I
July 19, 2017

The original version of Mathcad used to be very particular about what we could put inside solve blocks.  Take all of your problem definitions outside the solve block.

 

When a parameter depends on the value of a property that might change (like pressure) create a function definition.  (See examples.)

 

Then you wind up with a very small, readily understood solve block.

1-Visitor
July 19, 2017

Fred,

 

Thanks for your help and the changes you made to my file.  

 

All the best,

 

Bill