Skip to main content
1-Visitor
June 15, 2011
Solved

Using Solve Block Solutions

  • June 15, 2011
  • 1 reply
  • 9250 views

Apologies, as I can see from searching that this is a common question, but I'm still in my first week of using Mathcad. I am using the Colebrook White equation to find the friction factor of a pipe. The solver has returned an answer, but I am unable to find how to use this answer in the rest of my worksheet. I have defined my roughness, diameter and reynolds number already - and want to use the friction factor in subsequent formulae.

Many thanks in advance

Mark

Best answer by MikeArmstrong

Right, I'm assuming you want to calculate the friction factor for each Reynolds Numbers (Generating and Pumping), therefore I have turned the solve block into a function so each Reynolds number value can be called.

Mike

1 reply

1-Visitor
June 15, 2011

Your solve block is set up incorrectly.

You say you have calculated Reynolds number - then it must be above the Solve block and all other variables used in the Solve block.

Mike

1-Visitor
June 15, 2011

Right, I'm assuming you want to calculate the friction factor for each Reynolds Numbers (Generating and Pumping), therefore I have turned the solve block into a function so each Reynolds number value can be called.

Mike

1-Visitor
June 15, 2011

Thanks for your reply Mike. Your solution seems to be working well, but is it possible to calculate separate friction factors for both pumping and generating? I know these will be virtually identical, but it's for a Master's project, so not a real world scenario. Would I need 2 solve blocks to achieve this?

Thanks

Mark