A method for vehicle aerodynamic analysis and calculation coupled with porous media model
By automatically processing the data exchange surface between the entire vehicle's outflow field and the calculation domain of the porous media heat dissipation module, the problem of data exchange matching difficulties in automobile pneumatic simulation analysis is solved, the calculation stability and accuracy are improved, and the automobile pneumatic and thermal management is realized Efficient simulation of simulation analysis.
Patent Information
- Application Number
- CN202410603907.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-05-15
AI Technical Summary
In automotive pneumatic simulation analysis, it is difficult to exchange and match data between the calculation domain of the entire vehicle's outflow field and the calculation domain of the porous media heat dissipation module, which makes it difficult to ensure calculation stability and accuracy. Especially on the OpenFOAM platform, the functions are relatively basic and difficult to achieve The stability of numerical calculations.
A vehicle pneumatic analysis and calculation method for coupled porous media models is proposed. By automatically processing the selection of corresponding boundary data exchange surfaces between two sets of grids, a highly adaptable porous media heat dissipation module processing method is formed to ensure the data exchange surface. level, and then perform grid merging and numerical calculations.
It improves the stability and accuracy of automotive aerodynamic and thermal management simulation analysis, solves the data exchange matching problem, and ensures the reliability and accuracy of calculations.
Smart Images

Figure CN118520798B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automobile aerodynamics, and in particular to a whole-vehicle aerodynamic analysis and calculation method coupled with a porous medium model. Background Art
[0002] Simulation analysis is one of the important links in the modern automobile design industry. Through simulation, the efficiency of the design process of automobile structure and appearance can be effectively improved, and compared with traditional experiments, the verification cost can be effectively reduced. The stability, accuracy and calculation efficiency of simulation directly affect the length of the automobile design process.
[0003] In the aerodynamic simulation analysis of automobiles, the external flow field calculation domain of the whole vehicle and the calculation domain of the porous medium heat dissipation module are divided into body grids separately, and then the data exchange interface is set on the corresponding boundaries of the two to realize the merging of multiple blocks of calculation domains for numerical calculation. Due to the extremely complex structure of the whole vehicle cabin, it is difficult to ensure the continuity and flatness of the grid at the boundary of the data exchange surface of the external flow field calculation domain. Usually, the calculation domain of the porous medium heat dissipation module is a regular cuboid, resulting in the body grid divided from it being a regular hexahedral grid, and each boundary surface is a regular rectangle. At present, foreign commercial software (such as star ccm+) can directly select the boundary surface corresponding to the two calculation domains to form a data exchange surface without considering the size and shape differences between the two. On the open source OpenFOAM platform, due to its relatively basic functions, it is necessary to ensure the mutual matching between the data exchange surfaces in the process of realizing the merging calculation of multiple blocks of calculation domains, otherwise it is difficult to ensure the stability of the numerical calculation method. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a whole vehicle aerodynamic analysis and calculation method coupled with a porous medium model, and aims at the data exchange problem between the two sets of body grids of the whole vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain in the whole vehicle CFD analysis and calculation. A method for automatically processing the selection of corresponding boundary data exchange surfaces between the two sets of body grids is provided, thereby forming a set of porous medium heat dissipation module processing methods with strong versatility and adaptability, so as to ensure the stability and accuracy of automobile aerodynamic and thermal management simulation analysis and calculation based on OpenFOAM.
[0005] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:
[0006] A whole vehicle aerodynamic analysis and calculation method coupled with a porous medium model comprises the following steps:
[0007] S1. Establish a whole vehicle model and a whole vehicle external flow field calculation domain and perform mesh division to obtain a volume mesh of the whole vehicle external flow field calculation domain;
[0008] S2. Establish a calculation domain of the porous medium heat dissipation module and perform mesh division. Correct the coordinates of the calculation domain of the porous medium heat dissipation module by calculating the local coordinate system of the unit, obtain the actual coordinates of the calculation domain of the porous medium heat dissipation module, and obtain the volume mesh of the calculation domain of the porous medium heat dissipation module;
[0009] S3, selecting the data exchange surface of the corresponding boundary surface between the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain, and obtaining the selected data exchange surface;
[0010] S4. Based on the selected data exchange surface, the volume grid of the vehicle external flow field calculation domain and the volume grid of the porous medium heat dissipation module calculation domain are meshed together to obtain the full-field calculation domain;
[0011] S5. Set the boundary conditions and calculation conditions of the whole calculation domain;
[0012] S6. Establish a computational dynamics model of the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain, and introduce a resistance source term into the computational dynamics model of the porous medium heat dissipation module calculation domain to simulate the momentum loss of the fluid after flowing through the porous medium;
[0013] S7. Based on the boundary conditions and calculation conditions of the full-field calculation domain, the computational dynamics model of the established vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain is used to perform numerical calculation of the flow field in the full-field calculation domain to obtain the pressure and velocity distribution of the vehicle external flow field and the porous medium heat dissipation module.
[0014] Furthermore, in step S1, the outside of the vehicle external flow field calculation domain is a regular rectangular parallelepiped, and the upstream inlet of the vehicle external flow field calculation domain is 15m away from the front end of the car, the left and right walls are 13m away from both sides of the car body, the downstream outlet is 40m away from the rear of the car body, the roof is 12.5m away from the upper wall, and the tire is tangent to the bottom surface.
[0015] Furthermore, step S2 specifically includes:
[0016] S21. Set the automobile cooling system area as a porous medium model, and establish a porous medium cooling module calculation domain;
[0017] S22, calculating the unit local coordinate system according to the coordinates of the calculation domain of the porous medium heat dissipation module established in step S21;
[0018] S23, according to the unit local coordinate system calculated in step S22, shrinking to the geometric center of the calculation domain of the porous medium heat dissipation module in three-dimensional directions, correcting the interval coordinates between the calculation domain of the porous medium heat dissipation module and the calculation domain of the external flow field of the whole vehicle, and obtaining the actual coordinates of the calculation domain of the porous medium heat dissipation module;
[0019] S24, meshing is performed according to the actual coordinates of the calculation domain of the porous medium heat dissipation module obtained in step S23 to obtain a volume mesh of the calculation domain of the porous medium heat dissipation module.
[0020] Furthermore, step S3 specifically includes:
[0021] According to the actual coordinates of the calculation domain of the porous medium heat dissipation module obtained in step S23, and based on the unit local coordinate system calculated in step S22, the calculation domain of the porous medium heat dissipation module is shrunk again in the three-dimensional direction to the geometric center of the calculation domain of the porous medium heat dissipation module, and the data exchange surface coordinates of the boundary surface corresponding to the calculation domain of the external flow field of the whole vehicle and the calculation domain of the porous medium heat dissipation module are determined to obtain the selected data exchange surface.
[0022] Furthermore, step S5 specifically includes:
[0023] S51. Set the boundary conditions of the whole calculation domain, where the velocity boundary condition is used at the inlet, the pressure boundary condition is used at the outlet, the data exchange surface is set using the periodic arbitrary grid interface method provided by the OpenFOAM platform, and the other boundary conditions are all no-slip boundary conditions;
[0024] S52. The calculation conditions are set to use the semi-implicit method of the pressure coupling equation group to solve the velocity-pressure coupling, where the time term uses the steady-state method and the spatial convection term uses the second-order accuracy format.
[0025] Furthermore, in step S6, the computational dynamics model of the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain is a k-ε turbulence model, and the incompressible solver of the OpenFOAM platform is used to solve the control equations of the computational dynamics model of the vehicle external flow field calculation domain, and the resistance source term is introduced into the computational dynamics model of the porous medium heat dissipation module calculation domain to simulate the momentum loss of the fluid after flowing through the porous medium.
[0026] Furthermore, the control equation is:
[0027]
[0028] Where u represents the velocity vector, ρ represents the density, represents partial derivative, t represents time, represents the gradient operator, τ represents the intermediate temporary variable of the formula and has no practical meaning, f represents the resistance source term, μ represents viscosity, and T represents transpose.
[0029] Furthermore, the resistance source term is obtained by DarcyForchheimer's law, and its calculation formula is:
[0030]
[0031] Where D is the viscosity coefficient and F is the inertia coefficient.
[0032] The present invention has the following beneficial effects:
[0033] The present invention proposes a whole-vehicle aerodynamic analysis and calculation method for a coupled porous medium model, which solves the data exchange and matching problem between the whole-vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain in automobile aerodynamic analysis by merging the volume grid of the porous medium heat dissipation module calculation domain with the volume grid of the whole-vehicle external flow field calculation domain, while improving the stability and accuracy of automobile aerodynamic and thermal management simulation analysis and calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic flow chart of a whole vehicle aerodynamic analysis and calculation method coupled with a porous medium model proposed in the present invention;
[0035] Figure 2 This is a schematic diagram of the grid division of the calculation domain of the vehicle's external flow field;
[0036] Figure 3 This is a schematic diagram of the structure of the local coordinates of the calculation unit of the porous media heat dissipation module calculation domain;
[0037] Figure 4 This is a schematic diagram of the coordinate correction of the calculation domain of the porous media heat dissipation module;
[0038] Figure 5 This is a schematic diagram of the volume grid structure of the calculation domain of the porous medium heat dissipation module;
[0039] Figure 6 A flowchart for selecting a data exchange interface. DETAILED DESCRIPTION
[0040] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0041] like Figure 1 As shown, a whole vehicle aerodynamic analysis calculation method coupled with a porous medium model includes the following steps S1-S7:
[0042] S1. Establish a whole vehicle model and a whole vehicle external flow field calculation domain and perform mesh division to obtain a volume mesh of the whole vehicle external flow field calculation domain.
[0043] In this embodiment, the modeling software is used to model the car, establish the external flow field calculation domain of the whole car and divide the grid to obtain the volume grid of the external flow field calculation domain of the whole car, wherein the external flow field calculation domain of the whole car is the car cooling system area, the internal single connected area and the external area of the model entity, as shown in the following figure. Figure 2 As shown, Figure 2 The outside of the calculation domain of the vehicle's external flow field is a regular rectangular parallelepiped, with specific dimensions of 15 m upstream inlet (velocity inlet) from the front end of the vehicle, 13 m left and right walls from both sides of the vehicle body, 40 m downstream outlet (velocity outlet) from the rear end of the vehicle body, 12.5 m from the roof to the upper wall (no-slip avoidance surface), the tire is tangent to the bottom surface, and the grid size in the three areas decreases gradually from the outside to the inside.
[0044] Specifically, in step S1, the outside of the vehicle external flow field calculation domain is a regular rectangular parallelepiped, and the upstream inlet of the vehicle external flow field calculation domain is 15m away from the front end of the car, the left and right walls are 13m away from the sides of the car body, the downstream outlet is 40m away from the rear of the car body, the roof is 12.5m away from the upper wall, and the tire is tangent to the bottom surface.
[0045] S2. Establish a calculation domain of the porous medium heat dissipation module and perform meshing. Correct the coordinates of the calculation domain of the porous medium heat dissipation module by calculating the local coordinate system of the unit, obtain the actual coordinates of the calculation domain of the porous medium heat dissipation module, and obtain the volume mesh of the calculation domain of the porous medium heat dissipation module.
[0046] In this embodiment, the meshing of the computational domain of the porous medium heat dissipation module is divided into three steps: the first step is to calculate the unit local coordinate system according to the coordinates of the computational domain of the porous medium heat dissipation module. The computational domain of the porous medium heat dissipation module is a cuboid, such as Figure 3 As shown, Figure 3 The eight vertices are respectively recorded as point 1 to point 8. In three-dimensional space, the unit local coordinate system contains three mutually perpendicular unit vectors. The calculation method of the unit vector in the direction of point 1 to point 2 is (x2-x1, y2-y1, z2-z1) / L12, where x2, y2, and z2 represent the coordinates of point 2 on the x, y, and z axes, respectively, and L12 represents the distance from point 1 to point 2. Similarly, the unit vectors in the directions of point 1 to point 4 and point 1 to point 5 are calculated. The unit local coordinate system is composed of three unit vectors: point 1 to point 2, point 1 to point 4, and point 1 to point 5. In the second step, according to the unit local coordinate system, the calculation domain of the porous medium heat dissipation module is shrunk to the geometric center of the calculation domain of the porous medium heat dissipation module in the three-dimensional direction to realize the interval coordinate correction of the calculation domain of the porous medium heat dissipation module and the calculation domain of the external flow field of the whole vehicle, so as to prevent the interference between the calculation domain of the porous medium heat dissipation module and the calculation domain of the external flow field of the whole vehicle caused by the accuracy of the model, and obtain the actual coordinates of the corrected calculation domain of the porous medium heat dissipation module, as shown in the following figure. Figure 4 As shown, Figure 4The solid black frame is the boundary surface corresponding to the vehicle external flow field calculation domain, and the dashed black frame is the boundary surface corresponding to the porous medium heat dissipation module calculation domain. In the calculation, it is necessary to ensure that the two boundary surfaces do not intersect. However, due to issues such as CAD modeling accuracy, the two will interfere with each other, so the porous medium heat dissipation module calculation domain needs to be shrunk. The specific shrinkage size needs to be determined based on the coordinates of the boundary surface of the porous medium heat dissipation module calculation domain and the coordinates of the boundary surface corresponding to the vehicle external flow field calculation domain. The third step is to mesh the calculation domain using a regular hexahedron grid according to the actual coordinates of the porous medium heat dissipation module calculation domain, such as Figure 5 As shown, the volume mesh of the computational domain of the porous medium heat dissipation module is obtained.
[0047] Specifically, step S2 specifically includes S21-S24:
[0048] S21. Set the automobile cooling system area as a porous medium model and establish a porous medium cooling module calculation domain.
[0049] S22. Calculate the unit local coordinate system according to the coordinates of the calculation domain of the porous medium heat dissipation module established in step S21.
[0050] S23. According to the unit local coordinate system calculated in step S22, the calculation domain of the porous medium heat dissipation module is contracted in three-dimensional directions toward the geometric center of the calculation domain of the porous medium heat dissipation module, and the interval coordinates between the calculation domain of the porous medium heat dissipation module and the calculation domain of the external flow field of the whole vehicle are corrected to obtain the actual coordinates of the calculation domain of the porous medium heat dissipation module.
[0051] S24, meshing is performed according to the actual coordinates of the calculation domain of the porous medium heat dissipation module obtained in step S23 to obtain a volume mesh of the calculation domain of the porous medium heat dissipation module.
[0052] S3. Select the data exchange surface of the corresponding boundary surface between the calculation domain of the vehicle external flow field and the calculation domain of the porous medium heat dissipation module to obtain the selected data exchange surface.
[0053] In this embodiment, based on the actual coordinates of the calculation domain of the porous medium heat dissipation module, the data exchange surface coordinates of the corresponding boundary surface between the calculation domain of the external flow field of the whole vehicle and the calculation domain of the porous medium heat dissipation module are determined according to the local coordinate system in three-dimensional directions, so as to avoid the distortion of the mesh at the edge of the corresponding boundary surface of the calculation domain of the external flow field of the whole vehicle due to the complex structure in the cabin of the whole vehicle, which affects the data exchange and causes calculation instability. The shrinkage principle is the same as the second step of the mesh division of the calculation domain of the porous medium heat dissipation module mentioned above. The specific shrinkage size needs to be determined according to the mesh quality of the corresponding boundary surface of the calculation domain of the external flow field of the whole vehicle. It is necessary to ensure that the data exchange surface on the calculation domain of the external flow field of the whole vehicle selected in the end is a flat boundary surface. The entire data exchange surface selection process is as follows: Figure 6As shown, the inlet data exchange surface and the outlet data exchange surface are selected through the data exchange frame.
[0054] Specifically, step S3 includes:
[0055] According to the actual coordinates of the calculation domain of the porous medium heat dissipation module obtained in step S23, and based on the unit local coordinate system calculated in step S22, the calculation domain of the porous medium heat dissipation module is shrunk again in the three-dimensional direction to the geometric center of the calculation domain of the porous medium heat dissipation module, and the data exchange surface coordinates of the boundary surface corresponding to the calculation domain of the external flow field of the whole vehicle and the calculation domain of the porous medium heat dissipation module are determined to obtain the selected data exchange surface.
[0056] S4. Based on the selected data exchange surface, the volume grid of the vehicle external flow field calculation domain and the volume grid of the porous medium heat dissipation module calculation domain are merged to obtain the full-field calculation domain.
[0057] In this embodiment, the calculation script construction process of steps S1-S4 is as follows: the example folder of the OpenFOAM platform contains three main folders, namely, the 0 folder, the constant folder (constant) and the system folder (system). First, the whole vehicle surface mesh file (stl file) exported by starccm+ is placed in the triangular surface mesh folder (triSurface) of the constant folder of the OpenFOAM example folder, and then the porous medium heat dissipation module information collection table (P.txt) is placed in the OpenFOAM example folder, and the coordinates of the porous medium heat dissipation module calculation domain (eight vertex coordinates) are entered in the porous medium heat dissipation module information collection table. This part of the content corresponds to the process of establishing the whole vehicle model and the whole vehicle external flow field calculation domain and performing meshing in the above steps S1-S2 and the process of establishing the porous medium heat dissipation module calculation domain and performing meshing. The automatic processing process of the calculation script is as follows: 1. Based on the whole vehicle surface mesh, the calculation domain of the external flow field of the whole vehicle is divided into volume meshes; 2. An additional porous medium processing folder is generated in the OpenFOAM example folder, which contains a block mesh generator dictionary file (blockMesh), a mesh division processor dictionary file (snappyHexMeshDict) and a coordinate processing script; 3. The coordinates of the porous medium heat dissipation module input in the porous medium heat dissipation module information collection table are passed to the generated coordinate processing script, and the unit local coordinate system of the porous medium heat dissipation module calculation domain is calculated based on the eight vertices; 4. According to the local position of the calculation domain of the external flow field of the whole vehicle and the corresponding position relationship of the calculation domain of the porous medium heat dissipation module, the coordinate correction vector of the porous medium heat dissipation module is obtained, the vertex coordinates of the porous medium heat dissipation module are corrected, and the actual vertex coordinates of the corrected porous medium heat dissipation module calculation domain are obtained, and passed to In the block grid generator dictionary file in the porous medium processing folder, the block grid generator dictionary file is called to generate the volume grid of the porous medium heat dissipation module calculation domain; 5. The center point of the porous medium heat dissipation module calculation domain is used as the midpoint of the data exchange surface selection box, and the three-dimensional direction size of the selection box is determined according to the irregularity of the boundary surface grid corresponding to the vehicle external flow field calculation domain, and it is passed to the topology relationship processor dictionary file (topoSetDict) in the system folder, and then the topology relationship processor in the system folder is called to select the data exchange surface corresponding to the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain, and then the patch generation processor dictionary file (createPatchDict) in the system folder is called to generate the data exchange surface; 6. Use the mergeMesh command in OpenFOAM to merge the volume grid of the vehicle external flow field calculation domain and the volume grid of the porous medium heat dissipation module calculation domain.
[0058] S5. Set the boundary conditions and calculation conditions of the entire calculation domain.
[0059] In this embodiment, the boundary conditions of the whole field calculation domain are set in OpenFOAM, the velocity boundary condition is used at the inlet (entrance), the pressure boundary condition is used at the outlet, the data exchange surface adopts the cyclic arbitrary mesh interface method (cyclicAMI, cyclic Arbitrary Mesh Interface) provided by OpenFOAM, and the other boundary surfaces are all no-slip boundary conditions. The semi-implicit (simple) method of the pressure coupling equation group is used to solve the velocity-pressure coupling, the time term adopts the steady state (steady) method, and the spatial convection term adopts the second-order accuracy format.
[0060] Specifically, step S5 includes S51-S52:
[0061] S51. Set the boundary conditions of the entire calculation domain. The velocity boundary condition is used at the inlet, the pressure boundary condition is used at the outlet, and the data exchange surface is set using the periodic arbitrary grid interface method provided by the OpenFOAM platform. The remaining boundary conditions all use no-slip boundary conditions.
[0062] S52. The calculation conditions are set to use the semi-implicit method of the pressure coupling equation group to solve the velocity-pressure coupling, where the time term uses the steady-state method and the spatial convection term uses the second-order accuracy format.
[0063] S6. A computational dynamics model of the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain is established, and a resistance source term is introduced into the computational dynamics model of the porous medium heat dissipation module calculation domain to simulate the momentum loss of the fluid after flowing through the porous medium.
[0064] In this embodiment, the incompressible fluid flow numerical calculation method is adopted in both calculation domains, the turbulence model adopts the k-ε model, and the incompressible flow calculation model, namely the k-ε model, is still adopted in the calculation domain of the porous medium heat dissipation module. However, on this basis, a resistance source term needs to be added to simulate the momentum loss of the fluid after flowing through the porous medium. The source term is obtained by the DarcyForchheimer law.
[0065] Specifically, in step S6, the computational dynamics model of the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain is a k-ε turbulence model, and the incompressible solver of the OpenFOAM platform is used to solve the control equations of the computational dynamics model of the vehicle external flow field calculation domain, and the resistance source term is introduced into the computational dynamics model of the porous medium heat dissipation module calculation domain to simulate the momentum loss of the fluid after flowing through the porous medium.
[0066] Specifically, the control equation is:
[0067]
[0068] Where u represents the velocity vector, ρ represents the density, represents partial derivative, t represents time, represents the gradient operator, τ represents the intermediate temporary variable of the formula and has no practical meaning, f represents the resistance source term, μ represents viscosity, and T represents transpose.
[0069] Specifically, the resistance source term is obtained by DarcyForchheimer's law, and its calculation formula is:
[0070]
[0071] Where D is the viscosity coefficient and F is the inertia coefficient.
[0072] In this embodiment, the viscosity coefficient D and the inertia coefficient F are physical parameters of the porous medium heat dissipation module, and need to be input in the porous medium heat dissipation module information collection table (P.txt).
[0073] S7. Based on the boundary conditions and calculation conditions of the full-field calculation domain, the computational dynamics model of the established vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain is used to perform numerical calculation of the flow field in the full-field calculation domain to obtain the pressure and velocity distribution of the vehicle external flow field and the porous medium heat dissipation module.
[0074] In this embodiment, based on the incompressible fluid solver of OpenFOAM, according to the set boundary conditions and calculation conditions, the numerical calculation of the flow field of the whole vehicle including the porous medium heat dissipation module is performed, that is, the numerical calculation of the flow field is performed on the calculation domain, and the numerical calculation results of the external flow field of the whole vehicle and the air flow inside the porous medium heat dissipation module are obtained, so as to obtain the flow field characteristics of the whole vehicle including the porous medium heat dissipation module, thereby obtaining the velocity distribution and pressure distribution on the surface and inside of the porous medium heat dissipation module, that is, realizing the high-precision numerical prediction of the air fluid dynamic characteristics in the porous medium heat dissipation module in the cabin.
[0075] The present invention proposes a whole vehicle aerodynamic analysis and calculation method for coupling a porous medium model. The calculation scheme has high adaptability and can ensure calculation stability and accuracy for different types of cooling system sizes and relative positions. At the same time, the constructed calculation script has a high degree of automation. It only needs to input the calculation domain model coordinates of the porous medium cooling module in the CAD model and the physical properties of the porous medium cooling module to automatically complete the porous medium model setting of the cooling system, which greatly reduces the amount of operation for engineers. The calculation script has a high degree of modularization and can be adjusted or iterated according to actual simulation needs.
[0076] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0077] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A whole vehicle aerodynamic analysis and calculation method coupled with a porous medium model, characterized in that: The following steps are involved: S1. Establish a whole vehicle model and a whole vehicle external flow field calculation domain and perform mesh division to obtain a volume mesh of the whole vehicle external flow field calculation domain; S2. Establish a calculation domain of the porous medium heat dissipation module and perform mesh division. Correct the coordinates of the calculation domain of the porous medium heat dissipation module by calculating the local coordinate system of the unit, obtain the actual coordinates of the calculation domain of the porous medium heat dissipation module, and obtain the volume mesh of the calculation domain of the porous medium heat dissipation module; Wherein, step S2 specifically includes: S21. Set the automobile cooling system area as a porous medium model, and establish a porous medium cooling module calculation domain; S22, calculating the unit local coordinate system according to the coordinates of the calculation domain of the porous medium heat dissipation module established in step S21; S23, according to the unit local coordinate system calculated in step S22, shrinking to the geometric center of the calculation domain of the porous medium heat dissipation module in three-dimensional directions, correcting the interval coordinates between the calculation domain of the porous medium heat dissipation module and the calculation domain of the external flow field of the whole vehicle, and obtaining the actual coordinates of the calculation domain of the porous medium heat dissipation module; S24, performing grid division according to the actual coordinates of the calculation domain of the porous medium heat dissipation module obtained in step S23 to obtain a volume grid of the calculation domain of the porous medium heat dissipation module; S3, selecting the data exchange surface of the corresponding boundary surface between the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain, and obtaining the selected data exchange surface; Wherein, step S3 specifically includes: According to the actual coordinates of the porous medium heat dissipation module calculation domain obtained in step S23, and based on the unit local coordinate system calculated in step S22, the calculation domain of the porous medium heat dissipation module is shrunk again in three-dimensional directions to the geometric center, and the data exchange surface coordinates of the boundary surface corresponding to the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain are determined to obtain the selected data exchange surface; S4. Based on the selected data exchange surface, the volume grid of the vehicle external flow field calculation domain and the volume grid of the porous medium heat dissipation module calculation domain are meshed together to obtain the full-field calculation domain; S5. Set the boundary conditions and calculation conditions of the whole calculation domain; S6. Establish a computational dynamics model of the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain, and introduce a resistance source term into the computational dynamics model of the porous medium heat dissipation module calculation domain to simulate the momentum loss of the fluid after flowing through the porous medium; S7. Based on the boundary conditions and calculation conditions of the full-field calculation domain, the computational dynamics model of the established vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain is used to perform numerical calculation of the flow field in the full-field calculation domain to obtain the pressure and velocity distribution of the vehicle external flow field and the porous medium heat dissipation module.
2. The whole vehicle aerodynamic analysis and calculation method of coupled porous medium model according to claim 1 is characterized in that: In step S1, the outside of the vehicle external flow field calculation domain is a regular rectangular parallelepiped, and the upstream inlet of the vehicle external flow field calculation domain is 15m away from the front end of the vehicle, the left and right walls are 13m away from the sides of the vehicle body, the downstream outlet is 40m away from the rear of the vehicle body, the roof is 12.5m away from the upper wall, and the tire is tangent to the bottom surface.
3. The whole vehicle aerodynamic analysis and calculation method coupled with a porous medium model according to claim 1 is characterized in that: Step S5 specifically includes: S51. Set the boundary conditions of the whole field calculation domain, where the velocity boundary condition is used at the inlet, the pressure boundary condition is used at the outlet, the data exchange surface is set using the periodic arbitrary grid interface method provided by the OpenFOAM platform, and the other boundary conditions are all no-slip boundary conditions; S52. The calculation conditions are set to use the semi-implicit method of the pressure coupling equation group to solve the velocity-pressure coupling, where the time term uses the steady-state method and the spatial convection term uses the second-order accuracy format.
4. The whole vehicle aerodynamic analysis and calculation method coupled with a porous medium model according to claim 1 is characterized in that: In step S6, the computational dynamics model of the vehicle external flow field calculation domain and the porous medium heat dissipation module calculation domain is a k-ε turbulence model, and the incompressible solver of the OpenFOAM platform is used to solve the control equations of the computational dynamics model of the vehicle external flow field calculation domain, and the resistance source term is introduced into the computational dynamics model of the porous medium heat dissipation module calculation domain to simulate the momentum loss of the fluid after flowing through the porous medium.
5. The whole vehicle aerodynamic analysis and calculation method coupled with a porous medium model according to claim 4 is characterized in that: The governing equation is: Where u represents the velocity vector, ρ represents the density, represents partial derivative, t represents time, represents the gradient operator, p represents pressure, τ represents the intermediate temporary variable of the formula and has no practical meaning, f represents the resistance source term, μ represents viscosity, and T represents transpose.
6. The whole vehicle aerodynamic analysis and calculation method coupled with a porous medium model according to claim 5 is characterized in that: The resistance source term is obtained by DarcyForchheimer's law, and its calculation formula is: Where D is the viscosity coefficient and F is the inertia coefficient.
