CN111695306A - Valve transient characteristic simulation method based on three-dimensional water hammer CFD - Google Patents

Valve transient characteristic simulation method based on three-dimensional water hammer CFD Download PDF

Info

Publication number
CN111695306A
CN111695306A CN202010434804.8A CN202010434804A CN111695306A CN 111695306 A CN111695306 A CN 111695306A CN 202010434804 A CN202010434804 A CN 202010434804A CN 111695306 A CN111695306 A CN 111695306A
Authority
CN
China
Prior art keywords
ball valve
dimensional
equation
pipeline
water
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010434804.8A
Other languages
Chinese (zh)
Inventor
周领
曹云
李赟杰
方浩宇
潘天文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hohai University HHU
Original Assignee
Hohai University HHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hohai University HHU filed Critical Hohai University HHU
Priority to CN202010434804.8A priority Critical patent/CN111695306A/en
Publication of CN111695306A publication Critical patent/CN111695306A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/28Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Algebra (AREA)
  • Computer Graphics (AREA)
  • Fluid Mechanics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种基于三维水锤CFD的阀门瞬态特性模拟方法,包括:构建包含球阀的管道的三维数学模型控制方程;根据工况实例,创建包含球阀的管道的三维仿真模型;将三维仿真模型进行网格划分,并对边界层部分和球阀部分进行网格加密确定三维数学模型计算域;引入水体可压缩状态方程、水锤波速方程和球阀动态开关控制函数;根据工况实例确定初始条件和边界条件,求解三维数学模型的控制方程,监测球阀瞬态特性。本申请的方法在三维模拟的基础上,充分考虑了水体可压缩性以及粘性底层对模拟结果的影响,利用三维仿真模型准确、直观地再现了管道中球阀动态关闭的瞬态过程,提高了模拟的精确性,为管道瞬变工况实例提供参考。

Figure 202010434804

The invention discloses a valve transient characteristic simulation method based on three-dimensional water hammer CFD, comprising: constructing a three-dimensional mathematical model control equation of a pipeline including a ball valve; The simulation model is meshed, and the boundary layer part and the ball valve part are meshed to determine the calculation domain of the three-dimensional mathematical model; the water body compressible state equation, the water hammer wave velocity equation and the ball valve dynamic switch control function are introduced; the initial conditions and boundary conditions, solve the governing equations of the 3D mathematical model, and monitor the transient characteristics of the ball valve. On the basis of the three-dimensional simulation, the method of the present application fully considers the influence of the compressibility of the water body and the viscous bottom layer on the simulation results, and uses the three-dimensional simulation model to accurately and intuitively reproduce the transient process of the dynamic closing of the ball valve in the pipeline, which improves the simulation performance. The accuracy of this method provides a reference for the pipeline transient case example.

Figure 202010434804

Description

一种基于三维水锤CFD的阀门瞬态特性模拟方法A simulation method of valve transient characteristics based on three-dimensional water hammer CFD

技术领域technical field

本发明涉及水电站(泵站)水力学数值计算,具体涉及一种基于三维水锤CFD的阀门瞬态特性模拟方法。The invention relates to hydraulic numerical calculation of hydropower stations (pumping stations), in particular to a method for simulating transient characteristics of valves based on three-dimensional water hammer CFD.

背景技术Background technique

水力过渡过程常发生在各种承压管道系统中,包括跨流域长距离输水工程、水电站和泵站、城市供水系统和农业灌溉系统。正常或者意外的泵或者水轮机关闭或快速的阀门启闭通常会引起异常压力波动甚至是水锤现象,从而导致管道破裂并损坏其他过流装置。因此,对于水锤现象的精确数值模拟对于管道系统的合理设计和安全运行至关重要。The hydraulic transition process often occurs in various pressurized pipeline systems, including long-distance water transmission projects across basins, hydropower stations and pumping stations, urban water supply systems, and agricultural irrigation systems. Normal or unexpected pump or turbine shutdown or rapid valve opening and closing can often cause abnormal pressure fluctuations or even water hammer, which can rupture pipes and damage other overcurrent devices. Therefore, accurate numerical simulation of water hammer is crucial for the rational design and safe operation of piping systems.

传统的数值模拟方法为采用特征线法的一维数值模拟,这种模拟方法虽然计算速度快,但是由于传统的一维数值模拟方法对实际情况过于简化,使用稳态耗散公式来近似管道的剪切应力,往往低估了管道的能量耗散,导致模拟精度欠缺。在上述基础上,为了提高水击压力的数值精度,添加了动态摩阻模型,但是仍采用一维模拟的方式,模拟结果与实验数据之间仍存在较大误差。The traditional numerical simulation method is the one-dimensional numerical simulation using the characteristic line method. Although the calculation speed of this simulation method is fast, because the traditional one-dimensional numerical simulation method is too simplified for the actual situation, the steady-state dissipation formula is used to approximate the pipeline. Shear stress, often underestimating the energy dissipation of the pipeline, leads to a lack of simulation accuracy. On the above basis, in order to improve the numerical accuracy of water hammer pressure, a dynamic friction model is added, but one-dimensional simulation is still used, and there is still a large error between the simulation results and the experimental data.

对于瞬态管道流动,已有相关论文在实验的基础上对其进行了三维数值模拟,但是这些论文没有充分考虑粘性底层的影响,对球阀的瞬态变化也没有深入研究。由于涡体具有三维特性,所以难以用一维方法精确模拟管壁涡量,描述动态涡量与能量耗散的关系。此外,传统的一维方法在处理非正常管道流体流动中阀门关闭所引起的动态水力损失时,是假设流态稳定,在相同的速度下能量损失一致,但在工程实例中,关闭球阀的瞬态动态特性以及阀门关闭过程中局部涡流和回流的不稳定流动特性是复杂的三维流动问题,很难用一维方法或实验措施来确定。For transient pipeline flow, there have been related papers that have carried out 3D numerical simulations on the basis of experiments, but these papers have not fully considered the influence of the viscous bottom layer, and have not thoroughly studied the transient changes of the ball valve. Because the vortex has three-dimensional characteristics, it is difficult to accurately simulate the vorticity of the tube wall with a one-dimensional method and describe the relationship between dynamic vorticity and energy dissipation. In addition, when the traditional one-dimensional method deals with the dynamic hydraulic loss caused by valve closing in abnormal pipeline fluid flow, it is assumed that the flow state is stable and the energy loss is consistent at the same speed. The state dynamics and unstable flow properties of local eddies and backflow during valve closing are complex three-dimensional flow problems that are difficult to determine with one-dimensional methods or experimental measures.

发明内容SUMMARY OF THE INVENTION

发明目的:本申请的目的在于提供一种基于三维水锤CFD的阀门瞬态特性模拟方法,用于解决现有方法中模拟误差大的缺陷。Purpose of the invention: The purpose of this application is to provide a valve transient characteristic simulation method based on three-dimensional water hammer CFD, which is used to solve the defect of large simulation error in the existing method.

技术方案:本发明提供了一种基于三维水锤CFD的阀门瞬态特性模拟方法,包括:Technical solution: The present invention provides a valve transient characteristic simulation method based on three-dimensional water hammer CFD, including:

(1)构建包含球阀的管道的三维数学模型的控制方程;(1) Construct the governing equations of the three-dimensional mathematical model of the pipeline containing the ball valve;

(2)根据工况实例,创建包含球阀的管道的三维仿真模型;(2) Create a three-dimensional simulation model of the pipeline containing the ball valve according to the working condition example;

(3)将三维仿真模型进行网格划分,并对边界层部分和球阀部分进行网格加密确定三维数学模型计算域;(3) The three-dimensional simulation model is meshed, and the boundary layer part and the ball valve part are meshed to determine the calculation domain of the three-dimensional mathematical model;

(4)引入水体可压缩状态方程、水锤波速方程用于描述水体压缩性;(4) Introduce the water body compressibility state equation and water hammer wave velocity equation to describe the water body compressibility;

(5)引入球阀动态开关控制函数以供进行球阀动态关闭操作;(5) Introduce the dynamic switch control function of the ball valve for the dynamic closing operation of the ball valve;

(6)根据工况实例确定初始条件和边界条件,求解三维数学模型的控制方程,监测球阀瞬态特性。(6) Determine the initial conditions and boundary conditions according to the working conditions, solve the control equations of the three-dimensional mathematical model, and monitor the transient characteristics of the ball valve.

进一步地,步骤(1)中构建的三维数学模型通过下述控制方程进行表示:Further, the three-dimensional mathematical model constructed in step (1) is represented by the following governing equations:

Figure BDA0002501845150000021
Figure BDA0002501845150000021

Figure BDA0002501845150000022
Figure BDA0002501845150000022

其中,ρ是水体密度,t是时间,

Figure BDA0002501845150000023
是速度矢量,
Figure BDA0002501845150000024
Figure BDA0002501845150000025
分别是i、j方向流速矢量,p水体压力,
Figure BDA0002501845150000026
是剪切力,
Figure BDA0002501845150000027
是重力加速度,
Figure BDA0002501845150000028
是体积力。where ρ is the density of the water body, t is the time,
Figure BDA0002501845150000023
is the velocity vector,
Figure BDA0002501845150000024
and
Figure BDA0002501845150000025
are the flow velocity vectors in the i and j directions, respectively, the p water pressure,
Figure BDA0002501845150000026
is the shear force,
Figure BDA0002501845150000027
is the gravitational acceleration,
Figure BDA0002501845150000028
is volume force.

进一步地,步骤(2)中,三维仿真模型采用“第一水库-第一管道-球阀-第二管道-第二水库”的结构,其中球阀被切割为独立的单元。Further, in step (2), the three-dimensional simulation model adopts the structure of "first reservoir-first pipeline-ball valve-second pipeline-second reservoir", wherein the ball valve is cut into independent units.

进一步地,水体可压缩状态方程具体表示为:Further, the compressible state equation of water body is specifically expressed as:

Figure BDA0002501845150000029
Figure BDA0002501845150000029

水锤波速方程具体表示为:The water hammer velocity equation is specifically expressed as:

Figure BDA00025018451500000210
Figure BDA00025018451500000210

Figure BDA00025018451500000211
Figure BDA00025018451500000211

其中,Kf为流体体积弹性模量,D为管道内径,E为管道体积弹性模量,e为管壁厚度。Among them, K f is the volume elastic modulus of the fluid, D is the inner diameter of the pipe, E is the bulk elastic modulus of the pipe, and e is the thickness of the pipe wall.

进一步地,球阀动态开关控制函数具体表示为:Further, the dynamic switch control function of the ball valve is specifically expressed as:

Figure BDA00025018451500000212
Figure BDA00025018451500000212

其中,ω为球阀角速度,t为时间,θ为球阀旋转角度,t1为球阀关闭时间。Among them, ω is the angular velocity of the ball valve, t is the time, θ is the rotation angle of the ball valve, and t 1 is the closing time of the ball valve.

进一步地,步骤(4)中,水体可压缩性采用引入可压缩源项的液体模型来描述,在求解连续性方程、动量方程和能量方程的基础上耦合湍流模型,使整个求解系统封闭。Further, in step (4), the compressibility of the water body is described by a liquid model that introduces a compressible source term, and the turbulence model is coupled on the basis of solving the continuity equation, momentum equation and energy equation, so that the entire solution system is closed.

进一步地,湍流模型采用SST k-ω湍流模型。Further, the turbulence model adopts the SST k-ω turbulence model.

进一步地,初始条件包括:辅助计算区域及全流道中流体状态、进出水口的压力;Further, the initial conditions include: the auxiliary calculation area and the fluid state in the full flow channel, and the pressure of the water inlet and outlet;

边界条件包括:管道壁面状态、球阀动态关闭、第一水库和第二水库边界恒压。Boundary conditions include: pipeline wall state, dynamic closing of ball valves, and constant pressure at the boundaries of the first and second reservoirs.

本申请还提供了一种计算机可读存储介质,存储介质包括计算机指令,计算机指令被执行时可实现上述基于三维水锤CFD的阀门瞬态特性模拟方法。The present application also provides a computer-readable storage medium, the storage medium includes computer instructions, and when the computer instructions are executed, the above-mentioned three-dimensional water hammer CFD-based valve transient characteristics simulation method can be implemented.

有益效果:与现有技术相比,本申请公开的模拟方法具有以下优点:Beneficial effects: Compared with the prior art, the simulation method disclosed in this application has the following advantages:

(1)通过定义水体可压缩性在CFD计算软件中引入水锤波速,更接近实际;(1) The water hammer velocity is introduced into the CFD calculation software by defining the compressibility of the water body, which is closer to reality;

(2)通过加密边界层网格和选择合适的湍流模型来考虑边界层摩擦阻力的影响,湍流模型的引入可以更精确的模拟液体中的三维瞬态流动,同时更进一步的模拟边界层对流动的影响;(2) By refining the boundary layer mesh and selecting an appropriate turbulence model to consider the influence of the frictional resistance of the boundary layer, the introduction of the turbulence model can more accurately simulate the three-dimensional transient flow in the liquid, and further simulate the boundary layer pair flow. Impact;

(3)可以直观动态的再现全流道任意断面在任意计算时刻的流速场和压力场;(3) The flow velocity field and pressure field of any section of the whole flow channel at any calculation moment can be reproduced intuitively and dynamically;

(4)精细的模拟了有压管道中阀门关闭引起的流体瞬态变化。(4) The transient change of fluid caused by valve closing in pressurized pipeline is simulated finely.

附图说明Description of drawings

图1为本申请的阀门瞬态特性模拟方法的流程图;Fig. 1 is the flow chart of the valve transient characteristic simulation method of the application;

图2为本申请实施例中的三维仿真模型;Fig. 2 is the three-dimensional simulation model in the embodiment of the application;

图3为本申请的管道结构网格划分示意图;3 is a schematic diagram of the grid division of the pipeline structure of the application;

图4为本申请的仿真实例中水锤压力波动的计算结果与实验结果对比图;Fig. 4 is the comparison diagram of the calculation result of the water hammer pressure fluctuation in the simulation example of the application and the experimental result;

图5为本申请的仿真实例中计算的球阀部分流场图;5 is a partial flow field diagram of the ball valve calculated in the simulation example of the application;

图6为本申请的仿真实例中计算的球阀部分压力图。FIG. 6 is a partial pressure diagram of the ball valve calculated in the simulation example of the application.

具体实施方式Detailed ways

下面结合附图和实施例对本发明做进一步描述:Below in conjunction with accompanying drawing and embodiment, the present invention is further described:

本发明提供了一种基于三维水锤CFD的阀门瞬态特性模拟方法,如图1所示,包括:The present invention provides a method for simulating valve transient characteristics based on three-dimensional water hammer CFD, as shown in Figure 1, including:

S101构建包含球阀的管道的三维数学模型的控制方程。具体地,构建的三维数学模型通过下述控制方程进行表示:S101 constructs the governing equations of the three-dimensional mathematical model of the pipeline containing the ball valve. Specifically, the constructed three-dimensional mathematical model is represented by the following governing equations:

Figure BDA0002501845150000041
Figure BDA0002501845150000041

Figure BDA0002501845150000042
Figure BDA0002501845150000042

其中,ρ是水体密度,t是时间,

Figure BDA0002501845150000043
是速度矢量,
Figure BDA0002501845150000044
Figure BDA0002501845150000045
分别是i、j方向流速矢量,p是水体压力,
Figure BDA0002501845150000046
是剪切力,
Figure BDA0002501845150000047
是重力加速度,
Figure BDA0002501845150000048
是体积力。where ρ is the density of the water body, t is the time,
Figure BDA0002501845150000043
is the velocity vector,
Figure BDA0002501845150000044
and
Figure BDA0002501845150000045
are the flow velocity vectors in the i and j directions, respectively, p is the water pressure,
Figure BDA0002501845150000046
is the shear force,
Figure BDA0002501845150000047
is the gravitational acceleration,
Figure BDA0002501845150000048
is volume force.

S102根据工况实例,创建包含球阀的管道的三维仿真模型。具体的,本实施例中,可根据工程实例,采用ANSYS软件DesignModeler模块创建有压管道三维模型,球阀开始时完全开启,如图3所示,三维仿真模型采用“第一水库-第一管道-球阀-第二管道-第二水库”的结构,其中球阀被切割为独立的单元。可设定第一水库201和第二水库205分别为上游水库和下游水库,第一管道202和第二管道204分别为上游输水管道和下游输水管道,球阀203设置于上游输水管道和下游输水管道之间,连接上游输水管道和下游输水管道。206为水库上方空气。S102, according to the working condition instance, create a three-dimensional simulation model of the pipeline including the ball valve. Specifically, in this embodiment, the ANSYS software DesignModeler module can be used to create a three-dimensional model of a pressurized pipeline according to an engineering example, and the ball valve is fully opened at the beginning. As shown in Figure 3, the three-dimensional simulation model adopts the "first reservoir-first pipeline- Ball Valve-Second Pipe-Second Reservoir" structure, where the ball valve is cut as a separate unit. It can be set that the first reservoir 201 and the second reservoir 205 are the upstream reservoir and the downstream reservoir respectively, the first pipeline 202 and the second pipeline 204 are the upstream water pipeline and the downstream water pipeline respectively, and the ball valve 203 is arranged on the upstream water pipeline and the downstream water pipeline. Between the downstream water pipelines, connect the upstream water pipeline and the downstream water pipeline. 206 is the air above the reservoir.

S103将三维仿真模型进行网格划分,并对边界层部分和球阀部分进行网格加密确定三维数学模型计算域。具体地,本申请的实施例中,将创建的三维仿真模型倒入ANSYS软件ICEM模块,定义各边界面,并划分网格确定计算域。计算域即为整个三维仿真模型,包括上下游水库,管道以及阀门。整个计算域采用结构性网格,即六面体网格,在管壁部分和球阀部分进行加密。S103 divides the three-dimensional simulation model into a mesh, and performs mesh refinement on the boundary layer part and the ball valve part to determine the calculation domain of the three-dimensional mathematical model. Specifically, in the embodiment of the present application, the created three-dimensional simulation model is poured into the ICEM module of the ANSYS software, each boundary surface is defined, and the grid is divided to determine the calculation domain. The computational domain is the entire 3D simulation model, including upstream and downstream reservoirs, pipelines and valves. The entire computational domain adopts a structured grid, namely a hexahedral grid, which is refined in the pipe wall part and the ball valve part.

S104引入水体可压缩状态方程、水锤波速方程用于描述水体压缩性。水体可压缩性采用引入可压缩源项的液体模型来描述,在求解连续性方程、动量方程和能量方程的基础上耦合湍流模型,使整个求解系统封闭。湍流模型采用SST k-ω湍流模型。S104 introduces the water body compressibility state equation and the water hammer wave velocity equation to describe the water body compressibility. The compressibility of water body is described by a liquid model that introduces a compressible source term, and the turbulence model is coupled on the basis of solving the continuity equation, momentum equation and energy equation, so that the entire solution system is closed. The turbulence model adopts the SST k-ω turbulence model.

具体地,在本申请的实施例中,可使用用户自定义函数UDF(User DefineFunctions)添加水体可压缩状态方程和水锤波速方程。Specifically, in the embodiment of the present application, a user-defined function UDF (User Define Functions) can be used to add the water body compressible state equation and the water hammer velocity equation.

水体密度方程作为水体可压缩状态方程,具体表示为:The density equation of water body, as the compressible state equation of water body, is specifically expressed as:

Figure BDA0002501845150000049
Figure BDA0002501845150000049

水锤波速方程具体表示为:The water hammer velocity equation is specifically expressed as:

Figure BDA0002501845150000051
Figure BDA0002501845150000051

Figure BDA0002501845150000052
Figure BDA0002501845150000052

其中,Kf为流体体积弹性模量,D为管道内径,E为管道体积弹性模量,e为管壁厚度。Among them, K f is the volume elastic modulus of the fluid, D is the inner diameter of the pipe, E is the bulk elastic modulus of the pipe, and e is the thickness of the pipe wall.

湍流模型在计算中可以表征湍流变化规律,同时对粘性底层产生作用,时更进一步的模拟边界层对流动的影响,从而更精确的模拟液体中的三维瞬态流动。The turbulent flow model can characterize the turbulent flow change law in the calculation, and at the same time have an effect on the viscous bottom layer, and further simulate the influence of the boundary layer on the flow, so as to simulate the three-dimensional transient flow in the liquid more accurately.

S105引入球阀动态开关控制函数以供进行球阀动态关闭操作。具体地,在本申请的实施例中,可使用用户自定义函数UDF根据球阀的动态关闭规律添加球阀动态开关控制函数,具体表示为:S105 introduces the ball valve dynamic switch control function for the ball valve dynamic closing operation. Specifically, in the embodiment of the present application, a user-defined function UDF can be used to add a ball valve dynamic switch control function according to the dynamic closing rule of the ball valve, which is specifically expressed as:

Figure BDA0002501845150000053
Figure BDA0002501845150000053

其中,ω为球阀角速度,t为时间,θ为球阀旋转角度,t1为球阀关闭时间。Among them, ω is the angular velocity of the ball valve, t is the time, θ is the rotation angle of the ball valve, and t 1 is the closing time of the ball valve.

S106根据工况实例确定初始条件和边界条件,求解三维数学模型的控制方程,监测球阀瞬态特性。初始条件包括:上下游建立的两个辅助计算区域及全流道中流体状态、进出水口的压力;边界条件包括:管道壁面状态、球阀动态关闭、第一水库和第二水库边界恒压。S106 determines initial conditions and boundary conditions according to the working condition instance, solves the control equation of the three-dimensional mathematical model, and monitors the transient characteristics of the ball valve. The initial conditions include: two auxiliary calculation areas established upstream and downstream, the fluid state in the full flow channel, and the pressure at the inlet and outlet; the boundary conditions include: the state of the pipe wall, the dynamic closing of the ball valve, and the constant pressure at the boundary of the first and second reservoirs.

具体地,在本申请的实施例中,可采用三维仿真软件求解控制方程:Specifically, in the embodiment of the present application, three-dimensional simulation software can be used to solve the control equation:

将划分好的网格文件导入ANSYS软件FLUENT模块,根据工况实例设置初始条件和边界条件。Import the divided mesh file into the FLUENT module of the ANSYS software, and set the initial conditions and boundary conditions according to the working case example.

通过上述设置后,对控制方程求解,得到球阀瞬态特性模拟结果。After the above settings, the control equations are solved to obtain the simulation results of the transient characteristics of the ball valve.

本发明还提供了一种计算机可读存储介质,存储介质包括计算机指令,计算机指令被执行时可实现上述基于三维水锤CFD的阀门瞬态特性模拟方法。The present invention also provides a computer-readable storage medium, the storage medium includes computer instructions, and when the computer instructions are executed, the above-mentioned three-dimensional water hammer CFD-based valve transient characteristic simulation method can be implemented.

仿真验证:Simulation:

通过工况实例,对本申请的球阀瞬态模拟方法进行验证。在建模过程中,对一些不会影响流道内水力特性的构件进行简化,简化后的模拟系统见图2。系统主要组成构件为:上游水库、上游输水管道、球阀、下游输水管道、下游水库。本实施例模拟对象为某有压管道水锤实验,管道长度37.23m,管道内经22.1mm,水锤波传播速度1319m/s,实验有三个工况,上游水头均为32m,管内流速分别为0.1m/s,0.2m/s和0.3m/s。The transient simulation method of the ball valve of the present application is verified through an example of working conditions. In the modeling process, some components that will not affect the hydraulic properties in the flow channel are simplified. The simplified simulation system is shown in Figure 2. The main components of the system are: upstream reservoir, upstream water pipeline, ball valve, downstream water pipeline, and downstream reservoir. The simulation object of this example is a water hammer experiment of a certain pressure pipeline. The length of the pipeline is 37.23m, the inner diameter of the pipeline is 22.1mm, and the water hammer wave propagation speed is 1319m/s. There are three working conditions in the experiment. m/s, 0.2m/s and 0.3m/s.

对于初始条件和边界条件的设置如下:The initial and boundary conditions are set as follows:

初始条件Initial conditions

A.设置辅助计算区域和全流道中为单一相,即全部为液态水,并加载水体可压缩状态方程UDF;A. Set the auxiliary calculation area and the whole flow channel as a single phase, that is, all liquid water, and load the water compressible state equation UDF;

B.根据工况实例,在辅助计算区域和全流道中添加重力,从而使进出水口的压力与实际情况一致;B. According to the working condition example, add gravity in the auxiliary calculation area and the full flow channel, so that the pressure of the water inlet and outlet is consistent with the actual situation;

边界条件Boundary conditions

A.壁面:静止、光滑且无滑移;A. Wall: static, smooth and no slip;

B.球阀动态关闭过程:加载球阀关闭UDF,控制其动态关闭;B. Ball valve dynamic closing process: load the ball valve to close the UDF and control its dynamic closing;

C.上下游水库:恒压边界。C. Upstream and downstream reservoirs: constant pressure boundary.

采用本发明对该工况实例进行模拟计算,将计算结果和实验数据进行对比,如图4所示,三维计算结果所绘曲线和实验结果所绘曲线重合度很高,峰值几乎重合,由此可见,本申请的模拟方法可以有效地模拟抽水蓄能电站水泵工况过渡过程的流速和压力变化。This working condition example is simulated and calculated by the present invention, and the calculation result is compared with the experimental data. As shown in Figure 4, the curve drawn by the three-dimensional calculation result and the curve drawn by the experimental result have a high degree of coincidence, and the peak values are almost coincident. It can be seen that the simulation method of the present application can effectively simulate the flow rate and pressure changes in the transition process of the pump in the pumped-storage power station.

利用后处理软件Tecplot实现过渡过程中全流道速度场、压力场的可视性。图5为球阀以及和其连接管道的速度场图,其中图5(a)是动态关阀工况,图5(b)是静态关阀工况。图6为球阀以及和其连接管道的压力场图,其中图6(a)是动态关阀工况,图6(b)是静态关阀工况。由图可见三维计算结果不仅精度完全可以满足要求,而且输出数据的类型多样,输出的结果也更加直观。The post-processing software Tecplot was used to realize the visibility of the velocity field and pressure field of the whole channel during the transition process. Fig. 5 is a velocity field diagram of the ball valve and its connecting pipeline, wherein Fig. 5(a) is a dynamic valve closing condition, and Fig. 5(b) is a static valve closing condition. Fig. 6 is a pressure field diagram of the ball valve and its connecting pipeline, wherein Fig. 6(a) is a dynamic valve closing condition, and Fig. 6(b) is a static valve closing condition. It can be seen from the figure that not only the accuracy of the three-dimensional calculation results can fully meet the requirements, but also the types of output data are diverse, and the output results are more intuitive.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

Claims (9)

1. A valve transient characteristic simulation method based on a three-dimensional water hammer CFD is characterized by comprising the following steps:
(1) constructing a control equation of a three-dimensional mathematical model of a pipeline containing a ball valve;
(2) according to the working condition example, a three-dimensional simulation model of the pipeline containing the ball valve is created;
(3) carrying out grid division on the three-dimensional simulation model, and carrying out grid encryption on a boundary layer part and a ball valve part to determine a three-dimensional mathematical model calculation domain;
(4) introducing a water body compressibility state equation and a water hammer wave velocity equation for describing water compressibility;
(5) introducing a ball valve dynamic switch control function for carrying out ball valve dynamic closing operation;
(6) and determining initial conditions and boundary conditions according to the working condition examples, solving a control equation of the three-dimensional mathematical model, and monitoring the transient characteristics of the ball valve.
2. The method of claim 1, wherein the three-dimensional mathematical model constructed in step (1) is represented by the following governing equation:
Figure FDA0002501845140000011
Figure FDA0002501845140000012
where ρ is the density of the body of water and t isThe time of day is,
Figure FDA0002501845140000013
is a vector of the velocity of the beam,
Figure FDA0002501845140000014
and
Figure FDA0002501845140000015
flow velocity vectors in the directions of i and j, water body pressure p,
Figure FDA0002501845140000016
is a shear force which is a force of shearing,
Figure FDA0002501845140000017
is the acceleration of the force of gravity,
Figure FDA0002501845140000018
is the volumetric force.
3. The method according to claim 2, wherein in the step (2), the three-dimensional simulation model adopts a structure of 'first reservoir-first pipeline-ball valve-second pipeline-second reservoir', wherein the ball valve is cut into independent units.
4. The method of claim 3, wherein the water body compressibility equation of state is specifically expressed as:
Figure FDA0002501845140000019
the water hammer wave velocity equation is specifically expressed as:
Figure FDA00025018451400000110
Figure FDA00025018451400000111
wherein, KfThe bulk modulus of fluid, D the inner diameter of the pipe, E the bulk modulus of the pipe, and E the wall thickness.
5. The method according to claim 3, wherein the ball valve dynamic on-off control function is specified as:
Figure FDA0002501845140000021
wherein, omega is the angular velocity of the ball valve, t is time, theta is the rotation angle of the ball valve, t1The ball valve closure time.
6. The method of claim 1, wherein in the step (4), the compressibility of the water body is described by adopting a liquid model introducing a compressible source term, and the turbulence model is coupled on the basis of solving a continuity equation, a momentum equation and an energy equation, so that the whole solving system is closed.
7. The method of claim 6, wherein the turbulence model is an SST k- ω turbulence model.
8. The method according to any one of claims 1 to 7, wherein the initial conditions comprise: the fluid state and the pressure of a water inlet and a water outlet in the area and the full flow channel are calculated in an auxiliary mode;
the boundary conditions include: pipeline wall surface state, ball valve dynamic closing, first reservoir and second reservoir boundary constant pressure.
9. A computer readable storage medium comprising computer instructions which, when executed, implement the method of any of claims 1 to 8.
CN202010434804.8A 2020-05-21 2020-05-21 Valve transient characteristic simulation method based on three-dimensional water hammer CFD Pending CN111695306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010434804.8A CN111695306A (en) 2020-05-21 2020-05-21 Valve transient characteristic simulation method based on three-dimensional water hammer CFD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010434804.8A CN111695306A (en) 2020-05-21 2020-05-21 Valve transient characteristic simulation method based on three-dimensional water hammer CFD

Publications (1)

Publication Number Publication Date
CN111695306A true CN111695306A (en) 2020-09-22

Family

ID=72478046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010434804.8A Pending CN111695306A (en) 2020-05-21 2020-05-21 Valve transient characteristic simulation method based on three-dimensional water hammer CFD

Country Status (1)

Country Link
CN (1) CN111695306A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765883A (en) * 2021-01-18 2021-05-07 电子科技大学 Method for determining valve closing process based on genetic algorithm and neural network
CN113203516A (en) * 2021-04-16 2021-08-03 中电建路桥集团有限公司 Reservoir pipeline transient pressure data analysis system and measurement method
CN113255140A (en) * 2021-05-31 2021-08-13 中国空气动力研究与发展中心超高速空气动力研究所 Valve rod design method of quick ball valve
CN113639987A (en) * 2021-06-21 2021-11-12 广州市自来水有限公司 Valve state detection system and method based on transient flow
CN114167716A (en) * 2021-12-03 2022-03-11 江苏海博流体控制有限公司 Regulation type electric execution method and mechanism based on flow control

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302997A (en) * 2015-11-25 2016-02-03 河海大学 Liquid column separation-bridged water hammer simulation method based on three-dimensional CFD (Computational Fluid Dynamics)
CN106844913A (en) * 2017-01-09 2017-06-13 河海大学 A kind of trapped air mass thermodynamic behaviour analogy method based on three-dimensional CFD

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302997A (en) * 2015-11-25 2016-02-03 河海大学 Liquid column separation-bridged water hammer simulation method based on three-dimensional CFD (Computational Fluid Dynamics)
CN106844913A (en) * 2017-01-09 2017-06-13 河海大学 A kind of trapped air mass thermodynamic behaviour analogy method based on three-dimensional CFD

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ZHOU LING .ETC: ""CFD investigation and PIV validation of flow field in a compact return diffuser under strong part-load conditions"", 《SCIENCE CHINA TECHNOLOGICAL SCIENCES》 *
卢坤铭 等: ""起伏管道内水流冲击滞留气团的三维动态特性模拟"", 《排灌机械工程学报》 *
汪建 等: ""基于三维CFD方法的管路瞬变流特性研究"", 《流体机械》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765883A (en) * 2021-01-18 2021-05-07 电子科技大学 Method for determining valve closing process based on genetic algorithm and neural network
CN113203516A (en) * 2021-04-16 2021-08-03 中电建路桥集团有限公司 Reservoir pipeline transient pressure data analysis system and measurement method
CN113203516B (en) * 2021-04-16 2022-06-10 中电建路桥集团有限公司 Reservoir pipeline transient pressure data analysis system and measurement method
CN113255140A (en) * 2021-05-31 2021-08-13 中国空气动力研究与发展中心超高速空气动力研究所 Valve rod design method of quick ball valve
CN113639987A (en) * 2021-06-21 2021-11-12 广州市自来水有限公司 Valve state detection system and method based on transient flow
CN114167716A (en) * 2021-12-03 2022-03-11 江苏海博流体控制有限公司 Regulation type electric execution method and mechanism based on flow control

Similar Documents

Publication Publication Date Title
CN111695306A (en) Valve transient characteristic simulation method based on three-dimensional water hammer CFD
CN105302997B (en) A kind of column separation-based on three-dimensional CFD makes the analogy method of water hammer up
Del Campo et al. Numerical analysis of external gear pumps including cavitation
Li et al. Numerical simulation of the transient flow in a centrifugal pump during starting period
Wu et al. MOC-CFD coupled approach for the analysis of the fluid dynamic interaction between water hammer and pump
Wu et al. The transient flow in a centrifugal pump during the discharge valve rapid opening process
CN105512363B (en) The analogy method of water column separation in pressure conduit based on Godunov formats
CN105468844B (en) The analogy method of water-gas coupling transient flow in pipeline
CN109035387A (en) A kind of hydroenergy storage station transient process three-dimensional simulation method based on water hammer effect and dynamic mesh theory
Geng et al. Simulation of cavitation induced by water hammer
CN111695307B (en) Water hammer finite volume simulation method considering dynamic friction resistance explicitly
Cao et al. 3D CFD simulation and analysis of transient flow in a water pipeline
Pan et al. Smoothed particle hydrodynamics with unsteady friction model for water hammer pipe flow
CN114186510A (en) MOC-CFD coupling-based energy change prediction method for circulating pump system
Zhang Wave tracking method of hydraulic transients in pipe systems with pump shut-off under simultaneous closing of spherical valves
Han et al. Transient simulation and experiment validation on the opening and closing process of a ball valve
Li et al. Numerical simulation of steady and unsteady compressible multiphase flows
Lai et al. Numerical simulation of a check valve closure induced by pump shutdown
Behroozi et al. Numerical investigation of water hammer due to transient in parallel pumps
Hu et al. Godunov-type solutions for free surface transient flow in pipeline incorporating unsteady friction
Tasca et al. Performance similarity between different-sized air exchange valves
Afrin et al. Numerical investigation of free overfall from a circular pipe flowing full upstream
Budinski Application of the LBM with adaptive grid on water hammer simulation
Li et al. 1D-3D coupling investigation of hydraulic transient for power-supply failure of centrifugal pump-pipe system
Mansuri et al. Effects of pipe’s roughness and reservoir head levels on pressure waves in water hammer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922