Cavitation model correction method considering transient effect of flow field
Through the cavitation model correction method that considers the flow field transient effect, the problem that the flow field transient effect in cavitation flow is difficult to effectively solve, the accuracy of cavitation flow simulation is improved, and the hydraulic mechanical properties are improved.
Patent Information
- Application Number
- CN202411946148.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2044-12-27
AI Technical Summary
The prior art is difficult to effectively solve the problem of the transient effect of the flow field in cavitation flow, which leads to the calculation results that are inconsistent with physical reality and affects the improvement of hydraulic mechanical properties.
A cavitation model correction method that considers the transient effect of the flow field is adopted. By establishing a nonlinear bubble motion equation, a bubble wall velocity model and a mass transfer rate function, the mass transfer rate rate is corrected, and the accuracy of the cavitation model is improved.
The accuracy of cavitation flow simulation is improved, making the calculation results more in line with physical reality, and can more accurately capture the process of hole growth, shedding and collapse, and improve hydraulic mechanical properties.
Smart Images

Figure CN119849364A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of computational fluid dynamics, and in particular relates to a cavitation model correction method considering transient effects of flow fields. Background Art
[0002] Cavitation is a phase change process from liquid to vapor in a local area when the ambient pressure is lower than the saturated vapor pressure of the fluid. It is an important and complex hydrodynamic phenomenon. It is widely present in hydraulic machinery, ship propulsion, and water conservancy projects. It has always been the focus and difficulty of research in the field of hydrodynamics. For example, material erosion and mechanical efficiency reduction on the surface of underwater propellers and other hydraulic machinery can also cause cavitation damage to flow-through components. The special unsteady and transient characteristics of cavitation make experimental research on cavitation difficult. With the improvement of computer performance, numerical simulation can obtain more detailed flow field characteristics, and its application in the field of cavitation is becoming more and more extensive.
[0003] The transient characteristics of cavitation can cause hydraulic machinery vibration, increased hydrodynamic force, increased pressure pulsation, noise, and surface erosion. Currently, there is no unique CFD method that can solve the transient cavitation problem. Therefore, it is necessary to develop a cavitation kinematic simulation method that takes into account the transient effects of the flow field to deeply study the impact of the transient effects of cavitation on the cavitation flow field and accurately simulate more flow field details of the real cavitation flow, which is of great significance to improving the performance of hydraulic machinery using cavitation flow numerical simulation technology. Summary of the invention
[0004] In order to solve the problems existing in the background technology, the purpose of the present invention is to provide a cavitation model correction method considering the transient effects of the flow field, taking the transient effects of the flow field in the cavitation flow into account, improving the calculation accuracy, and thus obtaining a cavitation flow field that is more in line with physical reality.
[0005] The technical solution adopted by the present invention is as follows, comprising the following steps:
[0006] Step S1, first, a cavitation model of a water conservancy machinery basin is established in a computer, and a processor in the computer obtains a nonlinear bubble motion equation of the cavitation model based on the change of the cavitation radius of the cavitation model;
[0007] Step S2: Next, the processor obtains a bubble wall velocity model that takes into account the transient effect of the flow field according to the nonlinear bubble motion equation;
[0008] Step S3, then, the processor obtains a mass transfer rate function taking into account the transient effect of the flow field based on the bubble wall velocity model;
[0009] Step S4. Finally, the processor corrects the mass transfer rate of the original cavitation model based on the mass transfer rate function that considers the transient effect of the flow field, that is, corrects the cavitation model, and predicts the cavitation phenomenon in the watershed of the hydraulic machinery according to the corrected cavitation model.
[0010] Step S5: Compare the cavitation calculation results based on the cavitation model considering transient effects with the public test results, and compare the numerical model of the hydrofoil cavitation flow according to the comparison results, so as to verify that a modified cavitation model considering the transient effects of the flow field is more accurate than the traditional cavitation model, specifically including:
[0011] The preset hydrofoil cavitation flow field is gridded, boundary conditions are set, the COUPLED algorithm is used to solve the pressure-velocity coupling equation, the least squares grid format is used to solve the discrete equations in space, the PRESTO algorithm is used to solve the pressure gradient equation, the bounded central difference format is used to solve the momentum equation, the bounded second-order implicit method is used to solve the transient equation, and the DES kw turbulence model is used to solve the Reynolds equation to calculate the turbulent flow, and the cavitation model considering the transient effect is used to realize the gas-liquid phase change process.
[0012] In step S1, the nonlinear bubble motion equation of the cavitation model is obtained by processing according to the following formula:
[0013]
[0014] In the above formula, P v Indicates the internal pressure of the bubble; P t represents the environmental pressure at time t; ρ l represents the density of the liquid outside the cavitation bubble; R represents the radius of the cavitation bubble; It means to find the first derivative of the cavitation radius R with respect to the time variable t; It means taking the second derivative of the cavitation radius R with respect to the time variable t.
[0015] In step S2, the bubble wall velocity model considering the transient effect of the flow field is obtained by processing according to the following formula:
[0016]
[0017] in, represents the derivative of the cavitation radius with respect to the time variable t; ρ l represents the density of the liquid outside the cavitation bubble; P v represents the internal pressure of the bubble; P0 represents the ambient pressure at the initial moment within a time step; P t It represents the ambient pressure at the end of a time step, C0 is the preset model coefficient; R0 represents the initial radius of the cavitation nucleus.
[0018] In step S3, the mass transfer rate function considering the transient effect of the flow field is obtained according to the following formula:
[0019]
[0020]
[0021] in, represents the mass transfer rate considering the transient effect of the flow field; α represents the bubble volume fraction per unit volume; ρ v represents the gas density; i represents the state parameter, i∈{1,2}, when the cavitation is in the condensation process, i takes 1, when the cavitation is in the evaporation process, i takes 2, R B represents a given constant term; ρ l represents the density of the liquid outside the cavitation bubble; P v represents the internal pressure of the bubble; P0 represents the ambient pressure at the initial moment within a time step; P t represents the ambient pressure at the end of a time step, C0 is the preset model coefficient; R0 represents the initial radius of the cavitation nucleus; R represents the cavitation radius; n represents the bubble number density.
[0022] The expression of the modified cavitation model is as follows:
[0023]
[0024] Among them, Re represents the mass transfer rate of the cavitation evaporation process; Rc represents the mass transfer rate of the cavitation condensation process; F vap Indicates the evaporation process coefficient; F cond represents the condensation process coefficient; α nuc represents the volume fraction of nucleation points; α represents the volume fraction of bubbles per unit volume; R B represents a given constant term; || represents the absolute value function; ρ v Represents the gas density.
[0025] The original cavitation model includes a mass transfer model based on the Rayleigh-Plesset equation that ignores gravity, surface tension, and viscous force. The modified cavitation model uses a nonlinear cavitation model derived from the Rayleigh-Plesset equation that considers the second-order derivative of the radius, while taking into account the transient effect of the ambient pressure.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] 1. The present invention adopts a cavitation model correction method that considers the transient effects of the flow field, and proposes a nonlinear cavitation model that considers the transient effects of the flow field. The corrected cavitation model fully considers the influence of the transient effects of the fluid on the cavitation flow, improves the phase change simulation accuracy, and makes the calculated cavitation flow field more consistent with physical reality. This method provides a new idea for the calculation of instantaneous changes in cavitation flow.
[0028] 2. The present invention provides a nonlinear cavitation model that takes into account the transient effect of the flow field. The ratio of the initial radius of the cavitation core to the radius of the cavitation bubble in the model is The second-order derivative of the bubble radius is reflected in the calculation process, and the transient effect of the ambient pressure is considered in the calculation process. The pressure at the initial and final states of each time step Δt is regarded as P0 and P t , considering the transient effect of ambient pressure, the new cavitation model can improve the computational accuracy of simulating the periodic cavitation evolution on the hydrofoil surface, and provide reliable flow field parameters such as pressure and cavitation volume fraction for cavitation flow calculation.
[0029] 3. The present invention provides a cavitation model correction method considering the transient effects of the flow field, and proposes a nonlinear cavitation model considering the transient effects of the flow field, which can be used to quantitatively study and compare the influence of the transient effects of the fluid flow field on the cavitation flow characteristics, and provide a theoretical basis for the unsteady cavitation flow of hydraulic machinery. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0031] Figure 1 A flowchart for realizing the numerical simulation method of the compressible phase change process in the cavitation flow;
[0032] Figure 2 Schematic diagram of the calculation domain of the hydrofoil cavitation flow field according to an embodiment of the present invention;
[0033] Figure 3 A schematic diagram of a grid for calculating a hydrofoil cavitation flow field according to an embodiment of the present invention;
[0034] Figure 4 A schematic diagram comparing the calculation and experimental results of the periodic cavitation growth process of the hydrofoil according to an embodiment of the present invention;
[0035] Figure 5 It is a schematic diagram for comparing lift performance under different cavitation numbers obtained based on experiments and traditional cavitation models and based on experiments and embodiments of the present invention; DETAILED DESCRIPTION
[0036] The present invention is described in detail below in conjunction with specific implementation cases. The following implementation cases will help those skilled in the art to further understand the present invention, but will not limit the present invention in any form.
[0037] In one embodiment of the present invention, a Figure 2 The schematic diagram of the computational domain of the NACA66-2d hydrofoil considering the transient effect of cavitation flow field is shown in the figure. In this example, the hydrofoil chord length C = 150 mm, the hydrofoil attack angle is 6°, the domain length is 8 times the chord length (8C), the leading edge is located 2C from the entrance of the computational domain, and the trailing edge is located 5C from the exit. The computational domain is meshed, and the mesh schematic diagram is shown in the figure. Figure 3 As shown, the inlet and outlet of the computational domain and the solid wall are defined at the same time. The number of grids is 140,000. The boundary layer for calculation is selected to ensure that y+<5, where y is the first layer of grid thickness from the hydrofoil wall. A structured grid is used to encrypt the grids in the leading and trailing edge areas of the hydrofoil.
[0038] The present invention provides a cavitation model correction method considering the transient effect of flow field, such as Figure 1 As shown, the following steps are included:
[0039] Step S1, first, a cavitation model of a water conservancy machinery basin is established in a computer, and the Rayleigh-Plesset equation is used to simulate the change of the cavitation radius under the condition of spherically symmetric sound pressure driving. The processor in the computer performs magnitude analysis based on cavitation influencing factors to obtain a nonlinear bubble motion equation;
[0040] Step S2, considering the non-steady nature of pressure, the processor integrates the nonlinear bubble motion equation to obtain a bubble wall velocity model that considers the transient effect of the flow field, and models the pressure derivative integral term to ensure that the revised model is compatible with the original model;
[0041] Step S3: The processor calculates the interphase mass transfer rate according to the bubble wall velocity model to obtain a revised cavitation model, and subsequently predicts the cavitation phenomenon in the watershed of the hydraulic machinery according to the revised cavitation model.
[0042] Step S4, comparing the cavitation calculation results based on considering the transient effects with the published test results, and comparing the numerical model of the hydrofoil cavitation flow according to the comparison results, so as to verify that a modified cavitation model and flow field prediction method considering the transient effects of the flow field are more accurate than the traditional cavitation model simulation method.
[0043] The specific steps of obtaining the nonlinear bubble motion equation in step S1 are as follows:
[0044] Step S1.1, perform dimensional analysis on the cavitation under the condition of spherically symmetric sound pressure driving, ignoring factors such as gravity, surface tension, viscosity and non-spherical shape, the ordinary differential equation Rayleigh-Plesset equation when the bubble performs pure radial motion is shown in Formula 1:
[0045]
[0046] Where R is the bubble radius; t is the time variable; ρ l Indicates liquid density; P g Indicates the non-condensable gas pressure; P a (t) represents the driving sound pressure; P w Indicates the ambient pressure of the liquid outer boundary, which is equal to the standard atmospheric pressure; c l represents the speed of sound in the liquid. In a specific embodiment, P w =1atm,ρ l =10 3 kg / m 3 , c l =1480m / s.
[0047] The left side of the above formula 1 is the second-order derivative and first-order derivative of the cavitation radius, and the right side is the pressure term and the first-order derivative of the pressure. Under the premise of given initial cavitation radius length and driving sound pressure form, the fourth-order Runge-Kutta method can be used to directly solve formula 1. Assuming that the cavitation nucleus with an initial cavitation radius of R0 is in the low-pressure zone at time 0, a typical solution of the cavitation radius when flowing through the low-pressure zone can be obtained.
[0048] Step S1.2: According to the cavitation radius solution obtained in step S1.1, the magnitude analysis can be performed on the two cavitation radius derivatives and the pressure term and the pressure derivative term of formula 1, because these four terms are all functions of the cavitation radius, among which the non-condensable gas pressure can be expressed by formula 2 containing the cavitation radius:
[0049]
[0050] Among them, P g (R,t) represents the non-condensable gas pressure at time t when the cavitation radius is R; σ represents the surface tension coefficient; R0 represents the initial radius of the cavitation nucleus; a represents the gas van der Waals exclusion radius, usually a=R0 / 8.5; γ represents the adiabatic constant, usually γ=1;
[0051] Through the magnitude analysis, we can know that the magnitude of the radius first-order derivative term and the pressure term is 10 2 , the radius second-order derivative is of order 10 1 , the first-order derivative of pressure is of order 10 0 , so after ignoring the first-order derivative of pressure, the Rayleigh-Plesset equation can be simplified to formula 3:
[0052]
[0053] The above equation is the simplified nonlinear bubble motion equation, P vIndicates the internal pressure of cavitation bubbles; P t represents the ambient pressure at time t, ρ l represents the density of the liquid outside the cavitation bubble; R represents the radius of the cavitation bubble; It means to find the first derivative of the cavitation radius R with respect to the time variable t; It means to find the second derivative of the cavitation radius R with respect to the time variable t;
[0054] In step S2, a bubble wall velocity model considering the transient effect of the flow field is obtained, and the pressure derivative integral term is modeled. The specific steps are:
[0055] Step S2.1: Multiply both sides of Formula 3 by
[0056] According to the initial condition at time zero t = 0 Integrating both sides of the equation with respect to time can obtain the first-order derivative expression of the cavitation radius, Formula 4:
[0057]
[0058] Where P0 represents the ambient pressure at the initial moment within a time step; P t Indicates the ambient pressure at the end of a time step, P0 and P t They represent the ambient pressure at the beginning and end of the time step in the time interval △t respectively. The subscript 0 represents the value calculated at the end of the previous time step, and the subscript t represents the value calculated at the end of the current time step. The pressure derivative integral term of the last item on the right side of Formula 4 reflects the factors affecting the pressure change within a time step.
[0059] Step S2.2: Modify the pressure derivative integral term in Formula 4, and Formula 5 is used to represent the pressure derivative integral term:
[0060]
[0061] Among them, C0 is the preset model coefficient;
[0062] Using Formula 5 to replace the pressure derivative integral in Formula 4, the rate of change of the cavitation radius is Finally, it is expressed by formula 6:
[0063]
[0064] In step S3, the interphase mass transfer rate is calculated using the bubble wall velocity model to obtain a modified cavitation model, and the specific steps include:
[0065] Step S3.1, using Formula 7 to characterize the change of bubble radius during evaporation and condensation of cavitation bubbles:
[0066]
[0067] Wherein, i represents the state parameter, i∈{1,2}, i=1 represents the condensation process; when i=2 represents the evaporation process;
[0068] Step S3.2, using Formula 8 to obtain the mass change rate of a single bubble in the cavitation region:
[0069]
[0070] Where m represents the mass of a single bubble; ρ v Indicates gas density;
[0071] Assuming the bubble number density is n, the total mass transfer rate within a unit volume can be obtained using Formula 9:
[0072]
[0073] in, is the mass transfer rate per unit volume.
[0074] Next, the gas volume fraction of bubbles per unit volume is obtained using Formula 10:
[0075]
[0076] Among them, α represents the bubble volume fraction within one calculation unit;
[0077] Combined with Formula 9, the mass transfer rate can also be expressed by Formula 11:
[0078]
[0079] Among them, R B represents the constant term, which is 10 -6 m.
[0080] Substituting Formula 7 into Formula 11, we can get the mass transfer rate equation considering the transient effect of the flow field, as shown in Formula 12:
[0081]
[0082] Step S3.3, introduce the empirical calibration coefficient, refine the mass transfer rate equation into the corrected cavitation model finally obtained by the evaporation process and the condensation process, as shown in Formula 13:
[0083]
[0084] Among them, R e and R c are the mass transfer rates of the bubble evaporation process and the condensation process respectively; Fvap Indicates the evaporation process coefficient, which can be taken as 50; F cond It represents the condensation process coefficient, which can be 0.01, α nuc represents the volume fraction of nucleation sites, which can be taken as 5 x 10 -4 ; R B represents the constant term, which is 10 -6 m.
[0085] In step S4, the calculation results of the cavitation model considering transient effects are compared with the published test results, including:
[0086] The flow parameters are shown in Table 1:
[0087] Table 1 Flow condition parameters
[0088]
[0089] The pressure-velocity coupling equation is solved by COUPLED algorithm, the discrete equation of space is solved by least squares grid format, the pressure gradient equation is solved by PRESTO algorithm, the momentum equation is solved by bounded central difference format, the transient equation is solved by bounded second-order implicit method, and the Reynolds equation is solved by DES kw turbulence model to calculate turbulent flow. The cavitation model considering transient effects is used to realize the gas-liquid phase change process.
[0090] In addition, in one embodiment, Figure 4 As shown, the periodic cavitation growth process of the hydrofoil obtained based on the experiment and the embodiment of the present invention is compared. It can be analyzed that the modified cavitation model and flow field prediction method considering the transient effect of the flow field disclosed in the present invention can accurately capture the cavitation growth, shedding and collapse process, which qualitatively illustrates the reliability and effectiveness of the present invention.
[0091] In addition, in one embodiment, Figure 5 As shown, the lift performance under different cavitation numbers obtained based on the experiment and the traditional cavitation model and based on the experiment and the embodiment of the present invention are quantitatively compared. The analysis found that the cavity volume evolution calculated by the present invention is more consistent with the experimental results than the traditional phase change model.
[0092] In summary, the invention provides a modified cavitation model that takes into account the transient effect of the flow field, which fully considers the influence of the transient effect of the fluid on the cavitation flow, improves the phase change simulation accuracy, and makes the calculated cavitation flow field more consistent with physical reality. The invention provides a new idea for the calculation of transient changes in cavitation flow.
[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A cavitation model correction method considering the transient effect of flow field, characterized in that: The following steps are involved: Step S1, first, a cavitation model of a water conservancy machinery basin is established in a computer, and a processor in the computer obtains a nonlinear bubble motion equation of the cavitation model based on the change of the cavitation radius of the cavitation model; Step S2: Next, the processor obtains a bubble wall velocity model that takes into account the transient effect of the flow field according to the nonlinear bubble motion equation; Step S3, then, the processor obtains a mass transfer rate function taking into account the transient effect of the flow field based on the bubble wall velocity model; Step S4. Finally, the processor corrects the mass transfer rate of the original cavitation model based on the mass transfer rate function that considers the transient effect of the flow field, that is, corrects the cavitation model, and predicts the cavitation phenomenon in the watershed of the hydraulic machinery according to the corrected cavitation model.
2. The cavitation model correction method considering the transient effect of flow field according to claim 1 is characterized in that: In step S1, the nonlinear bubble motion equation of the cavitation model is obtained by processing according to the following formula: In the above formula, P v Indicates the internal pressure of the bubble; P t represents the environmental pressure at time t; ρ l represents the density of the liquid outside the cavitation bubble; R represents the radius of the cavitation bubble; It means to find the first derivative of the cavitation radius R with respect to the time variable t; It means taking the second derivative of the cavitation radius R with respect to the time variable t.
3. The cavitation model correction method considering the transient effect of flow field according to claim 1 is characterized in that: In step S2, the bubble wall velocity model considering the transient effect of the flow field is obtained by processing according to the following formula: in, represents the derivative of the cavitation radius with respect to the time variable t; ρ l represents the density of the liquid outside the cavitation bubble; P v represents the internal pressure of the bubble; P0 represents the ambient pressure at the initial moment within a time step; P t It represents the ambient pressure at the end of a time step, C0 is the preset model coefficient; R0 represents the initial radius of the cavitation nucleus.
4. The cavitation model correction method considering the transient effect of flow field according to claim 1 is characterized in that: In step S3, the mass transfer rate function considering the transient effect of the flow field is obtained according to the following formula: in, represents the mass transfer rate considering the transient effect of the flow field; α represents the bubble volume fraction per unit volume; ρ v represents the gas density; i represents the state parameter, i∈{1,2}, when the cavitation is in the condensation process, i takes 1, when the cavitation is in the evaporation process, i takes 2, R B represents a given constant term; ρ l represents the density of the liquid outside the cavitation bubble; P v represents the internal pressure of the bubble; P0 represents the ambient pressure at the initial moment within a time step; P t represents the ambient pressure at the end of a time step, C0 is the preset model coefficient; R0 represents the initial radius of the cavitation nucleus; R represents the cavitation radius; n represents the bubble number density.
5. The cavitation model correction method considering the transient effect of flow field according to claim 1 is characterized in that: The expression of the modified cavitation model is as follows: Among them, Re represents the mass transfer rate of the cavitation evaporation process; Rc represents the mass transfer rate of the cavitation condensation process; F vap Indicates the evaporation process coefficient; F cond Represents the condensation process coefficient; α nuc represents the volume fraction of nucleation points; α represents the volume fraction of bubbles per unit volume; R B represents a given constant term; || represents the absolute value function; ρ v Represents the gas density.
6. The cavitation model correction method considering the transient effect of flow field according to claim 1 is characterized in that: The expression of the modified cavitation model is as follows: The original cavitation model includes a mass transfer model based on the Rayleigh-Plesset equation that ignores gravity, surface tension, and viscous forces.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Cavitation model correction method suitable for moving boundary cavitation streaming
CN110704965A
Method for accurately predicting multi-scale cavitation flow around hydrofoil
CN114896722A
Modeling method for simulation model of multi-component single-bubble motion and mass transfer coupling process
WO2024243790A1