Skip to main content
16-Pearl
April 14, 2018
Solved

Solve Block Indexing

  • April 14, 2018
  • 1 reply
  • 2219 views

I'm looking at pipe flow in a series/parallel configuration.  Each pipe/flow/head is an index.  It works if I type in all the head loss equations individually, but I'd like to use a loop to automate it.  But, Mathcad doesn't seem to like it.  

This works:

2018-04-13_19-17-53.jpg

 

This doesn't work (no solution found):

2018-04-13_19-21-03.jpg

 

Any way to get it to work?

Thanks,

4.0 attached.

Best answer by Werner_E

Any way to get it to work?

Here are two ways to make it work. The first one uses vectorization and is the preferred one.

Bild1.png

------------------------------------------

Bild2.png

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
April 14, 2018

Any way to get it to work?

Here are two ways to make it work. The first one uses vectorization and is the preferred one.

Bild1.png

------------------------------------------

Bild2.png

DJF16-PearlAuthor
16-Pearl
April 14, 2018

Ah, excellent work as always Werner.  I actually used the fun(Q) solution - as I need to add Moody factors and whatnot.  

Thanks!

P.S. Don't you ever sleep?

25-Diamond I
April 14, 2018

Sleep is overrated 😉