Download Product Information Contact us

Home > Libraries > FLUIDA > Water-hammer example

FLUIDA library examples

Water-hammer in a liquid line

This example shows the FLUIDA library capabilities concerning water-hammer analysis in a pipe using a real properties fluid (two phase flow). The pipe is simulated by the "Pipe" component, which takes into account inertia forces, pressure losses, and phase changes.

Pipe example for the FLUIDA library

The model represents a pipe between two boundaries. The left one imposing P-T (5 bar, 300 K) and the right one forces the mass flow circulating through the pipe.

The pipe data are:

A previous steady state is calculated to determine the pipe conditions at a constant mass flow of 5 kg/s. The transient will be started by a sudden flow reduction on the right side; that is, the time dependant mass flow is set to zero in 1 millisecond after 0.05 seconds.

Some result plots are given below. The following phenomena can be seen:

The following plots illustrate pressure evolution in pipe nodes, mass flow at pipe ends, quality evolution in pipe nodes, and density evolution in pipe nodes.

Plot 1 for the Pipe example

Plot 2 for the Pipe example

Plot 3 for the Pipe example

Plot 4 for the Pipe example

back...