Method and system for simulating effluent turbidity of inclined tube sedimentation tank
By compiling the driftFluxPorousFoam solver coupled porous medium model in OpenFOAM, the turbidity of the water inclined tube sedimentation tank is simulated, and the simulation problem caused by the complex structure of the inclined tube is solved, reasonable simulation results and small computing power are achieved, and water treatment is provided Process adjustment and design recommendations.
Patent Information
- Application Number
- CN202410828739.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-11-01
AI Technical Summary
The inclined pipe area structure of the inclined pipe sedimentation tank is complex, which makes it difficult to directly simulate the calculation fluid mechanics method, the calculation amount is large and not easy to converge, and it is impossible to effectively simulate the turbidity of the effluent.
The driftFluxFoam solver in OpenFOAM was used to compile the driftFluxPorousFoam solver coupled to the porous media model, divide the grid cells, set the porous media model parameters and initial boundary conditions, and simulate the turbidity of the efflux of the inclined tube sedimentation tank using the driftFluxPorousFoam solver.
The rationality of the simulation results, easy adjustment of parameters, small computing power and easy convergence are achieved, and the turbidity of the effluent is predicted under known conditions, providing water treatment process adjustment and design suggestions.
Smart Images

Figure CN118886348A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water treatment technology and computational fluid dynamics, in particular to a method and system for simulating effluent turbidity of an inclined tube sedimentation tank. Background Art
[0002] Sedimentation tanks are an important part of the water treatment process, and their function is to remove most of the suspended matter in the water. The upper part of the inclined tube sedimentation tank is equipped with a large number of inclined honeycomb tubes, which can filter out suspended matter that has not had time to settle in the water. Since the inclined tube sedimentation tank is completely closed, monitoring instruments cannot be placed inside, and the internal process can only be reproduced through modeling methods. Computational fluid dynamics is an effective method to simulate fluid movement. The simulation results can predict changes in water quality and provide auxiliary decision-making references for water treatment process adjustments. The inclined tube area in the inclined tube sedimentation tank has a complex structure. If the computational fluid dynamics method is used to model and simulate each inclined tube, the calculation amount is large and it is not easy to converge. Therefore, it is necessary to seek other simple and easy methods to simulate the inclined tube area. Summary of the invention
[0003] In view of the current situation that the inclined tube sedimentation tank is completely closed and the inclined tube area is difficult to directly simulate, the present invention proposes a method and system for simulating the turbidity of the effluent of the inclined tube sedimentation tank to solve the problems raised in the above technical background.
[0004] One aspect of the present invention is to provide a method for simulating effluent turbidity of an inclined tube sedimentation tank, the method comprising the following steps:
[0005] S101. Compile a new driftFluxPorousFoam solver for coupled porous media models based on the driftFluxFoam solver in OpenFOAM.
[0006] S102, selecting a calculation area for the inclined tube sedimentation tank and dividing it into grid units;
[0007] S103, dividing the inclined tube area and setting the porous medium model parameters;
[0008] S104, setting initial conditions and boundary conditions, and setting water and suspended matter motion parameters;
[0009] S105, set the discrete format and operating parameters, use driftFluxPorousFoa m The solver simulates the turbidity of the effluent from the inclined tube sedimentation tank.
[0010] Preferably, in step S101, the set of equations in the driftFluxPorousFoam solver includes at least: a continuity equation, a momentum equation and a suspended matter transport equation; wherein the continuity equation is expressed by the following method:
[0011]
[0012] Where ρ is the density of the mixture of water and suspended solids; ρ = α w ρ w +α s ρ s , α w is the volume fraction of water, α s is the volume fraction of suspended matter, α w +α s =1;ρ w is the density of water; ρ s is the density of the suspended matter; t is the time; U is the velocity of the mixture of water and suspended matter;
[0013] The momentum equation is expressed as follows:
[0014]
[0015] Where ρ is the density of the mixture of water and suspended solids; U is the velocity of the mixture of water and suspended solids; t is time; P is pressure; T is the viscous stress tensor; T t is the turbulent stress tensor; g is the gravitational acceleration; S is the source and sink term; α s is the volume fraction of suspended matter; ρ s is the density of the suspended matter; ρ w is the density of water; U s is the settling velocity of the suspended matter;
[0016] The suspended matter transport equation is expressed as follows:
[0017]
[0018] Among them, α s is the volume fraction of suspended matter; t is time; U is the velocity of the mixture of water and suspended matter; T is the diffusion coefficient; ρ w is the density of water; p is the density of the mixture of water and suspended solids; U s is the settling velocity of the suspended matter.
[0019] Preferably, in step S101, a source and sink term of a porous medium model is added to the momentum equation in a driftFluxFoam solver, and the solution is compiled into a new driftFluxPorousFoam solver.
[0020] Preferably, in step S102, the inclined tube sedimentation tank calculation area includes the inclined tube area.
[0021] Preferably, in step S103, the porous medium model is a Darcy-Forchheimer model, which is expressed by the following method:
[0022]
[0023] Among them, S is the source and sink term; μ is the dynamic viscosity; d is the Darcy coefficient; p is the density of the mixture of water and suspended matter; f is the Forchheimer coefficient; and U is the velocity of the mixture of water and suspended matter.
[0024] Preferably, in step S104, the parameters for which initial conditions and boundary conditions need to be set include: mixture velocity, pressure, volume fraction of suspended matter and turbulence parameters; water and suspended matter motion parameters include density, viscosity and sedimentation velocity of suspended matter.
[0025] Preferably, in step S105, the discrete format is set as follows: the time derivative term in the equation group in the driftFluxPorousFoam solver is discretized using the first-order implicit Euler format, and the convection term is discretized using the second-order Gaussian upwind format; the pressure-velocity coupling calculation method adopts the PIMPLE algorithm.
[0026] Preferably, in step S105, the setting of the time step in the operating parameters satisfies the CFL condition to ensure that:
[0027] Courant number Co<1,
[0028] Among them, U is the flow velocity, Δt is the time step, and Ax is the grid size in the flow velocity direction.
[0029] Preferably, in step S105, the simulation result of the driftFluxPorousFoam solver is the volume fraction of suspended matter, which is first converted into suspended matter concentration and then converted into effluent turbidity.
[0030] More preferably, in step S105, the conversion formula between the volume fraction of the suspended matter and the concentration of the suspended matter is:
[0031] C s =α s ρ s ,
[0032] Among them, C s is the suspended matter concentration; α s is the volume fraction of suspended matter; ρ s is the density of the suspended matter;
[0033] The suspended solids concentration and effluent turbidity calibration curve is obtained by sampling, filtration, drying, weighing and turbidity measurement, and then the suspended solids concentration and effluent turbidity are converted.
[0034] Another aspect of the present invention is to provide a system for simulating the turbidity of effluent from an inclined tube sedimentation tank, wherein the system is used to execute a method for simulating the turbidity of effluent from an inclined tube sedimentation tank according to the present invention.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] The present invention proposes a method and system for simulating the turbidity of the effluent from an inclined tube sedimentation tank. The inclined tube area is generalized as a porous medium, and the driftFluxFoam solver in OpenFOAM is used to compile a new driftFluxPorousFoam coupled porous medium model. m The solver method simulates the inclined tube sedimentation tank, which has the advantages of reasonable simulation results, easy adjustment of parameters, small computing power and easy convergence. Compared with closed commercial software, the open source computational fluid dynamics software OpenFOAM can freely couple the porous media model for secondary development. The newly compiled driftFluxPorousFoam solver can be applied not only to the inclined tube sedimentation tank, but also to other problems involving porous media and two-phase flow motion.
[0037] The present invention proposes a method and system for simulating the effluent turbidity of an inclined tube sedimentation tank, which can simulate the suspended matter settling and inclined tube filtration process in the inclined tube sedimentation tank and predict the effluent turbidity when the inlet flow rate, suspended matter concentration and inclined tube characteristics of the inclined tube sedimentation tank are known. The present invention can not only provide auxiliary decision-making references for water treatment process adjustment, but also provide scientific suggestions for the design and construction of inclined tube sedimentation tanks. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the specific implementation of the present invention or the technical solution in the prior art, the following briefly introduces the drawings required for use in the specific implementation or the prior art description. Obviously, the drawings described below are some implementations of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 The present invention is a flow chart of the steps of a method for simulating turbidity of effluent from an inclined tube sedimentation tank.
[0040] Figure 2 It is a simplified structural diagram of an inclined tube sedimentation tank in one embodiment of the present invention.
[0041] Figure 3 This is a simulation verification diagram of the effluent turbidity during operation of an actual inclined tube sedimentation tank in one embodiment of the present invention.
[0042] Figure 4It is a simulation verification diagram of the suspended matter concentration and effluent turbidity at each vertical point during the operation of an actual inclined tube sedimentation tank in one embodiment of the present invention.
[0043] Figure 5 It is a simulated distribution diagram of water flow and suspended matter concentration field when an actual inclined tube sedimentation tank is in operation in one embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to make the above and other features and advantages of the present invention more clear, the present invention is further described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.
[0045] Example:
[0046] The technical solution of the present invention is further described below in conjunction with specific embodiments.
[0047] Take the inclined tube sedimentation tank of a real water supply plant as an example:
[0048] like Figure 1 As shown, according to an embodiment of the present invention, a method for simulating turbidity of effluent from an inclined tube sedimentation tank is provided, comprising the following steps:
[0049] Step S101: Compile a new driftFluxPorousFoam coupled porous media model based on the driftFluxFoam solver in OpenFOAM. m Solver.
[0050] Among them, the equations in the driftFluxPorousFoam solver include at least: continuity equation, momentum equation and suspended matter transport equation;
[0051] According to an embodiment of the present invention, the continuity equation is expressed by the following method:
[0052]
[0053] Where ρ is the density of the mixture of water and suspended solids; ρ = α w ρ w +α s ρ s , α w is the volume fraction of water, α s is the volume fraction of suspended matter, α w +α s =1;ρ w is the density of water; ρ s is the density of the suspended matter; t is the time; U is the velocity of the mixture of water and suspended matter;
[0054] The momentum equation is expressed as follows:
[0055]
[0056] Where p is the density of the mixture of water and suspended solids; U is the velocity of the mixture of water and suspended solids; t is time; P is pressure; T is the viscous stress tensor; Tt is the turbulent stress tensor; g is the gravitational acceleration; S is the source and sink term; α s is the volume fraction of suspended matter; ρ s is the density of the suspended matter; ρ w is the density of water; U s is the settling velocity of the suspended matter;
[0057] The suspended matter transport equation is expressed as follows:
[0058]
[0059] Among them, α s is the volume fraction of suspended matter; t is time; U is the velocity of the mixture of water and suspended matter; Γ is the diffusion coefficient; ρ w is the density of water; ρ is the density of the mixture of water and suspended solids; U s is the settling velocity of the suspended matter.
[0060] In this embodiment, the source and sink terms of the porous medium model are added to the momentum equation in the driftFluxFoam solver and compiled into a new driftFluxPorousFoam. m Solver.
[0061] driftFluxPorousFoa m The solver first determines whether the calculated area is a porous medium area, and then adds the porous medium model source and sink terms to the momentum equation for the porous medium area. The porous medium model source and sink terms are not added to the momentum equation for the non-porous medium area.
[0062] Step S102: Select the calculation area of the inclined tube sedimentation tank and divide it into grid units.
[0063] The inclined tube sedimentation tank in the actual water supply plant in this embodiment is an inclined tube sedimentation tank with water inlet from the side and water outlet from the top. In order to save computing power, a 2D model of the inclined tube sedimentation tank is established, and the calculation area of the inclined tube sedimentation tank is selected. The calculation area of the inclined tube sedimentation tank includes the inclined tube area, such as Figure 2 In this embodiment, the number of grid cells is 4951, the average value of grid non-orthogonality is 1.4, and the maximum skewness value is 0.5. Figure 2 shown.
[0064] In this embodiment, the inclined tube sedimentation tank is 4.68m high, and the inclined tube area is 3.8-4.3m away from the bottom of the tank. Two sampling points C1 and C2 are set on the side of the inclined tube sedimentation tank, with C1 being 1.85m away from the bottom of the tank and C2 being 0.35m away from the bottom of the tank.
[0065] Step S103: Divide the inclined tube area and set the porous medium model parameters.
[0066] In this embodiment, the inclined tube area is divided in the inclined tube sedimentation tank calculation area, the inclined tube area is generalized as a porous medium, and the porous medium model is used to simulate the inclined tube area. The porous medium model selects the Darcy-Forchheimer model, which is expressed by the following method:
[0067]
[0068] Where S is the source and sink term; μ is the dynamic viscosity; d is the Darcy coefficient, (d x , d y , d z )=(5×10 3 , 5×10 6 , 0); p is the density of the mixture of water and suspended solids; f is the Forchheimer coefficient, (f x , f y , f z )=(50,50,0); U is the velocity of the mixture of water and suspended matter.
[0069] Step S104: setting initial conditions and boundary conditions, and setting water and suspended matter motion parameters.
[0070] In this embodiment, the parameters that need to be set for the initial conditions and boundary conditions are: mixture velocity, pressure, volume fraction of suspended matter and turbulence parameters; the water and suspended matter motion parameters include density, viscosity and sedimentation velocity of suspended matter.
[0071] In this embodiment, the water inlet flow rate is the monitoring data of the water inlet flow meter of the actual inclined tube sedimentation tank. According to the continuity condition, it can be known that the water outlet flow rate is equal to the water inlet flow rate. The water inlet flow rate is equal to the water inlet flow rate divided by the water inlet area, and the water outlet flow rate is equal to the water outlet flow rate divided by the water outlet area.
[0072] In order to eliminate the influence of hydraulic pressure changes, this embodiment uses the reference pressure p when setting the pressure. rgh =ρ-ρg·h. Wherein, p is the static pressure, ρ is the density of the mixture of water and suspended solids, g is the acceleration of gravity, and h is the center position vector of the grid unit. In this embodiment, the outlet reference pressure is set to a fixed value of 0, and the inlet reference pressure is automatically adjusted with the outlet reference pressure.
[0073] The volume fraction of suspended solids is equal to the suspended solids concentration divided by the suspended solids density. In this embodiment, the suspended solids concentration at the water inlet is measured using the suspended solids concentration meter monitoring data and sampling measurement data at the water inlet. The initial suspended solids concentration field is set based on the suspended solids concentration data measured at the water outlet, the side sampling points C1, C2, and the bottom mud. Figure 2 shown.
[0074] Water and suspended matter motion parameters include density, viscosity and the settling velocity of suspended matter.
[0075] In this embodiment, the suspended solids become non-Newtonian fluids after precipitation. The non-Newtonian fluid model uses the Bingham fluid model and is calculated by the following method:
[0076]
[0077] Where τ is the fluid shear stress; τ0 is the yield stress, In this embodiment, a1=0.0005966 kg / m / s 2 , a2= w 05 w .8;μ p is the Bingham fluid viscosity, μc is the viscosity of water, which is 0.89×10-3kg / m / s; a3=0.00023143kg / m / s, a4=179.26; is the fluid shear rate.
[0078] In this embodiment, the settling velocity of the suspended matter is calculated by the following method:
[0079]
[0080] Among them, U s is the sedimentation velocity of the suspended matter, in m / s; C s is the suspended matter concentration, in kg / m 3 In this embodiment, the values of a, b, c, and d are 3.76×10 -6 , -0.3558, -8.14 and 0.0004.
[0081] The setting of viscosity and sedimentation velocity of suspended matter can also be obtained through sampling experiments to obtain parameters that are consistent with the actual situation, and is not limited to the above description. The above description is just a setting method given in this embodiment.
[0082] Step S105: Set the discrete format and operating parameters, using driftFluxPorousFoa m The solver simulates the turbidity of the effluent from the inclined tube sedimentation tank.
[0083] According to an embodiment of the present invention, the discrete format is set as follows: the time derivative term in the equation group in the driftFluxPorousFoam solver is discretized using the first-order implicit Euler format, and the convection term is discretized using the second-order Gaussian upwind format; the pressure-velocity coupling calculation method adopts the PIMPLE algorithm, performs three pressure corrections, and the relaxation factor is set to 1.
[0084] In this embodiment, setting the operating parameters includes a start time, an end time, and a time step.
[0085] The start and end times should be set in accordance with the actual operation of the inclined tube sedimentation tank, and mode adjustment time should be reserved. The mode adjustment time varies according to the size, structure, number of grids, and inlet and outlet velocity and pressure conditions of the pool. Numerical simulation tests are required. The mode adjustment time is from the start time to the time when the water flow stabilizes.
[0086] In this embodiment, the actual inclined tube sedimentation tank is continuously operated, and the interval of mud discharge is 3-4 hours. The test results of the numerical simulation test show that the water flow in the pool tends to be stable after the mode is operated for 1.5 hours, so the mode adjustment time is set to 1.5 hours. Set the start time to 0 and the end time to 6 hours.
[0087] The time step should be set in combination with the fluid velocity and the grid size, and should satisfy the CFL (Courant, Friedrichs, Lewy) condition to ensure:
[0088] Coulomb number Co<1,
[0089] Among them, U is the flow velocity, Δt is the time step, and Δx is the grid size in the flow velocity direction.
[0090] In this embodiment, the Courant number Co is set to be less than 0.8; the time step is set using a variable step method, Δt=0.005, and Δt<1.
[0091] According to an embodiment of the present invention, the volume fraction sampling point position and sampling frequency of the suspended solids are set in the controlDict file. The sampling point positions are the outlet of the inclined tube sedimentation tank, the side sampling points C1 and C2, and the bottom mud. Figure 2 As shown in the figure, the sampling frequency is 1 minute. After the mode is run, the volume fraction of suspended matter at each point can be output over time.
[0092] In this embodiment, the driftFluxPorousFoam solver adds the porous medium model source and sink terms to the momentum equation for the porous medium region, and does not add the porous medium model source and sink terms to the momentum equation for the non-porous medium region. mThe solver calculates the calculation area of the inclined tube sedimentation tank and simulates the turbidity of the effluent from the inclined tube sedimentation tank. driftFluxPorousFoa m The solver simulation result is the volume fraction of suspended solids, which is first converted into suspended solids concentration and then converted into effluent turbidity.
[0093] In this embodiment, the conversion formula between the volume fraction of suspended matter and the concentration of suspended matter is:
[0094] C s =α s ρ s ,
[0095] Among them, C s is the suspended matter concentration; α s is the volume fraction of suspended matter; ρ s is the density of the suspended matter;
[0096] The suspended solids concentration and effluent turbidity calibration curve is obtained by sampling, filtration, drying, weighing and turbidity measurement, and then the suspended solids concentration and effluent turbidity are converted.
[0097] The present invention generalizes the inclined tube area into a porous medium and adopts driftFluxFoa in OpenFOAM m The new driftFluxPorousFoam solver method of solver compilation coupling porous media model is used to simulate the inclined tube sedimentation tank, which has the advantages of reasonable simulation results, easy adjustment of parameters, small computing power required and easy convergence.
[0098] According to an embodiment of the present invention, a system for simulating turbidity of effluent from an inclined tube sedimentation tank is provided, which is used to execute a method for simulating turbidity of effluent from an inclined tube sedimentation tank according to the present invention.
[0099] like Figure 3 As shown, this embodiment simulates and verifies the turbidity monitoring data of the effluent from the inclined tube sedimentation tank of the water supply plant during November-December 2023. Figure 3 (a) is a comparison chart of the simulated and measured turbidity values of the effluent from 6:00 to 9:00 on November 3, 2023; Figure 3 (b) is a comparison chart of the simulated and measured effluent turbidity values from 13:20 to 16:20 on November 24, 2023; Figure 3 (c) is a comparison chart of the simulated and measured turbidity values of the effluent from 19:00 to 21:00 on December 1, 2023; Figure 3 (d) is a comparison chart of the simulated and measured values of effluent turbidity from 17:20 to 21:20 on December 28, 2023.
[0100] like Figure 4As shown, this embodiment simulates and verifies the sampling data of the outlet, C1, C2 and bottom mud of the inclined tube sedimentation tank of the water supply plant from February to April 2023. Figure 4 The medium grey area indicates the sampling period.
[0101] Figure 4 (a) is a comparison chart of the simulated and measured values of suspended solids concentration at C2 and sediment points during the sampling period from 10:10 to 10:40 on February 21, 2023; Figure 4 (b) is a comparison chart of the simulated and measured values of suspended matter concentration at point C1 during the sampling period from 10:10 to 10:40 on February 21, 2023; Figure 4 (c) is a comparison chart of the simulated and measured values of effluent turbidity during the sampling period from 10:10 to 10:40 on February 21, 2023.
[0102] Figure 4 (d) is a comparison chart of the simulated and measured values of suspended matter concentration at sediment points during the sampling period from 10:10 to 10:40 on February 28, 2023; Figure 4 (e) is a comparison chart of the simulated and measured values of suspended matter concentration at point C1 during the sampling period from 10:10 to 10:40 on February 28, 2023; Figure 4 (f) is a comparison chart of the simulated and measured values of effluent turbidity during the sampling period from 10:10 to 10:40 on February 28, 2023.
[0103] Figure 4 (g) is a comparison chart of the simulated and measured values of suspended matter concentration at sediment points during the sampling period from 10:10 to 10:40 on March 14, 2023; Figure 4 Middle (h) is a comparison chart of the simulated and measured values of suspended matter concentration at point C1 during the sampling period from 10:10 to 10:40 on March 14, 2023; Figure 4 (i) is a comparison chart of the simulated and measured values of effluent turbidity during the sampling period from 10:10 to 10:40 on March 14, 2023.
[0104] Figure 4 Middle (j) is a comparison chart of the simulated and measured values of suspended matter concentration at C2 and sediment points during the sampling period from 10:10 to 10:40 on April 14, 2023; Figure 4 Middle (k) is a comparison chart of the simulated and measured values of suspended matter concentration at point C1 during the sampling period from 10:10 to 10:40 on April 14, 2023; Figure 4 (l) is a comparison chart of the simulated and measured values of effluent turbidity during the sampling period from 10:10 to 10:40 on April 14, 2023.
[0105] By comparing the simulated values and measured values of C1, C2, suspended solids concentration at sediment points and effluent turbidity, it can be seen that the simulation effect of the present invention is better and has higher accuracy.
[0106] This embodiment uses the sample sampling surface method to obtain the water flow and suspended matter concentration field distribution data on a specified surface at a specified time. Figure 5 As shown, in this embodiment, the water flow and suspended matter concentration distribution field of the inclined tube sedimentation tank at 10:30 on February 21, February 28, March 14 and April 14, 2023 during the verification period are output.
[0107] Figure 5 (a) shows the water flow and suspended solids concentration distribution in the inclined tube sedimentation tank at 10:30 on February 21, 2023; Figure 5 (b) shows the water flow and suspended matter concentration distribution field of the inclined tube sedimentation tank at 10:30 on February 28, 2023; Figure 5 (c) shows the water flow and suspended solids concentration distribution in the inclined tube sedimentation tank at 10:30 on March 14, 2023; Figure 5 Middle (d) shows the water flow and suspended matter concentration distribution field in the inclined tube sedimentation tank at 10:30 on April 14, 2023.
[0108] Depend on Figure 5 It can be seen that the water flows in from the water inlet and then encounters the obstruction of the inclined tube upward. Part of the water flows in the horizontal direction, and part of the water flows out of the outlet through the inclined tube. Due to the sedimentation of suspended matter, mud accumulates at the bottom of the inclined tube sedimentation tank.
[0109] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for simulating the turbidity of effluent from an inclined tube sedimentation tank, characterized in that: The method comprises the following steps: S101. Compile a new driftFluxPorousFoam solver for coupled porous media models based on the driftFluxFoam solver in OpenFOAM. S102, selecting a calculation area for the inclined tube sedimentation tank and dividing it into grid units; S103, dividing the inclined tube area and setting the porous medium model parameters; S104, setting initial conditions and boundary conditions, and setting water and suspended matter motion parameters; S105. Set the discrete format and operating parameters, and use the driftFluxPorousFoam solver to simulate the turbidity of the effluent from the inclined tube sedimentation tank.
2. The method according to claim 1, characterized in that In step S101, the set of equations in the driftFluxPorousFoam solver includes at least: a continuity equation, a momentum equation and a suspended matter transport equation; The continuity equation is expressed as follows: Where p is the density of the mixture of water and suspended solids; ρ = α w ρ w +α s ρ s , α w is the volume fraction of water, α s is the volume fraction of suspended matter, α w +α s =1;ρ w is the density of water; p s is the density of the suspended matter; t is the time; U is the velocity of the mixture of water and suspended matter; The momentum equation is expressed as follows: Where p is the density of the mixture of water and suspended solids; U is the velocity of the mixture of water and suspended solids; t is time; P is pressure; T is the viscous stress tensor; T t is the turbulent stress tensor; g is the gravitational acceleration; S is the source and sink term; α s is the volume fraction of suspended matter; p s is the density of the suspended matter; ρ w is the density of water; U s is the settling velocity of the suspended matter; The suspended matter transport equation is expressed as follows: Among them, α s is the volume fraction of suspended matter; t is time; U is the velocity of the mixture of water and suspended matter; Γ is the diffusion coefficient; ρ w is the density of water; p is the density of the mixture of water and suspended solids; U s is the settling velocity of the suspended matter.
3. The method according to claim 1, characterized in that In step S101, the source and sink terms of the porous medium model are added to the momentum equation in the driftFluxFoam solver, and the solution is compiled into a new driftFluxPorousFoam solver.
4. The method according to claim 1, characterized in that In step S102, the calculation area of the inclined tube sedimentation tank includes the inclined tube area.
5. The method according to claim 1, characterized in that: In step S103, the porous medium model is selected as the Darcy-Forchheimer model, which is expressed by the following method: Among them, S is the source and sink term; μ is the dynamic viscosity; d is the Darcy coefficient; ρ is the density of the mixture of water and suspended matter; f is the Forchheimer coefficient; and U is the velocity of the mixture of water and suspended matter.
6. The method according to claim 1, characterized in that In step S104, the parameters that need to be set for initial conditions and boundary conditions include: mixture velocity, pressure, volume fraction of suspended matter and turbulence parameters; water and suspended matter motion parameters include density, viscosity and sedimentation velocity of suspended matter.
7. The method according to claim 1, characterized in that In step S105, the discrete format is set as follows: the time derivative term in the equation group in the driftFluxPorousFoam solver is discretized using the first-order implicit Euler format, the convection term is discretized using the second-order Gaussian upwind format; and the pressure-velocity coupling calculation method adopts the PIMPLE algorithm.
8. The method according to claim 1, characterized in that In step S105, the time step in the operating parameters is set to meet the CFL condition to ensure that: Coefficient Co<1, Among them, U is the flow velocity, Δt is the time step, and Δx is the grid size in the flow velocity direction.
9. The method according to claim 1, characterized in that: In step S105, the simulation result of the driftFluxPorousFoam solver is the volume fraction of suspended matter, which is first converted into suspended matter concentration and then converted into effluent turbidity.
10. A system for simulating effluent turbidity of an inclined tube sedimentation tank, characterized in that: The system is used to perform the method according to any one of claims 1 to 9.
