Fluid transient analysis by the method of characteristics using an object-oriented simulation tool

Abstract This paper presents the development of an efficient, interactive and fully extendable computer code to analyse hydraulic transients – water hammer – using a generic object-oriented modelling and simulation (OOMS) tool to simplify and shorten the development process. OOMS tools provide conti...

Full description

Saved in:
Bibliographic Details
Published inJournal of hydroinformatics Vol. 24; no. 6; pp. 1234 - 1253
Main Authors Pérez, Ramón, Dormido, Sebastián
Format Journal Article
LanguageEnglish
Published London IWA Publishing 01.11.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Abstract This paper presents the development of an efficient, interactive and fully extendable computer code to analyse hydraulic transients – water hammer – using a generic object-oriented modelling and simulation (OOMS) tool to simplify and shorten the development process. OOMS tools provide continuous simulation features by means of ordinary differential equation (ODE) and differential algebraic equation (DAE) solvers, and discrete simulation features by means of event handling algorithms. Previous OOMS tool applications to simulate fluid flow in pipe networks primarily used semi-discrete methods with continuous solvers. A novel aspect of this work is the application of the method of characteristics (MOC) using the discrete simulation features of the OOMS tool. When compared to a code developed with an OOMS tool using a semi-discrete method and to commercial software that uses the MOC, the new code shows much higher accuracy and performance than the former and is similar to the latter in accuracy and calculation time. It has a graphical user interface, and its modularity makes it easily extendable with new components and algorithms. An academic version is available on github.
ISSN:1464-7141
1465-1734
DOI:10.2166/hydro.2022.067