Additional parameters for waterhammer calculation

 

Waterhammer is a transient process in a pipeline system - i.e., the process of transition of the operating mode of a given system from one stationary state to another. For example, the calculation of waterhammer caused by the closing of a valve is the calculation of the process of transition of a pipeline from the state in which the valve is open to the state in which it is closed. Therefore, to perform the calculation of waterhammer, first of all, it is necessary to calculate the stationary (steady-state) flow (isothermal flow analysis, diameters calculation or thermal calculation), the results of which will serve as the starting point for modeling the waterhammer transient process.

 

In addition, to perform the calculation of waterhammer, it is also necessary to specify a number of additional parameters and settings. For convenience, the tabs and fields with these parameters are highlighted in a separate color (green) in the program windows. These include:

 

 

Events causing waterhammer

 

Like all other transient processes, the waterhammer process is initiated by various types of events. Hydrosystem provides a calculation of waterhammer caused by the following types of events:

 

It is possible to specify one or several different (including non-simultaneous) events. To specify such event, select the corresponding piping component causing waterhammer (valve or pump) and open the "Waterhammer" tab for it in the Object Properties Window.

 

For valves on this tab, you need to set the following parameters:

 

 

 

 

When calculating the waterhammer caused by pump trip/startup, it is necessary to set the following parameters for the pump on the "Waterhammer" tab :

 

 

 

where is the total moment of inertia of all rotating masses on the shaft of the "pump + electric motor" unit (kg*m2) ; is the nominal rotation frequency of the electric motor magnetic field (sec-1); is the torque of the pump at this frequency (N*m).  

 

The run-out time is an integral parameter characterizing the inertial properties of the rotating parts of the "pump + electric motor" unit. If all the above parameters are available in the pump's passport characteristics (or they can be determined empirically), the run-out time can be calculated directly using the formula above and entered in the corresponding field. If some of this data is difficult to obtain or their reliability is questionable, it is recommended to use some "characteristic" values of the pump run time in the calculation. Practice shows that often an increase in the run-out time even several times does not cause significant changes in the overall picture of the waterhammer process. Therefore, even an approximate value of the pump run-out time can provide acceptable accuracy of the waterhammer calculation;

 

 

Boundary conditions at pipeline nodes

 

For most pipeline nodes, the boundary conditions for waterhammer calculation are predetermined by the calculation method. For example, in branch connection nodes, the boundary conditions are the balance of flow rates in the node and the coincidence of pressures (the pressure values themselves are either specified in the initial data or determined during the calculation of steady-state flow). And the end nodes of the pipeline, which contain "point" hydraulic resistance (for example, the pipe entrance/exit or valves), are considered as nodes of shock wave reflection, and the boundary condition for these nodes is the constant pressure in the node (the value of which, again, is either specified in the input data for the nodes or determined during isothermal, heat or other calculation of steady-state flow). It is not necessary to specify boundary conditions for such nodes.

However, for pipeline end nodes that do not have "point" hydraulic resistances, you can specify different boundary conditions for the calculation. To do this, select such a node and open the "Waterhammer" tab in the Object Properties Window (if this tab is missing for the node, then either this node is not a terminal node or there is a point resistance adjacent to it):

 

 

By default, for such a node, the reflection of shock waves is taken into account and the boundary condition is the constant pressure in the node, but if necessary, here it is possible:

 

 

After loading the .csv file, you must specify the type of approximation of the dependence given in this file (linear, trigonometric or spline) in the corresponding drop-down list. The loaded .csv file can be opened in Microsoft Excel (if it is installed on this computer) by clicking on the corresponding button to the right of the switch.  

 

When setting boundary conditions at the end nodes of a pipeline, you should carefully study the operating principle of the pipeline system and understand what exactly each of the start and end points of the pipeline model is (what they model, the connection of the pipeline to some equipment or something else), and then set a suitable condition for each of them (except for those in which the point element is located).

 

 

Viewpoints

 

The calculation results of any transient process, including the waterhammer process, are most conveniently presented in the form of graphs of the change in time of the flow parameters in the pipeline (pressures, fluid velocities, etc.) at the points of interest in the pipeline. To add such points (in the Hydrosystem they are called "viewpoints"), you must activate the "Point Values" command  of the Waterhammer toolbar, then right-click on the desired location for adding the point on the pipeline diagram (in the current version of the program, points can only be added to straight pipes) and select the appropriate item from the pop-up menu:

 

 

In the window that appears, you need to specify the name of the point and indicate its location relative to the beginning of the selected pipe:

 

 

The added point will be displayed on the pipeline diagram. In the same way, you can edit the name/location of the already added viewpoint (as well as delete it) by right-clicking on it on the diagram with the activated "Point Values" command  of the Waterhammer toolbar.

The number of viewpoints for a pipeline is unlimited, but adding a viewpoint "every 10 meters of pipe" usually does not make much sense, since when passing such short distances, the shock wave, as a rule, does not undergo significant changes (neither weakens nor strengthens). Therefore, the calculation results for such points will be identical. Usually, viewpoints are added in the places of the pipeline that are of greatest interest (for example, before and after the valves or pump with a changing state, where, as a rule, the pressure rise has a maximum), as well as in the most "old" sections of the pipeline and elements that can withstand the least load.

 

 

Parameters for calculating the shock wave velocity

 

The magnitude of the pressure increase during a waterhammer, as well as the time periods of oscillations in the flow parameters in the pipeline, largely depend on the speed of propagation of the shock wave. When the program determines the speed of the shock wave, the calculation takes into account both the value of the isothermal speed of sound in the liquid and the correction for the elasticity of thin-walled pipes (the latter only in the case when the outer diameter of the pipeline and the coefficient of elasticity of the pipe wall material are specified).

The isothermal speed of sound in the fluid generally is calculated automatically. However, it is important to note that the thermodynamic library "Properties" does not allow calculating the speed of sound in a liquid, as well as the default thermodynamic model of the Simulis Thermodynamics library. In addition, when manually specifying the thermophysical properties of the fluid, the speed of sound can only be calculated if the compressibility coefficient of the liquid is specified (it is specified among the waterhammer calculation settings on the "Waterhammer" tab of the Object Properties window for the pipeline). Therefore, to correctly take into account the speed of sound when calculating the waterhammer, it is recommended to use the following methods for defining the fluid:

 

 

In all other cases, the speed of sound in the calculation will be assumed to be equal to some average value of 1000 m/s.

 

In addition, to correctly account for the correction for the elasticity of thin-walled pipes when calculating the shock wave velocity, you should specify the outer diameter of the pipeline along with the internal diameter when specifying branches, reducers and other elements with a change in diameter, and also specify the material of the pipeline wall or enter the value of its elastic modulus (coefficient of elasticity). To do this, select the pipeline in the project tree and then open the "Environment" tab in the Object Properties Window:

 

 

This is especially important for thin-walled pipes of large diameter, since for them the correction for the elasticity of the pipes can be significant.

 

 

Waterhammer calculation settings

 

To set general settings for calculating waterhammer, select a pipeline in the project tree and open the "Waterhammer" tab of the Object Properties Window for it. The following information is displayed there:

 

 

 

 

Please note that it is necessary to distinguish between such concepts as the waterhammer "calculation step" of the "data output step" for the results of its calculation. If the output step shows the accuracy with which the calculation results should be output, then the calculation step shows the accuracy with which the calculation itself is performed, and the values of these two parameters may not coincide. The output step is specified by the user in the waterhammer calculation settings, while the calculation step is selected by the program automatically as the smaller of two values - the ratio of the length of the shortest pipe in the pipeline to the shock wave propagation speed and the data output step specified by the user. That is, even if the user has specified a relatively high value of the output step, then in this case the waterhammer calculation will be performed with sufficient accuracy so that the shock wave is "caught" in each, even the smallest, section at least once (it's just that not all of the time points for which the flow parameters were determined will be output in the calculation results). And if the user specifies a small value of the output step, then the calculation step is taken the same in order to guarantee the specified accuracy of the results.

 

 

 

 

Calculation and export of the unbalanced forces caused by waterhammer

 

In addition to calculating the flow parameters in the pipeline (pressures, fluid velocities, etc.), when calculating water ammer, you can also determine the unbalanced forces that arise during a waterhammer between any pairs of viewpoints in pipeline. To calculate such forces, first of all, you need to specify between which pipeline viewpoints (for more information on specifying viewpoints, see above) they need to be determined. To do this, select the pipeline in the project tree, open the "Waterhammer" tab of the Object Properties Window for it and click the "Force sets…" button in it:

  

 

To add/remove/edit forces tables in the window that appears, use the corresponding buttons in the upper right part of this window.

When specifying tables of forces for points between which the force will be calculated, you can enable or disable the incorporation of forces at the point itself. Disabling the incorporation the value of force at a point may be required in cases where this point is on the boundary of the pipeline calculation model (for example, in a plug, equipment, junction with another pipeline, etc.) and if there is confidence that this part is fixed good enough to perceive forces and do not transfer them to the part of the pipeline under consideration (for example, there is an anchor in this point or an equipment support). Otherwise, the forces at the point should be taken into account.

 

 

Please note that both viewpoints between which the forces are calculated must be located in the same branch of the pipeline and on the same line.

If force sets are specified for a pipeline, then when performing a waterhammer calculation, in addition to the flow parameter values in the pipeline (pressures, fluid velocities, etc.), unbalanced forces between specified points and their change over time will also be calculated. The calculated forces can then be viewed as graphs of their change over time using the corresponding menu command "Analysis – Charts at Viewpoints" or the Waterhammer toolbar, and also exported to the CAESAR II pipeline stress analysis program (for more information, see here) to take them into account in the piping stress calculation.

The Hydrosystem also provides for the calculation of forces arising at a waterhammer in the nodes and resistances of the pipeline and their subsequent export to the "START-Prof" piping stress analysis software. A detailed description of this function is given here.