CN104091065A - Intermittent flow numerical simulation method for solving shallow water problem - Google Patents
Intermittent flow numerical simulation method for solving shallow water problem Download PDFInfo
- Publication number
- CN104091065A CN104091065A CN201410315720.7A CN201410315720A CN104091065A CN 104091065 A CN104091065 A CN 104091065A CN 201410315720 A CN201410315720 A CN 201410315720A CN 104091065 A CN104091065 A CN 104091065A
- Authority
- CN
- China
- Prior art keywords
- gamma
- omega
- equation
- overbar
- polynomial
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an intermittent flow numerical simulation method for solving the shallow water problem and relates to the field of computational fluid mechanics, in particular to a numerical method for solving the two-dimensional hyperbolic system Riemannian problem. The method is applied to the solution of a shallow-water wave equation for numerical simulation of intermittent flow. According to the method, in a two-dimensional structureless triangular net, the Riemannian problem of a hyperbolic type shallow-water equation is solved, numerical precision and resolution are improved, and hydrodynamic force features of intermittent flow are discussed; a high-resolution numerical model applicable to a complex terrain and the phenomenon that a large gradient or intermittent flow is contained in a complex calculation area is established based on the structureless triangular net, errors can be reduced to a large extent, and the resolution of simulation of the hydrodynamic force features is improved.
Description
Technical field
The invention discloses a kind of method that shallow water problems simulation is interrupted current numerical value that solves, be specifically related to Fluid Mechanics Computation technical field.
Background technology
Numerical simulation is one of main path of understanding HYDRODYNAMIC CHARACTERISTICS.In coastal waters, the large area such as river mouth, lake, large reservoir opens wide waters, can adopt Wave of Two-Dimension Shallow Water Equation to describe the feature of hydrodynamic parameter.Because shallow water equation has nonlinear characteristic, generally cannot obtain analytic solution, mainly solve by numerical simulation.
Numerical method is the core of numerical simulation.River mouth, seashore and offshore waters, be subject to the impact of the factors such as off-lying sea tidal wave, water front and landform, hydrodynamic environment is very complicated, except these physical factors, also has the mathematical theory characteristic of shallow water equation itself, if numerical method selects improper meeting to cause false concussion, and the not all numerical method that is applicable to solving shallow water current can be used for simulation and is interrupted current.In general, even if given initial condition is very simple, the solution of shallow water equation also may develop into discontinuity wave or shock wave, and in fact, this is the general characteristic without the non-linear hyperbolic conservation law of dissipativeness.
The mobile numerical simulations of strong discontinuity such as dam break ripple, tidal bore be all the time important in hydrodynamics research, be also difficult problem.A lot of traditional numerical methods that solve shallow water equation are all the governing equations based on differential form, require physical descriptor everywhere continuous, can be micro-, therefore while there is be interrupted mobile, just there will be some problems at this class water level of simulation, flow velocity.Some general hydrodynamics numerical simulation softwares, are applied to general river course all very successful both at home and abroad, flow but can't well simulate discontinuous flow, particularly strong discontinuity.The main difficulty of discontinuous flow numerical simulation is to set up the computation scheme of " harmony ", shallow water equation flux term will with source item " harmony "; Before and after being interrupted, water level, current gradient are very large, require computation scheme can simulate large gradient and flow, and form is stable again.Thereby the theoretical research of discontinuous solution and numerical simulation just have the academic significance of particular importance.
Theoretical analysis shows, utilizes high-order, high precision numeric format not only can reduce the requirement to grid, can also accurately catch flow phenomenon complicated in flow field, and therefore developing high order accurate numerical method is one of important channel of improving numerical simulation calculation precision.In addition, have the numerical simulation of the physical phenomenon of multiple dimensional variation for room and time, require multiple yardstick information to be caught in numerical evaluation, this also needs high-accuracy high-resolution form.Therefore in shallow water current, the high resolution numerical simulation of discontinuous flow has more important learning value.
Correct simulation is interrupted current and first needs correct simulation Rankine-Hugoniot.In the time not considering viscous effect, discontinuity wave is a discontinuity surface.Current is discontinuity surface to be included in zoning and to be calculated by unified method, be i.e. so-called shock capturing method compared with effective method.Its basic point of departure is to use the conservativeness difference scheme compatible with conservation law differential equation group, the Difference Solution of gained meets discontinuity condition automatically in interruption both sides, no matter thereby whether there is interruption in solution, can not unify to calculate with making any distinction between, but require computing grid closeer, and require computation scheme to there is the ability of the large gradient of simulation.Single order precision format in common trapping, what can make that shock wave smears is excessively flat, and second order or the classical form numerical solution higher than second order accuracy easily produce non-physics concussion near shock wave.In recent years for the resolution and the false concussion that improve near numerical solution shock wave have made great progress, some are produced and have solved the high resolving power numeric format of shallow water discontinuity wave.
Sharp keen and the verisimilitude of so-called " high resolving power " exponential quantity solution figure, shows that the numerical dissipation of numerical method is faint and moderate.To ignore the conservation form shallow water equation U of source item
t+ F (U)
x=0 is example, and wherein U is conservativeness physical quantity, and F (U) is flux term.If the discontinuous point x of true solution
sin interval
in, wherein subscript i is grid node numbering, as x < x
stime U=U
l, as x > x
stime U=U
r, subscripting L, the symbol U of R
l, U
rrepresent that respectively U is at x
sthe value on the some left side and the right.
The Difference Solution of conservation scheme is:
Wherein, subscript j is grid node numbering, U
mfor x
japproximate U value on point.
In order to meet conservativeness, need following formula to set up:
This formula and difference scheme have been determined x uniquely
sand U
m.Therefore, numerical value is interrupted and must at least relates to three lattice points (i.e. two intervals).The interruption resolution of some good forms has reached two lattice to three lattice at present.Realizing the design of high resolution scheme, is exactly under the prerequisite of the compatibility that ensures form, stability, in the time of design and structure form, can weaken as far as possible its numerical dispersion, keeps numerical dissipation sexual clorminance.
It is the basis of numerical simulation that grid generates, and its essence is that physics solves territory and calculates the conversion that solves territory.In the time solving the flow field with complex geometric shapes, it is a very important problem that suitable grid generates, and the quality of mesh quality directly has influence on convergence situation and the precision of result of calculation.Non-structure grid has that complex region adaptability is good, local refinement flexibly and be convenient to adaptive advantage, simulating nature border and complicated underwater topography, improve boundary condition simulation precision well.
Summary of the invention
Technical matters to be solved by this invention is: for the defect of prior art, a kind of method that shallow water problems simulation is interrupted current numerical value that solves is provided, specifically a kind of numerical method that solves Wave of Two-Dimension Shallow Water Equation Riemann Solution, can be applied to simulation dam break ripple, tidal bore etc. and can not press interruption current, and then understand the HYDRODYNAMIC CHARACTERISTICS of being interrupted current.
The present invention is for solving the problems of the technologies described above by the following technical solutions:
Solve the method that shallow water problems simulation is interrupted current numerical value, set up the high resolving power numerical model that simulation is interrupted current problem, utilize in described modeling landform and computational fields with the current phenomenon of large Gradient Solution or interruption, concrete steps are as follows:
Step 1, set up computing grid, non-structure triangular mesh is carried out in physical computing region and cut apart, obtain a plurality of triangular mesh unit, using single grid cell as controlling unit, wherein i triangle control unit is designated as Ω
i;
Step 2, reflect by conservation form physical quantity and under Descartes's rectangular coordinate system, by the Representation Equation of planar motion of shallow conservation form be the HYDRODYNAMIC CHARACTERISTICS of each computing grid:
U
t+F(U)
x+G(U)
y=S (1);
Wherein, U is conserved quantity vector; F, G is flux vector; S is source item vector, and t is the time, and x and y are cartesian coordinate system coordinate, U
t, F (U)
x, G (U)
ybe expressed as time t and space x, the partial derivative of y direction, is specifically expressed as:
U=[h,uh,vh]
T;
F=[uh,u
2h+gh
2/2,uvh]
T;
G=[vh,uvh,v
2h+gh
2/2]
T;
S=[0,-ghb
x,-ghb
y]
T;
Wherein, T represents vectorial transposition; U, v be respectively x, y direction along the average velocity component of the depth of water, and be about x, y, the function of t; H is the depth of water; G is acceleration of gravity; b
x, b
ybe respectively the component of bed sloped in x, y direction, b (x, y) is bed level of the river function;
Solve the Riemann Solution of above-mentioned equation, to system of equations (1), make vector function E=(F, G),
for gradient operator, formula (1) is expressed as:
U
t+▽·E=S (2);
Adopt the triangular mesh unit of dividing in step 1 to carry out zoning discrete, at Ω
iabove system of equations (2) is carried out to integration, and by utilizing counterclockwise Green formula that area is divided into line integral:
Wherein,
for the ordinary differential operator of time orientation, d Ω is that area divides infinitesimal, and dl is line integral infinitesimal, L
mrepresent i triangular element Ω
im article of limit, m=1,2,3, n
m=(n
mx, n
my)=(cos θ, sin θ) be L
munit outside normal vector, n
mx, n
myfor n
mat the component of x, y direction, θ is the angle of outer normal direction and horizontal direction;
Definition unit mean value:
Wherein, | Ω
i| be grid cell area;
Utilize 2 Gauss quadrature formulas to solve the line integral in formula (3):
Wherein, | L
m| be triangle edges boundary line L
mlength, G
qfor triangular element limit L
mon Gauss point,
for corresponding weight coefficient, q is Gauss point numbering,
Construct a numerical flux form approximate substitution E (U (G
q, t)), variate-value inside and outside on triangular mesh elementary boundary is designated as respectively to U
l, U
r, will be by Gauss point G
qflux be designated as
wherein, U
l(G
q, t), U
r(G
q, t) be respectively U in the inside and outside value in Gauss point triangular mesh unit, draw thus the limited bulk semidiscrete formulation of governing equation (3):
Step 3, solve the HLL numerical flux on triangular mesh elementary boundary
Step 4, employing three rank Runge-Kutta time discrete methods, to discrete processing the on time orientation, draw the time discrete form of third-order;
Step 5, employing three rank WENO form reconstructing methods solve U
l(G
q, t), U
r(G
q, t);
Step 6, to each grid cell, utilize the conserved quantity vector integral mean of each unit on current time layer, solve the conserved quantity vector integral mean in next moment:
Through on step 5 convection cell equation time orientation discrete after, then convection cell equation carries out spatial spreading, expression formula is:
Wherein, L (U) is spatial discretization operator;
Set n the U value on time horizon for U
n, after a time step Δ t, the approximate value U of next time horizon
n+1be expressed as:
U
(1)=U
n+ΔtL(U
n);
Wherein, U
(1), U
(2)for middle transition vector.
As present invention further optimization scheme, in described step 3, the HLL flux expression formula of equation is specific as follows:
Wherein, s
l, s
rrespectively the upper infimum of wave velocity: s
l=u
l-a
lq
l, s
r=u
r+ a
rq
r;
Wherein, the velocity of wave of the right and left is expressed as:
Set q
k, h
*for middle transition amount, K=L, R, is specially:
As present invention further optimization scheme, described step 4 comprises: for triangular mesh unit structure triangular element Ω
0polynomial expression, concrete steps comprise:
(501) structure of linear polynomial:
Based on triangular element Ω
0and nine adjacent triangular elements, set nine templates, be specially:
B
1={Ω
0,Ω
j,Ω
k};B
2={Ω
0,Ω
k,Ω
i};B
3={Ω
0,Ω
i,Ω
j};B
4={Ω
0,Ω
i,Ω
ia};B
5={Ω
0,Ω
i,Ω
ib};B
6={Ω
0,Ω
j,Ω
ja};B
7={Ω
0,Ω
j,Ω
jb};B
8={Ω
0,Ω
k,Ω
ka};B
9={Ω
0,Ω
k,Ω
kb};
Wherein, subscript i, j, k, ia, ib, ja, jb, ka, the numbering that kb is different adjacent cells;
Definition of T=B
1∪ B
2∪ ... ∪ B
9for stencil sets, wherein ∪ is union symbol.In each little template, construct linear polynomial P (x, y), make mean value and known units Ω on three grid cells that P (x, y) covers in little template
0mean value equate;
(502) the linear power of structure:
Be constructed as follows quadratic polynomial: Q (x, y)=b
1+ b
2x+b
3y+b
4xy+b
5x
2+ b
6y
2;
Wherein, b
1, b
2, b
3, b
4, b
5, b
6for polynomial undetermined coefficient, at { Ω
0, Ω
i, Ω
j, Ω
k, Ω
ia, Ω
ib, Ω
ja, Ω
jb, Ω
ka, Ω
kbmeet on these ten unit:
s=0, i, j, k, ia, ib, ja, jb, ka, kb; Wherein
represent unit Ω
sthe mean value of upper U.
Diabolo unit Ω
0each Gauss point (x
g, y
g), set linear power for γ
l(l=1 ..., 9), γ
lbe the constant by the unique decision of geometric properties of triangular mesh, weight coefficient is non-negative;
By linear power γ for linear polynomial P (x, y)
lmerge:
γ
lmeet following equation: R (x
g, y
g)=Q (x
g, y
g) (8)
(503) structure nonlinear weight and the smooth factor:
On the basis of linearity power, construct nonlinear weight, based on consistance, weight coefficient and be 1,
Nine linear polynomials are divided into four groups:
First Gauss point on i limit:
First group contains equation P
2(0, k, i), P
4(0, i, ia), P
5(0, i, ib),
Second group contains equation P
3(0, i, j), P
6(0, j, ja), P
7(0, j, jb),
The 3rd group contains equation P
1(0, j, k), P
8(0, k, ka), P
9(0, k, kb),
The 4th group contains equation P
1(0, j, k), P
2(0, k, i), P
3(0, i, j),
Draw linear polynomial:
for polynomial non-negative solution;
Order:
To a polynomial of degree n p (x, y), define smooth measurement:
Wherein, α is a complex exponential, and D is partial derivative, and nonlinear weight is:
Wherein,
individual polynomial expression
smoothness, ε is little positive number.
As present invention further optimization scheme, the span of described ε is (10
-6, 10
-2).
As present invention further optimization scheme, the value of described ε is ε=10
-6.
As present invention further optimization scheme, in described step 6, the concrete account form of time step Δ t is:
Wherein, CFL is CFL (Courant-Friedrichs-Lewy) conditional number.
The present invention adopts above technical scheme compared with prior art, there is following technique effect: the present invention is based on non-structure triangular mesh and set up and can adapt in complex-terrain and complicated calculations region with large gradient or be interrupted the high resolving power numerical model of current phenomenon, the method can farthest reduce error, improve the resolution of Simulated Water dynamic characteristic, capturing discontinuous ripple more accurately.
Brief description of the drawings
Fig. 1 is triangular mesh control unit and outer normal direction schematic diagram thereof.
Fig. 2 is WENO form typical case network of triangle grid template.
Fig. 3 is the HLL numerical flux Approximate Riemann Solution of shallow water equation.
Fig. 4 is the geometrical plane figure of local dam break in one embodiment of the invention.
Fig. 5 calculates water level three-dimensional distribution map while one embodiment of the invention intermediate cam shape mesh generation and time being 7.2 seconds.
Fig. 6 calculates the depth of water elevation isoline schematic diagram when time is 7.2 seconds in one embodiment of the invention.
Fig. 7 calculates water flow field distribution plan when the time is 7.2 seconds in one embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:
Under Descartes's rectangular coordinate system, the equation of the conservation form of planar motion of shallow is typically expressed as:
U
t+F(U)
x+G(U)
y=S (1)
Wherein, U is conserved quantity vector; F, G is flux vector; S is source item vector, is specifically expressed as:
U=[h,uh,vh]
T,
F=[uh,u
2h+gh
2/2,uvh]
T,
G=[vh,uvh,v
2h+gh
2/2]
T,
S=[0,-ghb
x,-ghb
y]
T,
Wherein, subscript T represents vectorial transposition, and t is the time; U (x, y, t), v (x, y, t) be respectively x, y direction along the average velocity component of the depth of water, and be about x, y, the function of t; H (x, y) is the depth of water; G is acceleration of gravity; b
x, b
ybe respectively the component of bed sloped in x, y direction, b (x, y) is bed level of the river function, and subscript x, y are illustrated respectively in the partial derivative of x, y direction.
Wish simulation shallow water is interrupted current, will solve the Riemann Solution of above-mentioned shallow water equation.In the structure of numerical method, to hyperbolic conservation equation group (1), make vector function E=(F, G),
for gradient operator, formula (1) can be expressed as:
U
t+▽·E=S (2)
For the convenience on realizing and calculating, it is discrete that the present invention adopts unified triangular mesh unit to carry out zoning, and according to counterclockwise record cell information, using single grid cell as controlling unit, physical descriptor is configured in the center of each unit.I triangle control unit is designated as to Ω
i, at Ω
ithe upper system of equations (2) to vector mode is carried out integration, and by utilizing counterclockwise Green formula that area is divided into line integral:
Wherein,
for the ordinary differential operator of time orientation, d Ω is that area divides infinitesimal, and dl is line integral infinitesimal, L
mrepresent triangular element Ω
im article of limit, m=1,2,3, vector n
m=(n
mx, n
my)=(cos θ, sin θ) be L
munit outside normal vector, n
mx, n
myfor n
mat the component of x, y direction, θ is the angle of outer normal direction and horizontal direction, as shown in Figure 1.
Utilize the thought definition unit mean value of following integral mean:
Wherein, | Ω
i| be grid cell area.
To the line integral in formula (3), the present invention utilizes 2 Gauss quadrature formulas, can obtain:
Wherein, | L
m| be triangle edges boundary line L
mlength, G
qfor triangular element limit L
mon Gauss point, corresponding weight coefficient is
What finite volume method obtained is the mean value on grid cell
by
can reconstruct high-order moment R (x, y), be similar to this value that U is ordered at Gauss.Because can not ensure that R (x, y) is continuous in net boundary, so can not, directly to formula (4) integration, therefore need to construct a numerical flux form here and be similar to E (U (G
q, t)).
Suppose that considered a problem time step is enough little, the information of remaining element not yet propagates into investigated boundary surface, according to the thought of being interrupted, physical descriptor value is considered to different on elementary boundary both sides, and variate-value inside and outside on triangle border is designated as respectively U
l, U
r, the outside of triangular element is also just equivalent to adjacent triangular element inside.In this case, the calculating of numerical flux also must be considered this interruption.Note
for by Gauss point G
qflux, as shown in Figure 2, U
l(G
q, t), U
r(G
q, t) be respectively U in the inside and outside value of Gauss point triangle.
Limited bulk semidiscrete formulation that so just can controlled equation (3):
After so discrete, the numerical solution problem of partial differential equations is just converted into the Solve problems of an ordinary differential equation group.So there are three major issues to need to solve in ensuing departure process: the one, numerical flux
form; The 2nd, U
r(G
q, t), U
l(G
q, computing method (structure of weighing again) t); The 3rd, time discrete mode.
What model of the present invention adopted respectively is HLL numerical flux, three rank WENO form reconstructing methods and three step Runge-kutta time discrete forms, next will introduce respectively.
For the form of numerical flux, the present invention adopts HLL flux, and HLL flux is the numerical flux based on Approximate Riemann Solution, and it is divided into three states with two kinds of ripples by solution space, as shown in Figure 3.The HLL flux expression formula of shallow water equation is as follows:
Wherein, s
l, s
rbe respectively the upper infimum of wave velocity, expression is:
s
L=u
L-a
Lq
L,s
R=u
R+a
Rq
R
Wherein, the velocity of wave of the right and left is expressed as
q
k, (K=L, R), h
*for middle transition amount, be specially:
The Runge-Kutta discrete scheme on discrete employing three rank of time orientation, after considering that convection cell equation carries out spatial spreading, become shape as:
ordinary differential equation group, wherein L (U) is spatial discretization operator.The object of time discrete form is the equation discrete by time horizon solution room, supposes n the U value U on time horizon
nknown, after a time step Δ t, the approximate value U of next time horizon
n+1can try to achieve as follows:
U
(1)=U
n+ΔtL(U
n)
Wherein, U
(1), U
(2)for middle transition vector.
Three step Runge-Kutta time discrete methods are to ensure TVD (Total Variation Diminishing) character, therefore the problem of (as shock wave or contact discontinuity) suppresses numerical value concussion to be suitable for having strong discontinuity, and combining for discontinuous solution and stable spatial spreading is nonlinear stability.The present invention selects the Runge-Kutta time discrete method of three steps to obtain the time discrete form of third-order.
Next will be for following net template structure triangular element Ω
0polynomial expression, to reaching space third-order.
Introduce the polynomial method of structure below:
(1) structure of linear polynomial
First, based on triangular element Ω
0and nine adjacent triangular elements, as shown in Figure 2, wherein subscript is just described different adjacent cells numberings, gives the coldest days of the year end individual little template, as follows:
B
1={Ω
0,Ω
j,Ω
k},B
2={Ω
0,Ω
k,Ω
i},B
3={Ω
0,Ω
i,Ω
j},B
4={Ω
0,Ω
i,Ω
ia},B
5={Ω
0,Ω
i,Ω
ib},B
6={Ω
0,Ω
j,Ω
ja},B
7={Ω
0,Ω
j,Ω
jb},B
8={Ω
0,Ω
k,Ω
ka},B
9={Ω
0,Ω
k,Ω
kb}。Definition of T=B
1∪ B
2∪ ... ∪ B
9for stencil sets, wherein ∪ is union symbol.
Next, in each little template, construct linear polynomial, below with template B
1for example is introduced construction process, the linear polynomial P of structure
1(x, y) meets:
Be P
1mean value on three grid cells that (x, y) covers in little template
equate with known cell-average value.
Linear equation in two unknowns contains three unknown quantitys, above three conditions can uniquely determine a linear polynomial.In like manner, in each little template, can construct a linear polynomial.
(2) the linear power of structure
Use linear polynomial reconstruct three rank WENO forms below.Have third-order in order to reach result of calculation, the present invention must construct the quadratic polynomial that U is satisfied and be similar to three rank that reach variable on each triangular element.The present invention is constructed as follows quadratic polynomial:
Q(x,y)=b
1+b
2x+b
3y+b
4xy+b
5x
2+b
6y
2
Wherein, b
1, b
2, b
3, b
4, b
5, b
6for polynomial undetermined coefficient, at { Ω
0, Ω
i, Ω
j, Ω
k, Ω
ia, Ω
ib, Ω
ja, Ω
jb, Ω
ka, Ω
kbmeet on these ten unit:
Because there are six unknowm coefficients, ten equations, so system of equations is overdetermination, can solve by least square method.Because for same grid cell, some adjacent cells status should be identical, as Ω
iaand Ω
ibequal; Ω
jaand Ω
jbequal; Ω
kaand Ω
kbbe equal, this is not on affecting with least square method structure quadratic equation.
Next determine linear power γ
l(l=1 ..., 9), reconstruct linear polynomial.In order to meet stability and compatibility, claim coefficient is non-negative, and and is 1 equally.
Diabolo unit Ω
0each Gauss point (x
g, y
g), the present invention will find one group of linear power γ
l, they are some constants by the unique decision of geometric properties of grid.The linear polynomial R (x, y) of reconstruct merges linear polynomial to get by these power.
Weight function γ
l(l=1 ..., 9) selection to make following equation meet:
Each Gauss point difference, the weight coefficient obtaining is also different.In the time that Gauss point is fixing, formula (8) left end and right-hand member are all
Linear combination because two ends, left and right equate, the coefficient of so each grid mean value equates, the present invention has just obtained 10 equations like this.9 unknown number γ
l(l=1 ..., 9), ten equations, system of equations is overdetermination on the surface, and in fact the order of the matrix of coefficients of system of equations is 8, and solution of equations space is one dimension like this, has Basic Solutions system, and contains a solution vector in a Basic Solutions system.
Obviously, the polynomial expression R (x, y) of reconstruct is linear like this, and can reach the precision of quadratic polynomial, therefore at Gauss point
On
Can be to exact solution U (G
q, the approximate third-order that reaches t).
(3) structure nonlinear weight and the smooth factor
On the basis of linearity power, construct nonlinear weight below.Upper surface construction be linear power, but when the problem that contains shock wave class in calculating, must employing nonlinear weight.Select the suitable nonlinear weight factor, make the interpolation polynomial of separating smooth domain structure contribute large to combination polynomial expression, be that weighting factor is larger, the interpolation polynomial of constructing on the region of containing interruption is got to minimum weighting factor, while making to approach the circulation on interface with this weighted interpolation polynomial expression, numerical solution is not shaken substantially.In order to ensure to stablize near shock wave, need to construct non-negative power, therefore need to be from constructing non-negative nonlinear weight.Because when structure linearity is weighed above, system of equations contains a free variable, solution space is one dimension, from going out to send the non-negative nonlinear weight of structure here.
In order to keep consistency, to need weight coefficient and be 1,
next, nine linear polynomials are divided into four groups:
Each polynomial expression
remain linear polynomial,
time still second approximation in U.The present invention still needs rational allocation template to carry out corresponding four new polynomial expressions
in normal situation, with in ensureing that working as concussion occurs, not every template is all shaken.
For first Gauss point on i limit, see Fig. 2:
First group contains equation P
2(0, k, i), P
4(0, i, ia), P
5(0, i, ib):
Second group contains equation P
3(0, i, j), P
6(0, j, ja), P
7(0, j, jb):
The 3rd group contains equation P
1(0, j, k), P
8(0, k, ka), P
9(0, k, kb):
The 4th group contains equation P
1(0, j, k), P
2(0, k, i), P
3(0, i, j):
The present invention obtains linear polynomial:
There is non-negative solution at above formula
situation under, order:
The smooth factor and nonlinear weight are with reference to the document of Jiang, and to a polynomial of degree n p (x, y), the present invention defines smooth measurement below:
Wherein, α is a complex exponential, and D is partial derivative, and nonlinear weight is defined as:
Wherein,
be
In weight coefficient,
individual polynomial expression
smoothness; ε is little positive number, and object is to prevent that denominator from being zero, gets ε=10 in the present invention
-6.ε value is (10
-6, 10
-2) logarithm value result do not have too large impact.
Use nonlinear weight
replace linear power
complete WENO reconstruct.
The method of introducing according to the present invention, provide below one complete, simulate local dam break and produce the example of dam break ripple by Wave of Two-Dimension Shallow Water Equation.
This example adopts the model of rectangle computational fields, and as shown in Figure 4, length and width is respectively 200 meters, and reservoir dam is positioned at x=100 rice, 10 meters of upstream, the initial time dam depth of waters, and 5 meters of dam downstream water depths, a certain moment dam bursts suddenly between y=95~170 meter.The dam break ripple forming is afterwards interrupted current exactly, still meets shallow water equation.
The present invention adopt the numerical method that solves shallow water equation Riemann Solution that the present invention provides simulate this part dam body collapse after the situation of current.
Calculating parameter is as follows, CFL=0.6; Non-structure triangle gridding subdivision is carried out in zoning, be split into altogether 17,658 triangular elements; All borders are adopted to wall boundary condition; Calculating and stopping the moment is 7.2 seconds.When Fig. 5, Fig. 6, Fig. 7 are followed successively by 7.2 seconds, triangular mesh subdivision and calculating water level three-dimensional distribution map, calculating depth of water elevation isoline schematic diagram, calculating water flow field distribution plan, particularly, calculate and adopt following steps:
(1) mesh generation.Non-structure triangular mesh subdivision is carried out in square zoning, be split into altogether M grid, and record the relevant information of each grid cell; Calculate the geometric properties of each grid cell;
(2) initialization.Set and calculate termination time T
end, set starting condition
the present invention adopts cold start starting condition, and the depth of water is according to specified criteria, and in the time of x≤100, the depth of water is h=10, depth of water h=5 in the time of x≤100.Flow velocity is zero at initial time, i.e. u=v=0.
(4) computing time step delta t.For meeting stable condition, time step choose CFL (Courant-Friedrichs-Lewy) condition that is controlled by.For finite volume method or finite difference arbitrarily, CFL condition is a necessary condition that ensures that algorithm is stable and converge to the solution of partial differential equation.The present invention often adopts CFL condition number to be one to be greater than zero definite value that is less than 1, and the present invention gets CFL condition and counts CFL=0.6.The computing formula of time step can be expressed as so:
Wherein, L
m(m=1,2,3) are three articles of length of sides of i triangular element.
(5) utilize the reconstruct of WENO form.Utilize
and the information of nine adjacent triangular elements, the Gauss point value on three limits of each triangular element is carried out to the reconstruct of WENO form, calculate the value of each Gauss point left-right dots.
(6) calculate flux, renewal function value.Utilize HLL numerical flux expression formula to calculate flux term, calculate the variate-value of next time point according to three step Runge-Kutta time discrete formula
(7) make t=t+ Δ t, if t < is T
end, will
value be assigned to
turn back to (4), continue executive routine; If t < is T
end, export last result of calculation, program is carried out and is finished.
Fig. 6 has provided and has calculated the water level isoline that stops the moment.From all results, longitudinal and transverse propagation downstream when indentation, there dam break earial drainage, and have rarefaction wave upstream to propagate, dam break ripple to form harmony to bank high, because dam break breach is asymmetric, be subject to the cause that bank Yong Shui affects and flow velocity is larger, form two asymmetrical vortexs on both sides, dam site place.Wavefront is propagated with the form of discontinuity wave, and discontinuities has Yong Shui, realistic physical phenomenon.Result of calculation of the present invention will be with to have been reported result all more identical.Only, from figure, the result of the form based on various numerical fluxs is more or less the same.
By reference to the accompanying drawings embodiments of the present invention are explained in detail above, but the present invention is not limited to above-mentioned embodiment, in the ken possessing those of ordinary skill in the art, can also under the prerequisite that does not depart from aim of the present invention, makes a variety of changes.
Claims (6)
1. one kind solves the method that shallow water problems simulation is interrupted current numerical value, it is characterized in that, set up the high resolving power numerical model that simulation is interrupted current problems, utilize in described modeling landform and computational fields with the current phenomenon of large Gradient Solution or interruption, concrete steps are as follows:
Step 1, set up computing grid, non-structure triangular mesh is carried out in physical computing region and cut apart, obtain a plurality of triangular mesh unit, using single grid cell as controlling unit, wherein i triangle control unit is designated as Ω
i;
Step 2, reflect by conservation form physical quantity and under Descartes's rectangular coordinate system, by the Representation Equation of planar motion of shallow conservation form be the HYDRODYNAMIC CHARACTERISTICS of each computing grid:
U
t+F(U)
x+G(U)
y=S (1);
Wherein, U is conserved quantity vector; F, G is flux vector; S is source item vector, and t is the time, and x and y are cartesian coordinate system coordinate, U
t, F (U)
x, G (U)
ybe expressed as time t and space x, the partial derivative of y direction, is specifically expressed as:
U=[h,uh,vh]
T;
F=[uh,u
2h+gh
2/2,uvh]
T;
G=[vh,uvh,v
2h+gh
2/2]
T;
S=[0,-ghb
x,-ghb
y]
T;
Wherein, T represents vectorial transposition; U, v be respectively x, y direction along the average velocity component of the depth of water, and be about x, y, the function of t; H is the depth of water; G is acceleration of gravity; b
x, b
ybe respectively the component of bed sloped in x, y direction;
Solve the Riemann Solution of above-mentioned equation, to formula (1), make vector function E=(F, G),
for gradient operator, formula (1) is expressed as:
U
t+▽·E=S (2);
Adopt the triangular mesh unit of dividing in step 1 to carry out zoning discrete, at Ω
iabove system of equations (2) is carried out to integration, and by utilizing counterclockwise Green formula that area is divided into line integral:
Wherein,
for the ordinary differential operator of time orientation, d Ω is that area divides infinitesimal, and dl is line integral infinitesimal, L
mrepresent i triangular element Ω
im article of limit, m=1,2,3, n
m=(n
mx, n
my)=(cos θ, sin θ) be L
munit outside normal vector, n
mx, n
myfor n
mat the component of x, y direction, θ is the angle of outer normal direction and horizontal direction;
Definition unit mean value:
Wherein, | Ω
i| be grid cell area;
Utilize 2 Gauss quadrature formulas to solve the line integral in formula (3):
Wherein, | L
m| be triangle edges boundary line L
mlength, G
qfor triangular element limit L
mon Gauss point,
for corresponding weight coefficient, q is Gauss point numbering,
Construct a numerical flux form approximate substitution E (U (G
q, t)), variate-value inside and outside on triangular mesh elementary boundary is designated as respectively to U
l, U
r, will be by Gauss point G
qflux be designated as
wherein, U
l(G
q, t), U
r(G
q, t) be respectively U in the inside and outside value in Gauss point triangular mesh unit, draw thus the limited bulk semidiscrete formulation of governing equation (3):
Step 3, solve the HLL numerical flux on triangular mesh elementary boundary
Step 4, employing three rank Runge-Kutta time discrete methods, to discrete processing the on time orientation, draw the time discrete form of third-order;
Step 5, employing three rank WENO form reconstructing methods solve U
l(G
q, t), U
r(G
q, t);
Step 6, to each grid cell, utilize the conserved quantity vector integral mean of each unit on current time layer, solve the conserved quantity vector integral mean in next moment:
Through on step 5 convection cell equation time orientation discrete after, then convection cell equation carries out spatial spreading, expression formula is:
Wherein, L (U) is spatial discretization operator;
Set n the U value on time horizon for U
n, after a time step Δ t, the approximate value U of next time horizon
n+1be expressed as:
U
(1)=U
n+ΔtL(U
n);
Wherein, U
(1), U
(2)for middle transition vector.
2. a kind of method that shallow water problems simulation is interrupted current numerical value that solves as claimed in claim 1, is characterized in that, in described step 3, the HLL flux expression formula of equation is specific as follows:
Wherein, s
l, s
rrespectively the upper infimum of wave velocity: s
l=u
l-a
lq
l, s
r=u
r+ a
rq
r;
Wherein, the velocity of wave of the right and left is expressed as:
Set q
k, h
*for middle transition amount, K=L, R, is specially:
3. a kind of method that shallow water problems simulation is interrupted current numerical value that solves as claimed in claim 1, is characterized in that, described step 4 comprises: for triangular mesh unit structure triangular element Ω
0polynomial expression, concrete steps comprise:
(501) structure of linear polynomial:
Based on triangular element Ω
0and nine adjacent triangular elements, set nine templates, be specially:
B
1={Ω
0,Ω
j,Ω
k};B
2={Ω
0,Ω
k,Ω
i};B
3={Ω
0,Ω
i,Ω
j};B
4={Ω
0,Ω
i,Ω
ia};B
5={Ω
0,Ω
i,Ω
ib};B
6={Ω
0,Ω
j,Ω
ja};B
7={Ω
0,Ω
j,Ω
jb};B
8={Ω
0,Ω
k,Ω
ka};B
9={Ω
0,Ω
k,Ω
kb};
Wherein, subscript i, j, k, ia, ib, ja, jb, ka, the numbering that kb is different adjacent cells;
Definition of T=B
1∪ B
2∪ ... ∪ B
9for stencil sets, wherein ∪ is union symbol, in each little template, constructs linear polynomial P (x, y), makes mean value and known units Ω on three grid cells that P (x, y) covers in little template
0mean value equate;
(502) the linear power of structure:
Be constructed as follows quadratic polynomial: Q (x, y)=b
1+ b
2x+b
3y+b
4xy+b
5x
2+ b
6y
2;
Wherein, b
1, b
2, b
3, b
4, b
5, b
6for polynomial undetermined coefficient, at { Ω
0, Ω
i, Ω
j, Ω
k, Ω
ia, Ω
ib, Ω
ja, Ω
jb, Ω
ka, Ω
kbmeet on these ten unit:
s=0, i, j, k, ia, ib, ja, jb, ka, kb; Wherein
represent unit Ω
sthe mean value of upper U,
Diabolo unit Ω
0each Gauss point (x
g, y
g), set linear power for γ
l(l=1 ..., 9), γ
lbe the constant by the unique decision of geometric properties of triangular mesh, weight coefficient is non-negative;
By linear power γ for linear polynomial P (x, y)
lmerge:
γ
lmeet following equation: R (x
g, y
g)=Q (x
g, y
g) (8)
(503) structure nonlinear weight and the smooth factor:
On the basis of linearity power, construct nonlinear weight, based on consistance, weight coefficient and be 1,
Nine linear polynomials are divided into four groups:
First Gauss point on i limit:
First group contains equation P
2(0, k, i), P
4(0, i, ia), P
5(0, i, ib),
Second group contains equation P
3(0, i, j), P
6(0, j, ja), P
7(0, j, jb),
The 3rd group contains equation P
1(0, j, k), P
8(0, k, ka), P
9(0, k, kb),
The 4th group contains equation P
1(0, j, k), P
2(0, k, i), P
3(0, i, j),
Draw linear polynomial:
for polynomial non-negative solution;
Order:
To a polynomial of degree n p (x, y), define smooth measurement:
Wherein, α is a complex exponential, and D is partial derivative, and nonlinear weight is:
Wherein,
individual polynomial expression
smoothness, ε is little positive number.
4. a kind of method that shallow water problems simulation is interrupted current numerical value that solves as claimed in claim 3, is characterized in that: the span of described ε is (10
-6, 10
-2).
5. a kind of method that shallow water problems simulation is interrupted current numerical value that solves as claimed in claim 4, is characterized in that: the value of described ε is ε=10
-6.
6. a kind of method that shallow water problems simulation is interrupted current numerical value that solves as claimed in claim 1, is characterized in that: in described step 6, the concrete account form of time step Δ t is:
Wherein, CFL represents CFL condition number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410315720.7A CN104091065A (en) | 2014-07-03 | 2014-07-03 | Intermittent flow numerical simulation method for solving shallow water problem |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410315720.7A CN104091065A (en) | 2014-07-03 | 2014-07-03 | Intermittent flow numerical simulation method for solving shallow water problem |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104091065A true CN104091065A (en) | 2014-10-08 |
Family
ID=51638781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410315720.7A Pending CN104091065A (en) | 2014-07-03 | 2014-07-03 | Intermittent flow numerical simulation method for solving shallow water problem |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104091065A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436977A (en) * | 2017-07-24 | 2017-12-05 | 珠江水利委员会珠江水利科学研究院 | The method for numerical simulation of Complex River shunting |
CN107729691A (en) * | 2017-11-13 | 2018-02-23 | 西北工业大学 | A kind of gas flow characteristic method for numerical simulation of thin continuum one |
CN108229083A (en) * | 2018-04-11 | 2018-06-29 | 南京航空航天大学 | A kind of Flow Numerical Simulation method based on improved finite difference scheme |
CN108763683A (en) * | 2018-05-16 | 2018-11-06 | 南京航空航天大学 | New WENO format building methods under a kind of trigonometric function frame |
CN111563314A (en) * | 2020-03-23 | 2020-08-21 | 空气动力学国家重点实验室 | Construction method of seven-point WENO format |
CN114372528A (en) * | 2022-01-10 | 2022-04-19 | 中国海洋大学 | Recognition method and device for black tide current-breaking phenomenon |
CN116050196A (en) * | 2023-04-03 | 2023-05-02 | 国家超级计算天津中心 | Multi-dimensional simulation method, device, equipment and storage medium |
CN116663223A (en) * | 2023-02-09 | 2023-08-29 | 北方工业大学 | Dam break flood evolution prediction method based on wave breaking principle |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136436A (en) * | 2011-12-01 | 2013-06-05 | 中国辐射防护研究院 | Analytical method of nuclide transport and diffusion considering sediment adsorption |
-
2014
- 2014-07-03 CN CN201410315720.7A patent/CN104091065A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136436A (en) * | 2011-12-01 | 2013-06-05 | 中国辐射防护研究院 | Analytical method of nuclide transport and diffusion considering sediment adsorption |
Non-Patent Citations (17)
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436977A (en) * | 2017-07-24 | 2017-12-05 | 珠江水利委员会珠江水利科学研究院 | The method for numerical simulation of Complex River shunting |
CN107729691A (en) * | 2017-11-13 | 2018-02-23 | 西北工业大学 | A kind of gas flow characteristic method for numerical simulation of thin continuum one |
CN107729691B (en) * | 2017-11-13 | 2020-05-22 | 西北工业大学 | Rarefied continuous unified gas flow characteristic numerical simulation method |
CN108229083A (en) * | 2018-04-11 | 2018-06-29 | 南京航空航天大学 | A kind of Flow Numerical Simulation method based on improved finite difference scheme |
CN108763683A (en) * | 2018-05-16 | 2018-11-06 | 南京航空航天大学 | New WENO format building methods under a kind of trigonometric function frame |
CN108763683B (en) * | 2018-05-16 | 2022-04-01 | 南京航空航天大学 | New WENO format construction method under trigonometric function framework |
CN111563314A (en) * | 2020-03-23 | 2020-08-21 | 空气动力学国家重点实验室 | Construction method of seven-point WENO format |
CN111563314B (en) * | 2020-03-23 | 2023-09-12 | 空气动力学国家重点实验室 | Seven-point WENO format construction method |
CN114372528A (en) * | 2022-01-10 | 2022-04-19 | 中国海洋大学 | Recognition method and device for black tide current-breaking phenomenon |
CN116663223A (en) * | 2023-02-09 | 2023-08-29 | 北方工业大学 | Dam break flood evolution prediction method based on wave breaking principle |
CN116663223B (en) * | 2023-02-09 | 2024-05-03 | 北方工业大学 | Dam break flood evolution prediction method based on wave breaking principle |
CN116050196A (en) * | 2023-04-03 | 2023-05-02 | 国家超级计算天津中心 | Multi-dimensional simulation method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104091065A (en) | Intermittent flow numerical simulation method for solving shallow water problem | |
Hou et al. | A stable 2D unstructured shallow flow model for simulations of wetting and drying over rough terrains | |
CN108021780B (en) | Mountain torrent dynamic simulation method based on irregular unstructured grid model | |
Van den Berg et al. | Non-linear process based modelling of offshore sand waves | |
CN108241777A (en) | Method based on percolation flow velocity field in unstrctured grid Finite element arithmetic hydrate sediment | |
CN109271672B (en) | River channel water surface line calculation method under interaction of river-lake-pump station | |
Hu et al. | Unstructured mesh adaptivity for urban flooding modelling | |
CN110135069B (en) | Method and device for acquiring silt characteristics during water delivery of water delivery tunnel and computer equipment | |
CN116151152B (en) | Hydrodynamic force numerical simulation calculation method based on gridless calculation | |
Zhang et al. | Integrated hydrodynamic model for simulation of river-lake-sluice interactions | |
Berntsen | A perfectly balanced method for estimating the internal pressure gradients in σ-coordinate ocean models | |
Kennedy et al. | Subgrid theory for storm surge modeling | |
CN103774605A (en) | Designing method for improving encircled-type harbor basin water body exchanging capacity | |
CN103823916A (en) | Arbitrary Lagrange Euler method based on multi-dimensional Riemann solution | |
CN103207410A (en) | Rugged seabed aimed hybrid grid model building method | |
CN103870699B (en) | Hydrodynamics flood routing analogy method based on double-deck asynchronous iteration strategy | |
KR20110072551A (en) | Method for analyzing shallow water flow using the two-dimensional river flow model with tensor-type eddy viscosity | |
CN107169227A (en) | The coarse grid analogy method and system of a kind of staged fracturing horizontal well | |
Fang et al. | Diagonal Cartesian method for the numerical simulation of flow and suspended sediment transport over complex boundaries | |
Ma et al. | A high-precision hydrodynamic model coupled with the hydrological habitat suitability model to reveal estuarine vegetation distribution | |
Chen | Coupling an unstructured grid three‐dimensional model with a laterally averaged two‐dimensional model for shallow water hydrodynamics and transport processes | |
CN109063306B (en) | Soil infiltration capacity space dispersion method of gridding Hebei model | |
Lianqing et al. | Numerical simulation and optimal system scheduling on flood diversion and storage in Dongting Basin, China | |
Zhang et al. | A river stage correction approach using Fourier series | |
Level | Calibration of CCHE2D for sediment simulation of Tarbela Reservoir |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141008 |
|
WD01 | Invention patent application deemed withdrawn after publication |