Method of Characteristics for Fluid Transmission Line
Method of characteristics solution of dynamic pressure and flow in a fluid pipeline (e.g. water hammer). This follows Johnston's equations but adds the ability to have radius, wave speed, and/or density vary along the length of the tube. Allows for open, closed, anechoic, or resistive boundary conditions at the inlet and outlet. Includes vectorized code for fast calculation.
Cite As
Travis Wiens (2025). Method of Characteristics for Fluid Transmission Line (https://www.mathworks.com/matlabcentral/fileexchange/83858-method-of-characteristics-for-fluid-transmission-line), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
MOC_solver
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |