Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a wading stress output analysis method and system based on an SPH (particle swarm optimization), wherein the SPH adopts a Lagrange framework, and no grid division is needed, so that the problems of grid refinement, reconstruction, distortion and the like of an Eulerian method in a VOF (hydrodynamics over-the-horizon) method are avoided, the motion rule of a boundary can be flexibly defined, the flow and distribution rule of water inside and outside a vehicle body in the wading process of the vehicle is researched by combining a wading test, the wading performance evaluation is carried out on key parts set according to experience, the wading simulation is simpler and close to the reality, and the wading simulation has important guiding significance on the optimization design of electric vehicle water management while the simulation precision and efficiency are improved.
According to a first aspect of the present invention, there is provided an SPH-based wading stress output analysis method, comprising: step 1, acquiring test data of the flowing and distribution conditions of water around key parts of a vehicle in the process of wading test of the vehicle; the key parts are manually set according to requirements;
step 2, constructing a wading simulation model of the vehicle by adopting an SPH method based on the test data, wherein the wading simulation model of the vehicle adopts each particle in motion to describe a flow field formed by flowing water, and each particle bears the value of various physical quantities corresponding to the current position;
and 3, calculating the pressure value of each key part based on the wading simulation model of the vehicle.
On the basis of the technical scheme, the invention can be improved as follows.
Optionally, in step 1, test data of the flow and distribution conditions of water around the key part is recorded by a camera;
the key parts comprise parts located at the vehicle chassis and body linking part, and comprise: a front wheel cover mudguard and a battery pack bottom guard plate.
Optionally, the physical quantities corresponding to the current position carried by the particle include mass, pressure, and velocity.
Optionally, the step 2 further includes:
step 201, acquiring a whole automobile stl model of a vehicle;
step 202, setting a simulation calculation domain and planning a wading pool;
step 203, defining a motion rule of the vehicle wading in water;
and 204, initializing the water flow of the water field and setting a solver for calculating the pressure value of the key part.
Optionally, in step 3, the motion trajectory of each particle is tracked by solving a kinetic equation of a particle group formed by each particle, so as to obtain the distribution and development of the flow field; and calculating the pressure value of the key part based on the value of the physical quantity of the mass point at the corresponding position of the key part.
Optionally, after the step 3, the method further includes:
and analyzing the stress failure condition of the key parts based on the pressure values of the key parts, and judging whether the stress of the key parts reaches the standard or not.
Optionally, the analysis process is ended when the stress of each key part is judged to reach the standard, otherwise, the structure of the vehicle is optimized.
According to a second aspect of the present invention, there is provided an SPH-based wading stress output analysis system, comprising: the device comprises a test data acquisition module, a simulation model construction module and a result output module;
the test data acquisition module is used for acquiring test data of the flowing and distribution conditions of water around key parts of the vehicle in the process of wading test of the vehicle; the key parts are manually set according to requirements;
the simulation model building module is used for building a wading simulation model of the vehicle by adopting an SPH method based on the test data, the wading simulation model of the vehicle describes a flow field formed by flowing water by adopting each particle in motion, and each particle bears the value of each physical quantity corresponding to the current position;
and the result output module is used for calculating the pressure value of each key part based on the wading simulation model of the vehicle.
According to a third aspect of the present invention, there is provided an electronic device comprising a memory, and a processor for implementing the steps of the SPH-based wading stress output analysis method when executing a computer management-like program stored in the memory.
According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer management-like program which, when executed by a processor, implements the steps of the SPH-based wading stress output analysis method.
The invention provides a wading stress output analysis method, a wading stress output analysis system, electronic equipment and a storage medium based on SPH.A wading simulation model of a vehicle is constructed by adopting an SPH method based on test data, the efficiency of the SPH method and AVL Preonlab is higher than that of a traditional VOT method in a simulation process, under the condition of the same computing resources, the SPH method can more accurately lock the weak part of an electric car structure in a water management (wading) working condition, and the wading performance of the connection part of an electric car chassis and a vehicle body is mainly evaluated; aiming at simulation analysis data and combining with an experimental result to promote an optimization verification scheme, accurate striking is realized; the SPH method provides sufficient pre-research and prediction data for water management working condition experiments, meanwhile, the number of verification rounds of later-stage optimization schemes is greatly reduced, and the water management service level of the electric vehicle is really and comprehensively improved from the three aspects of quality, efficiency and cost.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is a flowchart of an embodiment of an SPH-based wading stress output analysis method according to the present invention, and as shown in fig. 1, the analysis method includes:
step 1, acquiring test data of the flowing and distribution conditions of water around key parts of a vehicle in the process of wading test of the vehicle; the key parts are manually set according to requirements.
In specific implementation, the key parts can be set according to actual experience of vehicle use and a test process, and objects needing to be subjected to key evaluation are selected to perform wading stress output analysis.
And 2, constructing a wading simulation model of the vehicle by adopting an SPH (SpH (shortest Path Range) method based on the test data, wherein the wading simulation model of the vehicle adopts each particle in motion to describe a flow field formed by flowing water, and each particle bears the value of various physical quantities corresponding to the current position.
And 3, calculating the pressure value of each key part based on the wading simulation model of the vehicle.
The invention provides a wading stress output analysis method based on an SPH (particle swarm optimization), wherein the SPH adopts a Lagrange framework without dividing grids, so that the problems of grid refinement, reconstruction, distortion and the like of an Eulerian method in a VOF (volatile organic field effect) method are solved, the motion rule of a boundary can be flexibly defined, the flow and distribution rule of water inside and outside a vehicle body in the wading process of the vehicle is researched by combining a wading test, the wading performance evaluation is carried out on key parts set according to experience, the wading simulation is simpler and close to reality, and the simulation precision and efficiency are improved while the important guiding significance is provided for the optimization design of electric vehicle water management.
Example 1
Embodiment 1 provided in the present invention is an embodiment of an SPH-based wading stress output analysis method, and as can be seen from fig. 1, the embodiment of the analysis method includes:
step 1, acquiring test data of the flowing and distribution conditions of water around key parts of a vehicle in the process of wading test of the vehicle; the key parts are manually set according to requirements.
In the specific test process, the wading test of the vehicle can be completed in a wading test base, and the actual vehicle state is a certain vehicle at the early stage of the project. The test condition is shallow water wading, the vehicle speed is 10/20/30/40/60km/h, and the water depth is 100/200/300 mm.
In a possible embodiment mode, in step 1, test data of the flow and distribution of water around the critical part are recorded by a camera.
The key parts comprise parts located on the vehicle chassis and the body linking part, and comprise: a front wheel cover mudguard, a battery pack bottom guard plate and the like.
And 2, constructing a wading simulation model of the vehicle by adopting an SPH (SpH (shortest Path Range) method based on the test data, wherein the wading simulation model of the vehicle adopts each particle in motion to describe a flow field formed by flowing water, and each particle bears the value of various physical quantities corresponding to the current position.
In the specific implementation process, a wading simulation model of the vehicle can be built in the AVL Preonlab, and a non-grid water management simulation is carried out by utilizing an SPH method, wherein the SPH method is initially applied to the field of celestial physics and is used for simulating asymmetric physical phenomena. Because the stability and the predictability are better, the method is gradually expanded and applied to the field of fluid mechanics, and has remarkable advantages in the aspects of solving the flow problems of free surface, large deformation and the like. The SPH method is based on the lagrangian framework and is a meshless method whose basic idea is to describe a continuous fluid or solid with a set of interacting particles.
In one possible embodiment, the physical quantities corresponding to the current position of the particle carrier include mass, pressure, velocity, and the like.
In a possible embodiment, step 2 further includes:
step 201, a whole vehicle stl (stereo lithography) model of the vehicle is obtained.
Step 202, setting a simulation calculation domain and planning a wading pool.
And step 203, defining the motion rule of the wading vehicle.
And step 204, initializing the water flow of the water field and setting a solver for calculating the pressure value of the key part.
And 3, calculating the pressure value of each key part based on the wading simulation model of the vehicle.
In a possible embodiment mode, in step 3, the motion track of each particle is tracked by solving a dynamics (Navier-Stokes) equation of a particle group formed by each particle, so as to obtain the distribution and the development of the flow field; and calculating the pressure value (Pa) of the key part based on the value of the physical quantity of the mass point at the corresponding position of the key part.
And 4, analyzing stress failure conditions of the key parts based on the pressure values of the key parts, and judging whether the stress of the key parts reaches the standard or not.
And ending the analysis process when the stress of each key part is judged to reach the standard, otherwise, optimizing the structure of the vehicle.
Example 2
Embodiment 2 of the present invention is an embodiment of an SPH-based wading stress output analysis system according to the present invention, and fig. 2 is a structural diagram of an SPH-based wading stress output analysis system according to the present invention, and it can be seen from fig. 2 that the embodiment of the analysis system includes: the device comprises a test data acquisition module, a simulation model construction module and a result output module.
The test data acquisition module is used for acquiring test data of the flowing and distribution conditions of water around key parts of the vehicle in the wading test process of the vehicle; the key parts are manually set according to requirements.
And the simulation model building module is used for building a wading simulation model of the vehicle by adopting an SPH method based on the test data, the wading simulation model of the vehicle adopts each particle in motion to describe a flow field formed by flowing water, and each particle bears the value of various physical quantities corresponding to the current position.
And the result output module is used for calculating the pressure value of each key part based on the wading simulation model of the vehicle.
It can be understood that the SPH-based wading stress output analysis system provided by the present invention corresponds to the SPH-based wading stress output analysis methods provided in the foregoing embodiments, and the relevant technical features of the SPH-based wading stress output analysis system may refer to the relevant technical features of the SPH-based wading stress output analysis methods, and are not described herein again.
Referring to fig. 3, fig. 3 is a schematic diagram of an embodiment of an electronic device according to an embodiment of the invention. As shown in fig. 3, an embodiment of the present invention provides an electronic device, which includes a memory 1310, a processor 1320, and a computer program 1311 stored in the memory 1310 and executable on the processor 1320, where the processor 1320 executes the computer program 1311 to implement the following steps: acquiring test data of the flowing and distribution conditions of water around key parts of a vehicle in the process of wading test of the vehicle; the key parts are manually set according to requirements; constructing a wading simulation model of the vehicle by adopting an SPH method based on test data, wherein the wading simulation model of the vehicle adopts each particle in motion to describe a flow field formed by flowing water, and each particle bears values of various physical quantities corresponding to the current position; and calculating the pressure value of each key part based on the wading simulation model of the vehicle.
Referring to fig. 4, fig. 4 is a schematic diagram of an embodiment of a computer-readable storage medium according to the present invention. As shown in fig. 4, the present embodiment provides a computer-readable storage medium 1400, on which a computer program 1411 is stored, the computer program 1411 when executed by a processor implements the steps of: acquiring test data of the flowing and distribution conditions of water around key parts of a vehicle in the process of wading test of the vehicle; the key parts are manually set according to requirements; constructing a wading simulation model of the vehicle by adopting an SPH method based on test data, wherein the wading simulation model of the vehicle adopts each particle in motion to describe a flow field formed by flowing water, and each particle bears the value of various physical quantities corresponding to the current position; and calculating the pressure value of each key part based on the wading simulation model of the vehicle.
According to the wading stress output analysis method, the wading stress output analysis system, the electronic equipment and the storage medium based on the SPH, a wading simulation model of the electric vehicle is established in AVL PreonLab simulation software based on the SPH, a wading test is combined, the flowing and distribution rule of inside and outside water of a vehicle body under a wading working condition is researched, and the wading performance of a chassis of the electric vehicle is mainly analyzed. Through simulation and test, the design of a chassis sealing system is improved, and the water cannot enter the battery pack. The flow path of water flow entering a gap space of a chassis of the vehicle body is cut off through structural optimization, and meanwhile, the simulation function of the AVLPreonLab is verified, so that the AVLPreonLab simulation test platform can efficiently support the optimization design of vehicle water management; the structural design precision and efficiency of the electric vehicle body and chassis structure for the wading working condition are improved.
It should be noted that, in the foregoing embodiments, the description of each embodiment has an emphasis, and reference may be made to the related description of other embodiments for a part that is not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.