CN112163364B - Fluid-solid coupling simulation method for fish school movement in marine environment - Google Patents
Fluid-solid coupling simulation method for fish school movement in marine environment Download PDFInfo
- Publication number
- CN112163364B CN112163364B CN202011179361.9A CN202011179361A CN112163364B CN 112163364 B CN112163364 B CN 112163364B CN 202011179361 A CN202011179361 A CN 202011179361A CN 112163364 B CN112163364 B CN 112163364B
- Authority
- CN
- China
- Prior art keywords
- solid
- finite element
- vertex
- flow field
- solid point
- 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.)
- Active
Links
- 239000007787 solid Substances 0.000 title claims abstract description 230
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000010168 coupling process Methods 0.000 title claims abstract description 37
- 230000008878 coupling Effects 0.000 title claims abstract description 34
- 238000005859 coupling reaction Methods 0.000 title claims abstract description 34
- 241000251468 Actinopterygii Species 0.000 title claims abstract description 32
- 238000004088 simulation Methods 0.000 title claims abstract description 10
- 230000004044 response Effects 0.000 claims abstract description 4
- 230000003993 interaction Effects 0.000 claims description 24
- 238000004364 calculation method Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 10
- 238000010276 construction Methods 0.000 claims description 9
- 238000010845 search algorithm Methods 0.000 claims description 4
- 238000004422 calculation algorithm Methods 0.000 claims description 2
- 150000001875 compounds Chemical class 0.000 claims description 2
- 230000001133 acceleration Effects 0.000 abstract description 5
- 239000012530 fluid Substances 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 230000014509 gene expression Effects 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000009792 diffusion process Methods 0.000 description 3
- 238000006073 displacement reaction Methods 0.000 description 3
- 238000007654 immersion Methods 0.000 description 3
- 239000013598 vector Substances 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000009795 derivation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004134 energy conservation Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000035772 mutation Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000009395 breeding Methods 0.000 description 1
- 230000001488 breeding effect Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000013210 evaluation model Methods 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000012528 membrane Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 102000004169 proteins and genes Human genes 0.000 description 1
- 108090000623 proteins and genes Proteins 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/28—Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/08—Fluids
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- Fluid Mechanics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Physics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computing Systems (AREA)
- Algebra (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a fluid-solid coupling simulation method for fish school movement in a marine environment, which can be used for solving the influence of movement and convection field of fish schools with small volume and large quantity in a large-scale flow field. The invention adopts finite elements to establish a flow field, takes a small solid in the flow field as a point with the properties of coordinates, speed and acceleration, determines the acting force of the flow field on the solid by a centralized parameter method, and simultaneously feeds back the force to the flow field as an additional force of the finite element where the solid point is positioned, thereby realizing fluid-solid coupling. The invention aims at the condition that the flow field area is far larger than the size of the solid, avoids the solid modeling part in the traditional fluid-solid coupling, simultaneously realizes the dynamic response of the fluid-solid coupling, and greatly saves the calculated amount and the modeling difficulty.
Description
Technical Field
The invention belongs to the field of fluid analysis, relates to flow field simulation and centralized parameter method modeling, and particularly relates to a fluid-solid coupling simulation method for fish school movement in a marine environment.
Background
Fluid-solid coupling mechanics is a mechanical branch generated by crossing fluid mechanics and solid mechanics, and is a science for researching the interaction of various behaviors of a deformed solid under the action of a flow field and the influence of solid configuration on the flow field. An important characteristic of fluid-solid coupling mechanics is the interaction between two media, and a deformed solid can deform or move under the action of fluid load. The deformation or movement in turn affects the fluid movement, thereby changing the distribution and magnitude of the fluid load, and it is this interaction that will produce various fluid-solid coupling phenomena under different conditions.
The core of the coupled solution process is to compute the unsteady flow problem with moving boundaries and moving meshes, since the size and shape of the flow field is constantly changing as the structure moves or deforms. Meanwhile, due to the fact that linear and nonlinear problems are mixed in the coupling system, symmetric and asymmetric matrixes exist, the dominant and recessive coupling mechanisms are included, and physical instability conditions occur, so that the coupling problem is very difficult to solve. According to different coupling boundary processing methods, fluid-solid coupling solving methods are mainly divided into two types: the immersion Boundary Method (Immersed Boundary Method) and the Moving Boundary Method (Moving Boundary Method).
Solids in the ocean, such as fish stocks, are unique in that the geometric dimensions are negligible compared to the sea area to be studied, but the large number per se makes it impossible to neglect the influence of the flow field when calculating the flow field.
The traditional moving boundary method regards the objects as porous sparse media, but the method enables a large number of small objects to be equivalent to a solid with a specific shape, so that the relative positions of the solid need to be close and cannot be changed greatly, and the sparsity coefficients at each position cannot be changed, and the actual situation cannot be reflected.
Disclosure of Invention
In order to solve the problems, the invention provides a fluid-solid coupling simulation method for fish school movement in a marine environment. The invention adopts finite elements to establish a flow field, treats a fish school in the flow field as a point with the properties of coordinates, speed and acceleration, determines the acting force of the flow field on the object by a centralized parameter method, and simultaneously feeds back the force to the flow field as additional force of the finite element where the solid point is positioned, thereby realizing fluid-solid coupling. The invention aims at fish schools with flow field areas far larger than the solid size, avoids the solid modeling part in the traditional fluid-solid coupling, simultaneously realizes the dynamic response of the fluid-solid coupling, and greatly saves the calculated amount and the modeling difficulty.
In order to achieve the purpose, the technical scheme of the invention is as follows:
a fluid-solid coupling simulation method for fish school movement in marine environment comprises the following steps:
1) establishing a flow field model and a solid motion model by taking a marine environment as a flow field and a fish school as a solid point, and initializing;
the flow field model comprises Ele ═ { Lnct, Led, EVol, Mstat }, and the vertex attributes forming the finite elements comprise Po ═ { PX, PVol, U, Pre, T }; ele represents an attribute set of finite elements, Lnct is a set of finite element vertex numbers, Led is a set of adjacent finite element numbers sharing a surface with the finite elements, EVol is the volume of the finite elements, and Mstat is a judgment on whether the finite elements are searched when the finite elements where the solid points are located are searched; PX represents the position coordinates of the vertex, PVol represents the volume occupied by the vertex, U represents the velocity of the vertex in three directions, Pre represents the pressure of the vertex, and T represents the temperature of the vertex;
the attributes of each solid point in the solid motion model comprise Co ═ Loc, CX, Cm, CVol, CU }; wherein Co represents an attribute set of the solid point, Loc is the number of a finite element where the solid point is located, CX is the coordinate of the solid point, Cm is the mass of the solid point, CVol is the volume of the solid point, and CU is the speed of the solid point;
2) updating the serial numbers of the finite elements of the flow field where each solid point is located along with the movement of the fish school; after updating, calculating the influence weight coefficient of the solid point to each vertex in the finite elementAccording to the influence weight coefficientDetermining the vertex attribute of a finite element where the solid point is located, and taking the vertex attribute as a flow field parameter where the solid point is located; obtaining the interaction force Fl of the flow field and the solid according to the flow field parameters of the solid point and the self-attribute of the solid pointc;
3) According to the interaction force Fl of the flow field and the solidcUpdating the attribute parameters of the solid points;
4) according to the influence weight coefficientThe interaction force Fl of the flow field and the solidcDistributing the vertex of the finite element where the solid point is located to obtain the additional acting force of the vertex; updating the volume of a finite element where the solid point is located and the volume of a vertex forming the finite element according to the additional acting force to finish updating the convection field;
5) repeating the steps 2) to 4) until a preset step length is reached; and outputting the flow field and solid parameters according to a preset time interval to form the dynamic response of fluid-solid coupling of fish swarm movement along with time under the marine environment.
Preferably, the finite element is a triangular mesh, a tetrahedral mesh or a right triangular prism mesh.
Preferably, as the fish school moves, searching and updating the serial numbers of the finite elements of the flow field where each solid point is located by adopting an extensive search algorithm; the method specifically comprises the following steps:
setting up search sequence Ltc ═ { e ═ e1,...,emIn which eiThe number of the ith finite element in the search sequence is m;
initially, m is 1, only one element in a search sequence is a finite element number where a solid point is located at the last moment, and Mstat in the finite element attribute is 1, which indicates that the finite element is added into the search sequence;
searching finite elements in the search sequence one by one along with the movement of the solid point, and if the solid point exists in the searched finite elements, zeroing the Mstat attribute of the finite element where the solid point is located; if the solid point does not exist in the searched finite element, adding the finite element which is adjacent to the finite element and is not searched into a search sequence, and starting to search the next finite element according to the search sequence;
repeating the above process until the finite element where the solid point is located is searched.
Preferably, in the searching process by adopting the breadth searching algorithm, aiming at the finite element to be searched, the coordinates of the solid point are replaced by the n-th vertex coordinates forming the finite element to be searched to form a determinantEach row represents the three-dimensional coordinates of the ith point ifThe solid point is present in the finite element, otherwise it is not present.
Preferably, the method of step 2) calculates the influence weight coefficient of the solid point on each vertex in the finite elementThe calculation formula is as follows:
in the formula (I), the compound is shown in the specification,representing the tetrahedral volume formed by the solid point and the vertex except the nth vertex in the finite element.
In the present invention, the sum of the influence weight coefficients of the vertices constituting the finite element having the solid point and the solid point is preferably 1.
As a preferable aspect of the present invention, the attribute parameter update of the solid dots is realized by a governing equation expressed as:
wherein (cx, cy, cz) is the coordinate of the solid point, (cu, cv, cw) is the velocity of the solid point in three directions, Cm is the mass of the solid point, FlcFl being the interaction force of the flow field with the solidx,c、Fly,c、Flz,cIs FlcComponents in the directions of the x-axis, the y-axis, and the z-axis, respectively; fcIs an interaction force between solids, Fx,c、Fy,c、Fz,cIs FcThe components in the x-axis, y-axis, and z-axis directions, respectively.
Preferably, the step 4) is specifically:
4.1) interaction force Fl of flow field and solidcAnd (3) allocating the vertex of the finite element where the solid point is located to obtain the additional acting force of the vertex:
in the formula PQnIs the additional force of the nth vertex, FlcIs the interaction force of the flow field and the solid,is the impact weight coefficient;
4.2) subtracting the volume of the solid point from the volume of the finite element, and updating the volume of the finite element where the solid point is located; and updating the vertex volumes constituting the finite element; the vertex volume calculation formula is as follows:
in the formula, sigma EVol represents the sum of finite element volumes of a vertex participating in construction, and N represents the number of finite elements participating in construction of the vertex;
4.3) updating the physical force applied to each vertex of the finite element:
f′pn=fpn-PQn
in the formula (f)pnIs the physical strength, f ', of the n-th vertex before update'pnIs the physical strength to which the nth vertex is subjected after updating;
and (4) allowing the updated physical power to enter a limit element vertex attribute control equation, completing the updating of the finite element vertex attribute, and completing the updating of the flow field.
Compared with the prior art, the invention has the advantages that:
1) aiming at the application of a large number of fish schools in the ocean, the fish schools are simplified into points with certain volumes, flow field parameters of solid points are determined, acting force exerted on solids in the flow field is calculated in solid calculation, so that mutual acting force is obtained, the mutual acting force is regarded as physical force of flow field units, and the influence of the solids on the flow field is realized. The method reduces the requirement on grid division, avoids the increased calculation amount of dynamic grid calculation, and can realize simultaneous calculation of a large number of points in a flow field and only increase a small calculation amount.
2) The invention considers the fluid-solid coupled acting force as a physical force of a fluid finite element, but not the acting force outside the boundary of a dynamic boundary method. Although the traditional immersion boundary method also considers the fluid-solid coupling force as physical force, the traditional immersion boundary method still has definite boundary distinction between solid and fluid, the solid volume or boundary is not negligible relative to a finite element unit, and the solid part is a finite element region without flowing substantially in calculation, but is not the concentrated parameter modeling adopted by the invention.
3) The invention selects the volume to calculate the weight coefficient, and does not calculate the weight coefficient by the connecting line length of the solid point and other vertexes, so the advantage that the flow field force acting on the solid point and the solid acting force acting on each point can not generate mutation when the finite element of the solid point is changed by using the volume as the weight coefficient.
Drawings
FIG. 1 is a flow chart of the fluid-solid coupling method of the present invention.
Fig. 2 is a schematic diagram of the solution region Ω and its boundary Γ.
Fig. 3 is a schematic two-dimensional partial view.
Fig. 4 is a flowchart of a search algorithm in the present embodiment.
FIG. 5 is a schematic diagram of solid point and finite element coupling.
Detailed Description
The invention is further explained below with reference to the drawings.
The fluid-solid coupling method provided by the invention is implemented by embedded calculation of a finite element method and a centralized parameter method, and the main idea of the special case that the solid geometric dimension is far smaller than the flow field grid size comprises the following contents:
establishing a flow field model and a solid motion model, and initializing;
establishing a fluid-solid coupling frame, determining the serial number of the flow field finite element where each solid point is located when the time step begins, and then determining the mutual influence weight coefficient of each vertex formed by the solid to the finite element in the finite element where the solid point is locatedBy influencing the weight coefficientDetermining the flow velocity, flow field acceleration and pressure of a flow field where the solid point is located, and determining the interaction force of the flow field and the solid according to the flow field parameters where the solid is located and the dynamic parameters of the solid such as volume, velocity and acceleration.
At this time, the state of the solid point C can be updated by the following method: the interaction between the solids is determined according to the motion relation between the solid points, for example, the fish in the fish swarm can exert a force on water in addition in order to keep relative rest, the relation is converted to the acceleration of the solids, and finally the requirements on the speed and the position of the solids are realized.
And then performing flow field updating iteration, wherein the method comprises the following steps: firstly, updating a finite element where a solid point is located, and enabling interaction force to pass through an influence weight coefficientAdditional forces assigned to the finite elements forming the vertices, and then updating or subtracting the volume of the solid point for the finite element volumeAnd then updating the volume of the vertex formed by the finite element, and then performing traditional flow field calculation.
The method is characterized in that a marine environment is used as a flow field, a fish school is used as a solid, a finite element method and a lumped parameter method are adopted for embedding and calculating fluid-solid coupling, the following embodiment aims at modeling of a 3-dimensional space, a grid is a tetrahedral grid, and a fish school model is selected for the solid. The 2-dimensional approach is similar to the 3-dimensional approach, only reducing the dimensions of the parameters.
For the fluid equations referred to below, the finite element principle will be briefly described by taking a second-order elliptic linear partial differential equation as an example. As shown in FIG. 2, let Ω be a bounded area on a plane, whose boundaryIs sufficiently smooth. Consider the following second order variable coefficient elliptic equation:
wherein alpha (x, y)>0, beta (x, y) ≧ 0, and f (x, y) is defined asA substantially smooth function of (a). This equation describes many time-varying natural phenomena such as elastic membrane equilibrium, thermal or molecular diffusion, electrostatic or static fields, and incompressible, swirl-free fluids, among others, and many of the equations below can be considered as deformations.
Let the boundary Γ of Ω be divided into two mutually disjoint parts Γ 1 and Γ 2, on which two types of boundary conditions are given respectively:
whereinPsi, gamma are known functions on the boundary and gamma ≧ 0, n is the outer normal direction on the boundary. That is, a first type of boundary condition is given on Γ 1, and a third type of boundary condition is given on Γ 2 (a second type of boundary condition when γ ═ 0).
For the above problem solution, the Galerkin method is used. The Galerkin method is derived from the virtual work principle, and means that when any displacement satisfying the condition (actually, no displacement exists, called virtual displacement) is given in the equilibrium state, the work of the external force of the object is equal to the work of the inertial force applied to the object. Namely, it is
Sigma (external force-inertial force, virtual displacement) is 0
Defining the allowable function class as:
C1representing that the functions are first order derivable, then each function in M is a "possible displacement".
Let u e M and u second order can be a solution to the edge value problem (1) - (3). Taking v ∈ M, multiplying v by the two ends of equation (1), and then integrating over Ω:
using Green formula, obtaining from boundary conditions (2) - (3)
Substituting the above formula into (7) to obtain
For ease of discussion, we define a bilinear functional:
and a linear functional:
substituting the formulas (10) and (11) into the formula (9) to obtain:
α(u,v)=F(v) (12)
i.e. the solution u of the edge value problem satisfies equation (12).
Conversely, if there is u e M that satisfies (12) for any v e M, then when u is second order conductive, it must be the solution of the edge value problem (1) - (3).
We call equation (12) the "weak" form of the equivalent integral of equation (1) because the derivative contained in equation (12) is reduced in order. In fact, the requirement for u continuity is reduced in equation (12) at the expense of improving v continuity, but it is not difficult to properly improve the continuity requirement because they are known functions that can be chosen, and we choose to have v and u in the same function space M in the Galerkin method.
To approximate the problem in an infinite dimensional space to that of a finite dimensional space, the equation is discretized, assuming that M is divisible, i.e., there is a dense subset of the counties in M. Taking a finite dimension subspace S in MNIt is composed of N linearly independent vectorsWhat is meant is that:
then solving equation (12) becomes at SNSolving an approximate variational equation: find uN∈SNSo that:
solving for u by Galerkin methodNOnly by solving a linear algebraic system of equations. In fact, due to uN,wN∈SNTherefore, it can be set as follows:
substituting into formula (14) to obtain:
from diAn arbitrary property of (i ═ 1.. N), can be obtained
That is, an approximate solution to the variational problem is obtained by solving a system of linear algebraic equations (17).
For convenience of representation, the system of equations (17) is written in matrix form and is written as:
c=[c1,c2,...cn]T
It can be deduced that:
it is worth noting that the "weak" form formally has reduced continuity requirements for the function u, but often more closely approximates a true solution to practical physical problems than the original differential equation, which often places undue "smoothing" requirements on the solution.
We are not actually aware of SNThe specific expression of the basis for which the requirement is only linearly independent, the weighting factors appearing hereinafter being M-1And a certain subentry of the product term of the corresponding node in the final result of the K matrix. The requirement for the weight coefficients is actually due to the partial derivatives, which require mathematical expressions that can have first order partial derivatives. In fluid-solid coupling, solid nodes can be regarded as an added group of bases, so the continuity requirement of the weight coefficients in fluid-solid coupling is consistent with the continuity requirement of the weight coefficients of fluid nodes, so that an expression similar to that of the fluid nodes is adopted.
The above proof is to partly explain the theoretical basis of modeling of fluid-solid coupling part in the invention, and the weight selection in practical modeling can also realize convergence of the flow field and solid motion state.
As shown in fig. 1, the concrete implementation process of the fluid-solid coupling simulation method for fish school movement in marine environment of the present invention is as follows:
the method comprises the following steps: the flow field is modeled.
Finite elements are divided into flow fields, the finite elements of the flow fields are numbered {1, 2.., Nele }, Nele is the number of the finite elements, vertexes forming the finite elements are numbered {1, 2.., Np }, and Np is the number of the vertexes.
Defining attributes Ele ═ { Lnct, Led, EVol, Mstat } of the finite elements; ele represents an attribute set of finite elements, Lnct is a set of finite element vertex numbers, Led is a set of adjacent finite element numbers sharing a surface with the finite element, EVol is the volume of the finite element, and Mstat is a judgment for judging whether the finite element is searched when the finite element where the solid is located is searched. In this embodiment, the finite element uses a tetrahedral mesh, and there are four vertices, so the finite element vertex number set is represented as Lnct ═ { p1, p2, p3, p4 }; each finite element has four faces, i.e. there are four adjacent finite elements having a common face, and the set of adjacent finite element numbers having a common face with the finite element is denoted as Led ═ e1, e2, e3, e4 }.
Defining the property Po of the vertices constituting the finite element, { PX, PVol, U, Pre, T }, where PX represents the position coordinates of the vertex, PVol represents the volume occupied by the vertex, U represents the velocity of the vertex in three directions, Pre represents the pressure of the vertex, and T represents the temperature of the vertex. In the present embodiment, the position coordinates of the vertex are expressed as PX ═ xp,yp,zpAnd expressing the velocities of the vertices in the three directions as U ═ U, v, w.
The volume EVol of the finite element is determined from the determinant consisting of 4 point coordinates, with the formula:
in the formula (x)pi,ypi,zpi) Is the position coordinate of the ith point in the finite element. The arrangement sequence of the 4 vertexes forming the finite element needs to meet the following requirements:
any vertex is taken, and the plane formed by the other three vertexes is overlooked from the vertex, so that the three vertexes are arranged in a counterclockwise sequence. If the requirement is not met, the volume EVol of the finite element is changed to be negative, and the numbers of two vertexes are adjusted, so that the result is positive. For example, (x) can bep3,yp3,zp3)、(xp4,yp4,zp4) The stored numbers are exchanged, and the requirements can be met.
Since 1 finite element is bisected by 4 points, the volume calculation for each vertex is:
in the formula, since a vertex may participate in the construction of a plurality of finite elements, Σ EVol represents the sum of the finite element volumes that a vertex participates in the construction, and N represents the number of finite elements that the vertex participates in the construction.
The property changes for the above finite element vertices are governed by Navier-Stokes and Euler equations and are expressed as a uniform form of conservation as follows:
wherein phi and F, G, Q represent vectors forming a mass, momentum and energy conservation equation set, the 1 st term of each vector in the formula forms a mass conservation equation, the 2 nd to 4 th terms form a momentum conservation equation, and the 5 th term forms an energy conservation equation. ρ is the vertex density, (u, v, w) is the velocity of the vertex in three directions, E is the internal energy per unit mass, H is the enthalpy, μ is the viscosity coefficient, pre is the pressure of the vertex, - τxx、-τyx、-τzxAre respectively on three sidesThe parameters of the upward direction are the parameters,andthe partial derivatives of the parameters of the vertex are respectively shown, T is temperature, and k is the thermal conductivity. DeltaxyAnd is equal to 1 only when x is equal to y, and is equal to 0 otherwise. (f)x,fy,fz) Representing physical strength in three directions, qHIndicating an internal heat source.
Energy equations can be selected and not considered in flow field calculation, the important point of the method is not to model the flow field, so that the details of programming implementation are not described too much, and only the details related to coupling are expanded.
As can be seen from the above equation, the parameter derivation is required when updating the attributes of the vertices. Since the partial derivatives of the parameters of the vertices cannot be directly obtained, the partial derivatives in the finite elements are obtained first, and the volume weighting coefficients are usedTo the respective vertices constituting the finite element.
Taking the finite element to calculate the partial derivative formula of the speed U as an example:
given the derivation in the two-dimensional case of the above equation, taking the partial derivative of the variable U to x in the triangle unit as an example:
in the triangular finite element, three vertexes are labeled 1,2 and 3 respectively and are arranged in a counterclockwise sequence, a line segment passing through the point 1 is parallel to the x direction and is intersected with a line segment 23 at a point 4, and the length of the line segment is dx, as shown in fig. 3.
Then there are:
wherein S is the area of a triangle.
U at point 4 can be obtained by two-point weighting of 2,3, then:
the partial derivatives of the triangular finite elements can be considered as:
three points are alternately symmetrical, if 2 points are selected to make straight lines to intersect with 13 lines, the same conclusion can still be obtained, but the intersection point is on the extension line of 13.
Expanding to three dimensions, namely the above formula, proves that the method is similar, and only the area becomes the volume, and the intersection line becomes the intersection plane.
Where EVol denotes the volume of the finite element to be solved, PVol denotes the volume of the vertices constituting the finite element,are the weighting coefficients of the vertices and finite elements.
Then, knowing the partial derivatives of each finite element, the partial derivatives of each point are the sum of the partial derivatives of the finite elements of which the point participates in the construction multiplied by the coefficients:
step two: modeling the solid module.
The solid spots are numbered {1, 2.., Nc } which is the number of solid spots.
Defining the attribute Co of the solid point, wherein the Loc is the number of a finite element where the solid point is located, the CX is the coordinate of the solid point, the Cm is the mass of the solid point, the CVol is the volume of the solid point, and the CU is the velocity of the solid point in three directions.
The property change for the solid dots is governed by the following equation:
Flc=f(Co,Po) (28)
Fc=f(Coc,Co1,...,CoNc-1) (29)
wherein, FlcThe interaction force of the flow field and the solid is influenced by the property of the solid point and the property of the flow field where the solid point is located; fcThe interaction force between solids is influenced by the properties of the solid point and the properties of other solid points; coiAnd (3) representing the attribute of the ith solid point, wherein a specific expression is related to the targeted solid object. Flx,c、Fly,c、Flz,cIs FlcComponents in the directions of the x-axis, y-axis and z-axis, respectively, FcIs an interaction force between solids, Fx,c、Fy,c、Fz,cIs FcThe components in the x-axis, y-axis, and z-axis directions, respectively.
Step three: and updating the flow-fixed association parameters.
The finite element Loc and the weight coefficient will be described with reference to FIG. 4And (4) updating.
Firstly, updating the number Loc of the finite element where the solid point c is located, realizing by traversing each finite element during initialization, and then updating by adopting a wide area search algorithm, wherein the specific method comprises the following steps:
setting up search sequence Ltc ═ { e ═ e1,...,emIn which eiThe number m is the number of elements in the search sequence. Initially, m is 1, only one element in the search sequence is the finite element number where the solid point c is located at the last moment, and Mstat in the finite element attribute is 1, which indicates that the finite element has been added into the search sequence.
As the solid point moves, it may no longer belong to the finite element. Therefore, finite elements in the search sequence need to be searched one by one, and if the solid point exists in the searched finite elements, the Mstat attribute of the finite element where the solid point is located is set to zero; if the solid point does not exist in the searched finite element, the finite element with Mstat being 0 in the adjacent finite element stored in the Led set of the finite element attribute is taken into the search sequence, the next finite element is searched according to the search sequence, the process is repeated until the finite element with the solid point is searched, and the weight coefficient is updated
Method for judging whether solid point c exists in finite element e or not, and updatingThe method comprises the following steps:
calculating a determinant by replacing one of the four vertices constituting the finite element by the coordinates of the solid point cTo be provided withFor example, the following steps are carried out:
wherein (cx)c,cyc,czc) Indicates the position of the solid point c, (x)pi,ypi,zpi) Is the position coordinate of the ith vertex in the finite element. If it is notThe solid c is present in the finite element e,is the tetrahedral volume formed by the solid c and three points except the nth point, and the weight coefficient is further calculated as shown in FIG. 5Namely:
the reason why the invention selects the volume to calculate the weight coefficient, rather than the length of the connecting line of the solid point c and other vertexes, is that: the volume is used as a weight coefficient, so that the flow field force Fl acting on the solid point c when the finite element where the solid point c is positioned is changed can be realizedcAnd the solid acting force applied to each point can not generate mutation.
Step four: and updating the parameters of the solid flow field.
The flow field force Fl acting on the solid point c can be obtained from the formula (9)cIf the parameters of the flow field at the solid point c need to be obtained, the parameters of the four top points in the finite element e where the solid point c is located can be multiplied by the corresponding weight coefficientsThe sum is obtained as the flow field velocity U at the solid point ccFor example, the following steps are carried out:
Unis the velocity of the nth vertex in the finite element.
And (3) updating the parameters of the solid point c after the parameters of the flow field at the solid point c are obtained, wherein the speed and the coordinate of the solid point c need to be updated, and the updating method is introduced in the modeling of the second step.
In the process of updating the flow field, Fl acting force exists on the solid point c due to the flow fieldcThere will be a reaction force-FlcActing on the fluid finite element e, namely updating the physical force f on each vertex of the finite element, wherein the updating method comprises the following steps:
this formulation represents the parameter update procedure, fpnIs the physical force experienced by the nth vertex in the finite element, the left side of the equal sign represents the physical force when the solid point is present in the finite element, i.e. the updated physical force, and the right side of the equal sign represents the physical force when the solid point is not present in the finite element-the reaction force distributed to each point. Wherein, physical strength f has three directions, which are expressed as:
at the same time, the volume of the finite element e where the solid point c is located will decrease, i.e. the updated volume should be the original volume minus the volume of the solid point c:
EVole=EVole-CVolc (34)
the formula represents the finite element volume updating process, the left side of the equal sign represents the finite element volume when the solid point exists in the finite element, namely the updated finite element volume, and the right side of the equal sign represents the finite element volume when the solid point does not exist in the finite element-the volume of the solid point. Due to EVoleChange of (2), volume PVol of each vertex constituting e and influence weight coefficientUpdating is also carried out, the flow field is also updated later, and the updating method is used in the flow field modeling of the step oneAlready described.
And repeating the third step and the fourth step to obtain the change of the flow field and the solid along with the time, so that the dynamic update on the time can be realized.
It should be noted that the finite element mesh used is triangular in two dimensions and tetrahedral or right triangular prism in three dimensions, and the purpose is to determine whether a solid point is in a finite element and calculate a weight coefficientThen, there can be a geometric figure consisting of the solid point c and the remaining construction points p' corresponding to the constituent finite element points p. In two dimensions, the volume is replaced by an area.
The invention has guiding function for fish culture. Taking feeding as an example, the traditional evaluation model can not take the interaction between the fish school movement and the flow field into consideration, so that the feed is mostly considered to be naturally settled in water, but the influence of the fish school on the flow field in the feeding process actually greatly enhances the diffusion effect of the water area, and the feed is reflected on the feed, namely the suspension time of the feed in water is prolonged, and the horizontal diffusion rate and the radius are increased. The problem is that the protein conversion rate of the feed is higher in a feeding mode of multiple set points and less feeding than in a centralized feeding mode in a theoretical model, but in practice, the feed is only fed in the center of a breeding area to prevent excessive feed from flowing out of the outer net.
The foregoing lists merely illustrate specific embodiments of the invention. It is obvious that the invention is not limited to the above embodiments, but that many variations are possible. All modifications which can be derived or suggested by a person skilled in the art from the disclosure of the present invention are to be considered within the scope of the invention.
Claims (8)
1. A fluid-solid coupling simulation method for fish school movement in marine environment is characterized by comprising the following steps:
1) establishing a flow field model and a solid motion model by taking a marine environment as a flow field and a fish school as a solid point, and initializing;
the flow field model comprises Ele ═ { Lnct, Led, EVol, Mstat }, and the vertex attributes forming the finite elements comprise Po ═ { PX, PVol, U, Pre, T }; ele represents an attribute set of finite elements, Lnct is a set of finite element vertex numbers, Led is a set of adjacent finite element numbers sharing a surface with the finite elements, EVol is the volume of the finite elements, and Mstat is a judgment on whether the finite elements are searched when the finite elements where the solid points are located are searched; PX represents the position coordinates of the vertex, PVol represents the volume occupied by the vertex, U represents the velocity of the vertex in three directions, Pre represents the pressure of the vertex, and T represents the temperature of the vertex;
the attributes of each solid point in the solid motion model comprise Co ═ Loc, CX, Cm, CVol, CU }; wherein Co represents an attribute set of the solid point, Loc is the number of a finite element where the solid point is located, CX is the coordinate of the solid point, Cm is the mass of the solid point, CVol is the volume of the solid point, and CU is the speed of the solid point;
2) updating the serial numbers of the finite elements of the flow field where each solid point is located along with the movement of the fish school; after updating, calculating the influence weight coefficient of the solid point to each vertex in the finite elementAccording to the influence weight coefficientDetermining the vertex attribute of a finite element where the solid point is located, and taking the vertex attribute as a flow field parameter where the solid point is located; obtaining the interaction force Fl of the flow field and the solid according to the flow field parameters of the solid point and the self-attribute of the solid pointc;
3) According to the interaction force Fl of the flow field and the solidcUpdating the attribute parameters of the solid points;
4) according to the influence weight coefficientThe interaction force Fl of the flow field and the solidcDistributing the vertex of the finite element where the solid point is located to obtain the additional acting force of the vertex; renewing solids according to additional forceThe volume of the finite element where the point is located and the volume of the vertex forming the finite element are updated, so that the updating of the flow field is completed;
5) repeating the steps 2) to 4) until a preset step length is reached; and outputting the flow field and solid parameters according to a preset time interval to form the dynamic response of fluid-solid coupling of fish swarm movement along with time under the marine environment.
2. The method as claimed in claim 1, wherein the finite elements are triangular meshes, tetrahedral meshes or right triangular prism meshes.
3. The method for simulating fluid-solid coupling of fish school movement in marine environment according to claim 1, wherein in step 2), as the fish school moves, the serial number of the finite element of the flow field where each solid point is located is searched and updated by using the breadth search algorithm; the method specifically comprises the following steps:
setting up search sequence Ltc ═ { e ═ e1,...,emIn which eiThe number of the ith finite element in the search sequence is m;
initially, m is 1, only one element in a search sequence is a finite element number where a solid point is located at the last moment, and Mstat in the finite element attribute is 1, which indicates that the finite element is added into the search sequence;
searching finite elements in the search sequence one by one along with the movement of the solid point, and if the solid point exists in the searched finite elements, zeroing the Mstat attribute of the finite element where the solid point is located; if the solid point does not exist in the searched finite element, adding the finite element which is adjacent to the finite element and is not searched into a search sequence, and starting to search the next finite element according to the search sequence;
repeating the above process until the finite element where the solid point is located is searched.
4. The method as claimed in claim 3, wherein the simulation method comprises collecting fish in a marine environmentIn the process of searching by using the breadth searching algorithm, aiming at the finite element to be searched, the coordinates of the solid point are replaced by the nth vertex coordinates of the finite element to be searched to form a determinantEach row represents the three-dimensional coordinates of the ith point ifThe solid point is present in the finite element, otherwise it is not present.
5. The method as claimed in claim 1, wherein the step 2) of calculating the influence weight coefficient of the solid point on each vertex in the finite element is performed by using a fluid-solid coupling methodThe calculation formula is as follows:
6. The method as claimed in claim 5, wherein the sum of the weight coefficients of the vertices of the finite elements forming the solid point and the influence of the solid point is 1.
7. The method as claimed in claim 1, wherein the updating of the attribute parameters of the solid point is implemented by a control equation expressed as:
wherein (cx, cy, cz) is the coordinate of the solid point, (cu, cv, cw) is the velocity of the solid point in three directions, Cm is the mass of the solid point, FlcFl being the interaction force of the flow field with the solidx,c、Fly,c、Flz,cIs FlcComponents in the directions of the x-axis, the y-axis, and the z-axis, respectively; fcIs an interaction force between solids, Fx,c、Fy,c、Fz,cIs FcThe components in the x-axis, y-axis, and z-axis directions, respectively.
8. The method for simulating fluid-solid coupling of fish school movement in marine environment according to claim 1, wherein the step 4) is specifically as follows:
4.1) interaction force Fl of flow field and solidcAnd (3) allocating the vertex of the finite element where the solid point is located to obtain the additional acting force of the vertex:
in the formula PQnIs the additional force of the nth vertex, FlcIs the interaction force of the flow field and the solid,is the impact weight coefficient;
4.2) subtracting the volume of the solid point from the volume of the finite element, and updating the volume of the finite element where the solid point is located; and updating the vertex volumes constituting the finite element; the vertex volume calculation formula is as follows:
in the formula, sigma EVol represents the sum of finite element volumes of a vertex participating in construction, and N represents the number of finite elements participating in construction of the vertex;
4.3) updating the physical force applied to each vertex of the finite element:
f′pn=fpn-PQn
in the formula (f)pnIs the physical strength, f ', of the n-th vertex before update'pnIs the physical strength to which the nth vertex is subjected after updating;
and (4) allowing the updated physical power to enter a limit element vertex attribute control equation, completing the updating of the finite element vertex attribute, and completing the updating of the flow field.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011179361.9A CN112163364B (en) | 2020-10-29 | 2020-10-29 | Fluid-solid coupling simulation method for fish school movement in marine environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011179361.9A CN112163364B (en) | 2020-10-29 | 2020-10-29 | Fluid-solid coupling simulation method for fish school movement in marine environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112163364A CN112163364A (en) | 2021-01-01 |
CN112163364B true CN112163364B (en) | 2022-04-29 |
Family
ID=73865096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011179361.9A Active CN112163364B (en) | 2020-10-29 | 2020-10-29 | Fluid-solid coupling simulation method for fish school movement in marine environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112163364B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114304035B (en) * | 2021-12-10 | 2023-04-25 | 大连海洋大学 | Method for researching influence of shoal motion of circulating water culture system on hydrodynamic force and flow field in culture pond |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104504174A (en) * | 2014-11-28 | 2015-04-08 | 南京航空航天大学 | Self-adaptive mesh control method applicable to fluid-solid coupling numerical simulation in paradrop process |
CN110422271A (en) * | 2012-05-30 | 2019-11-08 | 赛创尼克株式会社 | The control method monitored by the real-time measurement to marine structure |
CN111753370A (en) * | 2020-06-03 | 2020-10-09 | 智慧航海(青岛)科技有限公司 | Ship swaying motion test method based on virtual simulation platform |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007122269A (en) * | 2005-10-26 | 2007-05-17 | Sony Corp | Method of coupled numerical simulation of fluid-structure, and storage device program for coupled numerical simulation of fluid-structure |
US10114911B2 (en) * | 2010-05-24 | 2018-10-30 | Fujitsu Limited | Fluid structure interaction simulation method and apparatus, and computer-readable storage medium |
-
2020
- 2020-10-29 CN CN202011179361.9A patent/CN112163364B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110422271A (en) * | 2012-05-30 | 2019-11-08 | 赛创尼克株式会社 | The control method monitored by the real-time measurement to marine structure |
CN104504174A (en) * | 2014-11-28 | 2015-04-08 | 南京航空航天大学 | Self-adaptive mesh control method applicable to fluid-solid coupling numerical simulation in paradrop process |
CN111753370A (en) * | 2020-06-03 | 2020-10-09 | 智慧航海(青岛)科技有限公司 | Ship swaying motion test method based on virtual simulation platform |
Non-Patent Citations (6)
Title |
---|
Numerical Simulation of TWo Different Flexible Bodies Immersed in Moving Flow;王思莹等;《Chinese Physics Letters》;20150815(第08期);全文 * |
波浪与渤海近岸海冰流固耦合特性的数值模拟;房河宇等;《海洋科学进展》;20180115(第01期);全文 * |
细长体鱼类行波运动的流固耦合分析;张志伟等;《机械工程师》;20060425(第04期);全文 * |
边界元计算内外声场耦合及流体目标声散射;杨志刚等;《哈尔滨工程大学学报》;20070228(第02期);全文 * |
陆夕云等.飞行和游动的生物运动力学和仿生技术研究.《中国科学技术大学学报》.2007,(第10期),全文. * |
飞行和游动的生物运动力学和仿生技术研究;陆夕云等;《中国科学技术大学学报》;20071015(第10期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112163364A (en) | 2021-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wall et al. | Isogeometric structural shape optimization | |
CN111709171B (en) | Isogeometric solving and heat dissipation topology generation method for heat flow strong coupling problem | |
Vouga et al. | Design of self-supporting surfaces | |
Qian | Full analytical sensitivities in NURBS based isogeometric shape optimization | |
Olsen | CFD algorithms for hydraulic engineering | |
CN112163364B (en) | Fluid-solid coupling simulation method for fish school movement in marine environment | |
CN114077802B (en) | Particle modeling method using shape function interpolation to replace kernel function approximation | |
EP1376412A1 (en) | Autonomous experimental design optimization | |
Hanna et al. | Intersection of parametric surfaces by means of look-up tables | |
Parikh et al. | A package for 3-D unstructured grid generation, finite-element flow solution and flow field visualization | |
Peng et al. | Nested Cartesian grid method in incompressible viscous fluid flow | |
Zhou et al. | Concurrent shape and topology optimization involving design‐dependent pressure loads using implicit B‐spline curves | |
CN112507600A (en) | Method for constructing symmetric boundary conditions of moving particle semi-implicit method | |
Schmidt et al. | Extended isogeometric analysis of multi-material and multi-physics problems using hierarchical B-splines | |
Bakker | Lecture 7-Meshing Applied Computational Fluid Dynamics | |
Seytov et al. | Modeling of two-dimensional unsteady water of movement in open channels | |
Nakahashi | Viscous flow computations using a composite grid | |
Deng et al. | A level set based boundary reconstruction method for 3-D bio-inspired flow simulations with sharp-interface immersed boundary method | |
Niewiarowski et al. | Pneumatic storm surge barriers subject to hydrodynamic loading | |
Georgiou | Interactive Structural Analysis and Form-Finding | |
Mirzakhani et al. | Adaptive analysis of three-dimensional structures using an isogeometric control net refinement approach | |
Chang et al. | A Geometrically Exact Triangular Shell Element Based on Reproducing Kernel DMS-Splines. | |
Yagawa | Free Mesh Method: fundamental conception, algorithms and accuracy study | |
Soukov | Heterogeneous Parallel Algorithm for Compressible Flow Simulations on Adaptive Mixed Meshes | |
Suzuki et al. | Streamline modeling based on potential flow |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |