cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Mathcad confused when solving equations with units in them.

isharma
1-Newbie

Mathcad confused when solving equations with units in them.

Dear All,

I was trying to solve the variable d, diameter of the pipe.

I could not get the solution. Can any one help me to solve in mathcad.

Untitled.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

Sorry, I don't like your equations.  Try this:

Note:  LAMINAR FLOW ONLY!!

View solution in original post

12 REPLIES 12
LucMeekes
23-Emerald III
(To:isharma)

If you want to solve symbolically, it's better to keep the symbols (by having them undefined), rather than their values.

Besides, the symbolic solver does not work with units, it treats them as (undefined) variables.

Normally assignments (Like V:=Q/A) are not allowed inside a solve block. Only equations (with the bold equals-sign) are.

Success!
Luc

Sorry, I don't like your equations.  Try this:

Note:  LAMINAR FLOW ONLY!!

Thank you for your kind response.

I worked as per your suggestion, I simplified the equation and I got the answer as below.

However, as the Re value I found above 2300 , its turbulent flow. I tried to solve these equations to find ID.

I can not simplify here the equations. There fore, I need to go by Solve or Find function. It will be helpful if you can guide here.

234.jpg

Your units don't balance:

(Reynold's Number does:

So you still have something fundamentally wrong.  If you get Reynold's Number you can approximate the Friction factor.  See Attached

As per your suggestion, I solved the unit issue.

Thanks for your sheet. However I am looking for my answer in different way.

My problem is to find the diameter of the pipe.

First I equate the friction factor equation to laminar flow equation to get the diameter. Once I got the diameter , I back calculated the Reynold;s number.

As the R value greater than the laminar flow, I am interested to find the diameter from the turbulent flow equation.

1234.jpg

I need to find the value of d1= diameter of the pipe from the equations. However, mathcad showing no result found. Please help me out.@

hello.jpg

LucMeekes
23-Emerald III
(To:isharma)

Then try like this:

Does this meet your expectations?

(Oh, it will not solve symbolically... )

Luc

LucMeekes
23-Emerald III
(To:isharma)

Or just (below the definitions of all constants):

Success!
Luc

Thanks LucMeekes for your input and math cad sheet.

However, your sheet doesn't yield any result in my mathcad version 14.

It is showing as shown below only.Please let me know what could be the reason or did i miss anything to get the result.

fine.jpg

This equation also not yielding.

Can you please look into it as well.

hello1.jpg

I got the answer as per your sheet.

Thanks a lot for your kind help.

This forum is really helpful.I learnt a lot from you guys while solving this problem.

Thanks once again.

LucMeekes
23-Emerald III
(To:LucMeekes)

And the Reynolds number is above 2300, so no laminar flow:

Luc

Best I can do; given pipe length and pressure drop, find diameter and velocity.  Not thrilled about the accuracy.

Top Tags