Bernoulli31
Mechanical
- Jan 13, 2016
- 51
Don't you hate it when you have an excel calculation sheet, done by others, and there's no way for you to tell how the values were calculated?
Case in point, I have a calculation that uses VBA functions. I want to back engineer the calculations, so that I can validate the results. Unfortunately, the owner of the calculation locked the VBA developer, and I have no way to look at the code without a password.
So here's what I'm trying to figure out:
Function calculates the velocity in a pipe with certain diameter. Here's the thing: flow is not considered!
Here's a copy of the table, for thermoplastic pipe:
Size fps psid/100ft GPM
2 4.17 1.2 51.4
3 5.30 1.2 133
4 6.06 1.2 227
Size and pressure loss are input values. fps and GPM are calculated values.
When I look at the in-cell formula (function) for the velocity (fps), I can see the following parameters are used:
Pipe roughness
inside diameter
fluid density
dynamic viscosity
psid/100ft
max velocity (if calculated velocity is higher than max, then max velocity overrides result).
The flow GPM is then calculated based on the fps values, in effect giving us the capacity of the pipe.
So my question is, how can the velocity in a pipe, based on its diameter, be calculated, when the flow is not known, and using the parameters given?
I've looked inside Crane TP, Nayyar handbook, and several other sources. Also did a search in this forum. I must be missing something.
I design aqueducts in a parallel universe.
Case in point, I have a calculation that uses VBA functions. I want to back engineer the calculations, so that I can validate the results. Unfortunately, the owner of the calculation locked the VBA developer, and I have no way to look at the code without a password.
So here's what I'm trying to figure out:
Function calculates the velocity in a pipe with certain diameter. Here's the thing: flow is not considered!
Here's a copy of the table, for thermoplastic pipe:
Size fps psid/100ft GPM
2 4.17 1.2 51.4
3 5.30 1.2 133
4 6.06 1.2 227
Size and pressure loss are input values. fps and GPM are calculated values.
When I look at the in-cell formula (function) for the velocity (fps), I can see the following parameters are used:
Pipe roughness
inside diameter
fluid density
dynamic viscosity
psid/100ft
max velocity (if calculated velocity is higher than max, then max velocity overrides result).
The flow GPM is then calculated based on the fps values, in effect giving us the capacity of the pipe.
So my question is, how can the velocity in a pipe, based on its diameter, be calculated, when the flow is not known, and using the parameters given?
I've looked inside Crane TP, Nayyar handbook, and several other sources. Also did a search in this forum. I must be missing something.
I design aqueducts in a parallel universe.