engforge.eng.pipes
We’ll use the QP formulation to develop a fluid analysis system for fluids start with single phase and move to others
Pumps Power = C x Q x P
Compressor = C x (QP) x (PR^C2 - 1)
Pipes = dP = C x fXL/D x V^2 / 2g
Pipe Fittings / Valves = dP = C x V^2 (fXL/D +K) | K is a constant, for valves it can be interpolated between closed and opened
Splitters & Joins: Handle fluid mixing
Phase Separation (This one is gonna be hard)
Heat Exchanger dP = f(V,T) - phase change issues
Filtration dP = k x Vxc x (Afrontal/Asurface) “linear”
Classes
Method generated by attrs for class FlowInput. |
|
Base For Boundary Condition Nodes of |
|
Method generated by attrs for class Pipe. |
|
Method generated by attrs for class PipeFitting. |
|
Method generated by attrs for class PipeFlow. |
|
Initialize a filter. |
|
Method generated by attrs for class PipeNode. |
|
Method generated by attrs for class PipeSystem. |
|
Simulates a pump with power input, max flow, and max pressure by assuming a flow characteristic |