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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Solve Block Indexing

DJF
16-Pearl
16-Pearl

Solve Block Indexing

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:DJF)


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

View solution in original post

5 REPLIES 5
Werner_E
24-Ruby V
(To:DJF)


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

DJF
16-Pearl
16-Pearl
(To:Werner_E)

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?

Werner_E
24-Ruby V
(To:DJF)

Sleep is overrated 😉

Underrated.

-MFra-
21-Topaz II
(To:DJF)

WE let me joke a little ..... Since you are active 24h on 24h, Maybe you have microprocessors instead of neurons ..... in the brain of course .......

Top Tags