Water Hammer – Multibody, Multi-Domain Physical Model in MapleSim – Maplesoft

Water Hammer

When a valve at the end of a pipeline suddenly closes, a pressure surge hits the valve, and a pressure wave travels along the pipeline.

In this model, a discretized pipeline (with inertial and resistive properties) is initially pressurized at one end to create flow. After two seconds, a valve at the other end is closed. A pressure surge at the valve is observed.

Additionally, a Maple worksheet that models Water Hammer by solving the governing PDEs (through spatial discretization to give ODEs) is available from the Application Center.

The MapleSim model and Maple worksheet give consistent results.


Download this MapleSim model

This model requires MapleSim. If you do not have MapleSim, contact us for a live demonstration.

  • How this model works and how it was developed
  • How this model can be modified to fit your requirements
  • How we can assist you in developing your own models to solve your engineering design problems

Let Maplesoft Engineering Solutions provide you with the expertise and tools you need to meet your project requirements quickly and effectively. Ask our experts today!

Contact us today

If you have MapleSim, download the model here:

Download the Model


Request an S-Function

MapleSim Models can be readily exported as royalty-free S-functions. To request the S-function corresponding to this model, please fill in the form below.

Model: Water Hammer

Submitting form...

Thank you for requesting the S-Function. Your request has been received and you can expect to hear from us shortly. Close Window
Oops! There was a problem. Try again later Close Window
Model Images
  • Model schematic of the system Model schematic of the system
  • Simulation results Simulation results
  • 2D Visualization of the model