Heat-fluid-solid simulation model grid optimization method and device and storage medium
By optimizing the grid size in the thermal flow solid simulation model of the electric heater, using multiple quadratic regression equations and multi-objective optimization genetic algorithms, the problem of difficulty in mesh division under the complex structure of the electric heater is solved, and the simulation efficiency and accuracy are improved. A reasonable grid setting is achieved, reducing calculation time.
Patent Information
- Application Number
- CN202411212950.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-08
AI Technical Summary
In the analysis of thermal flow-solid coupling simulation, the complex structure and small gaps of the electric heater lead to difficulty in dividing the model grid, resulting in excessive number of grids, increasing the difficulty of calculation, and the grid size setting has a huge impact on simulation efficiency, making it difficult to determine the appropriate one Mesh size for accuracy and efficiency.
By obtaining the parameter data of the electric heater, a thermal flow solid simulation model is established, the initial grid size set is determined, the grid size is optimized based on the multivariate quadratic regression equation and multi-objective optimization genetic algorithm is established, the boundary layer is obtained, the experimental sample point collection is obtained, and the network is optimized. lattice size to improve simulation accuracy and efficiency.
While ensuring simulation accuracy, optimize the grid size, reduce computing resource consumption, improve the solution efficiency of the thermal flow solid simulation model, avoid too thin or too thick grid division, and accurately capture the heat transfer phenomenon at the interface between the fluid and the solid.
Smart Images

Figure CN118917252A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of thermal simulation technology, and in particular to a thermal fluid-solid simulation model grid optimization method, device and storage medium. Background Art
[0002] The internal structure of the electric heater is complex, including hundreds of electric heating tubes and internal support plates with complex shapes, and the gap between the support plate and the electric heater is very small. Therefore, when performing thermal fluid-solid coupling simulation analysis, model construction and meshing become very difficult. Specifically, a large number of segmentation and Boolean operations are required, and irregular parts will generate a large number of units when tetrahedral meshing is performed, resulting in the number of meshes in the final model reaching tens of millions. The more meshes there are, the more difficult it is to calculate and debug, and the difficulty of debugging the thermal fluid-solid coupling simulation of electric heaters increases accordingly.
[0003] The size of the grid has a huge impact on the total amount of grids. The total amount of grids obtained by different grid size settings can differ by millions. Therefore, how to determine the appropriate grid size while ensuring the accuracy of the thermal fluid-solid simulation model solution, and thus improve the efficiency of the thermal fluid-solid simulation model solution, has become an urgent problem that technicians in this field need to solve. Summary of the invention
[0004] The problem solved by the present invention is how to determine a suitable grid size while ensuring the solution accuracy of a thermal-fluid-solid simulation model, thereby improving the solution efficiency of the thermal-fluid-solid simulation model.
[0005] In order to solve the above problems, the present invention provides a thermal-fluid-solid simulation model mesh optimization method, device and storage medium.
[0006] In a first aspect, the present invention provides a method for optimizing a mesh of a thermal-fluid-solid simulation model, comprising:
[0007] Acquire parameter data of the electric heater and establish a thermal-fluid-solid simulation model of the electric heater, and set material parameters of the thermal-fluid-solid simulation model of the electric heater;
[0008] Determine an initial grid size set of each typical part of the electric heater, wherein the initial grid size set includes the initial grid size of each typical part, and the initial grid size of each typical part is within a preset grid size range;
[0009] Meshing the electric heater thermal-fluid-solid simulation model based on the initial grid size set, establishing a boundary layer, and obtaining a plurality of test sample point collections based on the meshed electric heater thermal-fluid-solid simulation model, each of the test sample point collections including a thermal-fluid-solid simulation analysis result corresponding to the initial grid size set;
[0010] Based on a collection of multiple test sample points, the initial grid size set of each typical part of the electric heater is optimized using a multivariate quadratic regression equation and a multi-objective optimization genetic algorithm to obtain a target grid size set of each typical part of the electric heater.
[0011] Optionally, the electric heater parameter data includes geometric dimension data and operating condition data of the electric heater, and the material parameters include thermal conductivity, density, specific heat capacity and thermal expansion coefficient of the electric heater.
[0012] Optionally, the method for determining the preset grid size range includes:
[0013] Analyze the geometric shapes and physical characteristics of each typical part of the electric heater, and determine the grid density coefficient of each typical part according to the analysis results;
[0014] The preset mesh size range is determined based on the influence coefficient of each typical part on the thermal-fluid-solid coupling effect and the mesh density area.
[0015] Optionally, based on the collection of the plurality of test sample points, the initial grid size set of each typical part of the electric heater is optimized using a multivariate quadratic regression equation and a multi-objective optimization genetic algorithm to obtain a target grid size of each typical part of the electric heater, including:
[0016] A multivariate quadratic regression equation is used to fit the relationship between the initial grid size set of each typical part of the electric heater and the thermal-fluid-solid simulation analysis result, wherein the multivariate quadratic regression equation includes a linear term of an independent variable, a quadratic term, an interaction term between independent variables, and a dependent variable, wherein the independent variable is the initial grid size of each typical part, and the dependent variable is the temperature or the total number of grids of the thermal-fluid-solid simulation analysis result;
[0017] Based on the multivariate quadratic regression equation, a multi-objective optimization genetic algorithm is used to take the standard temperature and the total amount of grids as optimization targets, and the initial grid size of each typical part of the heater is optimized through an iterative process to obtain an optimization result;
[0018] According to the optimization results, a target grid size set of each typical part of the electric heater is determined.
[0019] Optionally, the initial grid size set of each typical part of the electric heater includes the grid size of the fluid at the inlet and outlet, the grid size of the internal fluid sweeping surface, the grid size in the length direction of the cylinder and the internal fluid, and the grid size of the fluid at the support plate.
[0020] Optionally, it also includes:
[0021] Establishing an electric heater grid optimization database, the electric heater grid optimization database includes simulation data of multiple electric heaters of different models, the simulation data includes first internal diameter data and first internal length data of the electric heater, and a first target grid size set of each typical part of the electric heater;
[0022] Acquire second inner diameter data and second inner length data of the target electric heater;
[0023] Based on the second internal diameter data and the second internal length data, interpolation calculation is performed on the first internal diameter data and the first internal length data of electric heaters of different models in the database to obtain a second target grid size set for each typical part of the target electric heater.
[0024] Optionally, the interpolation calculation includes:
[0025] Selecting simulation data of at least two models of the electric heaters having different first inner diameter data and first inner length data from the electric heater grid optimization database to form a reference data set for interpolation calculation;
[0026] Select two or more adjacent first internal diameter data and second internal length data of the electric heater in the reference data set as basic data points for interpolation calculation, use an interpolation calculation algorithm, perform interpolation calculation between the basic data points based on the second internal diameter data and the second internal length data, and determine the second grid size set of typical parts of the target electric heater.
[0027] Optionally, the interpolation calculation further includes:
[0028] Determine first internal volume data corresponding to the first internal diameter data and the first internal length data based on simulation data of at least two models of the electric heater having different first internal diameter data and first internal length data selected from the electric heater grid optimization database;
[0029] determining second internal volume data based on the second internal diameter data and the second internal length data;
[0030] Obtaining a second target grid size set for each typical part of the target electric heater based on a quadratic interpolation equation;
[0031] The formula of the quadratic interpolation equation is:
[0032] Y=AV 2 +BV+C;
[0033] Among them, Y represents the second target grid size set, A represents the quadratic term coefficient, B represents the one-time coefficient, C is a constant, and V represents the second internal volume data.
[0034] In a second aspect, the present invention provides an electronic device, including a memory and a processor;
[0035] The memory is used to store computer programs;
[0036] The processor is used to implement the thermal-fluid-solid simulation model grid optimization method as described in the first aspect when executing the computer program.
[0037] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for optimizing the mesh of the thermal-fluid-solid simulation model as described in the first aspect is implemented.
[0038] Compared with the prior art, the beneficial effects of the present invention are as follows: after establishing the electric heater thermal fluid-solid simulation model through the electric heater parameter data, and setting its material parameters, a data basis is provided for subsequent mesh optimization and simulation analysis; the initial mesh size set is reasonably set according to each typical part of the electric heater, which can avoid overly fine or coarse mesh division, and control the total amount of mesh while ensuring the simulation accuracy; the boundary layer setting through mesh division can accurately capture the heat transfer phenomenon at the interface between fluid and solid, and improve the simulation accuracy; finally, the multivariate quadratic regression equation and multi-objective genetic optimization are used to obtain the optimal mesh size setting, which can minimize the number of meshes and calculation time while meeting the simulation accuracy. The present invention can determine the appropriate mesh size while ensuring the solution accuracy of the thermal fluid-solid simulation model, and improve the solution efficiency of the thermal fluid-solid simulation model. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic flow chart of a method for optimizing a mesh of a thermal-fluid-solid simulation model provided by an embodiment of the present invention;
[0040] Figure 2 A schematic flow chart of step S14 of a thermal-fluid-solid simulation model mesh optimization method provided by one embodiment of the present invention;
[0041] Figure 3 A schematic flow chart of a method for optimizing a mesh of a thermal-fluid-solid simulation model provided by another embodiment of the present invention;
[0042] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0044] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0045] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0046] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0047] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0048] The electric heater thermal-fluid-solid simulation model is a computational model used to simulate the complex physical phenomena inside the electric heater. The model combines the coupling analysis of thermal fluid mechanics and structural mechanics, and can accurately simulate the fluid flow, heat transfer process and thermal stress distribution of the solid structure inside the electric heater.
[0049] Reference Figure 1 The present invention provides a method for optimizing a mesh of a thermal-fluid-solid simulation model, comprising:
[0050] S11, acquiring parameter data of the electric heater and establishing a thermal-fluid-solid simulation model of the electric heater, and setting material parameters of the thermal-fluid-solid simulation model of the electric heater.
[0051] Specifically, by obtaining the electric heater parameter data and establishing the electric heater thermal fluid-solid simulation model, a basis can be provided for subsequent simulation analysis. The electric heater parameter data here can be data that can determine the electric heating structure size and environmental conditions and clearly establish the electric heater thermal fluid-solid simulation model, while the material parameters are related material properties that directly affect the temperature distribution of the electric heater, which can be density, thermal conductivity, etc.
[0052] S12. Determine an initial grid size set of each typical part of the electric heater, wherein the initial grid size set includes the initial grid size of each typical part, and the initial grid size of each typical part is within a preset grid size range.
[0053] The grid size set refers to the grid size set for different locations in the model (i.e., typical parts of the electric heater) when performing finite element analysis or computational fluid dynamics simulation. The grid setting is used to discretize the geometric model of the electric heater so that the computer can perform numerical simulation. The grid size refers to the size of the grid. Smaller grids can capture more details and are suitable for areas with drastic geometric shapes or gradient changes; larger grids are suitable for areas with simple geometric shapes or small gradient changes. Typical parts refer to areas with special structures, complex geometries or key functions in the electric heater, which are critical to the overall performance. By setting a reasonable initial grid size set for each typical part of the electric heater, the accuracy of the simulation results can be ensured, while improving the computational efficiency of the electric heater thermal fluid-solid simulation model. It should be noted that the initial grid size of each typical part corresponds to a preset grid size range.
[0054] S13. Meshing the electric heater thermal-fluid-solid simulation model based on the initial grid size set, establishing a boundary layer, and obtaining a plurality of test sample point collections based on the meshed thermal-fluid-solid simulation model of the electric heater, each of the test sample point collections including a thermal-fluid-solid simulation analysis result corresponding to the initial grid size set.
[0055] Specifically, meshing the electric heater thermal fluid-solid simulation model using the initial grid size set refers to dividing the electric heater thermal fluid-solid simulation model into many small grids according to the initial grid size set, and the grid division determines the accuracy and amount of numerical calculation of the electric heater thermal fluid-solid simulation model. The boundary layer refers to the fluid area close to the surface of the object, in which the fluidity and thermal conductivity have significant changes; in the meshing process, establishing the boundary layer refers to refining the grid of the surface area of the electric heater thermal fluid-solid simulation model to capture the flow and thermal conductivity characteristics of the area.
[0056] The test sample point set refers to: after meshing, in order to evaluate the impact of different mesh settings of typical parts of electric heating on the simulation results, multiple test sample points are generated, and each test sample point represents the simulation result corresponding to a specific mesh setting (i.e., a specific mesh size combination). By changing the parameters in the initial mesh size set (for example, changing the mesh density of a typical part from coarse to fine), multiple meshing schemes are generated, and each scheme corresponds to a test sample point.
[0057] For example, the typical parts of the electric heater include typical part A, typical part B, typical part C and typical part D. In the preset grid size range, the grid size range of typical part A is 1mm~2mm, the grid size range of typical part B is 4mm~6mm, the grid size range of typical part C is 7mm~9mm, and the grid size range of typical part D is 11mm~13mm. Among them, the thermal-fluid-solid simulation analysis result of the test sample point X corresponds to a grid size of 2mm for the typical part A, a grid size of 6mm for the typical part B, a grid size of 8mm for the typical part C, and a grid size of 12mm for the typical part D; the thermal-fluid-solid simulation analysis result of the test sample point Y corresponds to a grid size of 1mm for the typical part A, a grid size of 5mm for the typical part B, a grid size of 9mm for the typical part C, and a grid size of 11mm for the typical part D.
[0058] The electric heater thermal fluid-solid coupling simulation model is simulated and analyzed by different grid settings, and a large number of sample points are obtained to determine which grid size is most suitable for the electric heater thermal fluid-solid coupling simulation. This process not only helps to improve the simulation accuracy, but also reduces the consumption of computing resources by optimizing the grid settings and improves the computational efficiency of the simulation model.
[0059] S14. Based on the collection of multiple test sample points, the initial grid size set of each typical part of the electric heater is optimized using a multivariate quadratic regression equation and a multi-objective optimization genetic algorithm to obtain a target grid size set of each typical part of the electric heater.
[0060] This embodiment uses a multivariate quadratic regression equation to quantify the effect of the initial grid size of each typical part of the electric heater on the simulation results, providing a data basis for subsequent grid size optimization. The multi-objective optimization genetic algorithm continuously improves the solution set through operations such as selection, crossover, and mutation to obtain the optimal grid size configuration that meets multiple objectives. Moreover, in a complex simulation environment, by optimizing the initial grid size set, a more reasonable target grid size combination can be obtained, which can not only improve the accuracy of the simulation results, but also optimize the utilization of computing resources to ensure the best balance between multiple objectives.
[0061] Compared with the prior art, the beneficial effects of the present invention are as follows: after establishing the electric heater thermal fluid-solid simulation model through the electric heater parameter data, and setting its material parameters, a data basis is provided for subsequent mesh optimization and simulation analysis; the initial mesh size set is reasonably set according to each typical part of the electric heater, which can avoid overly fine or coarse mesh division, and control the total amount of mesh while ensuring the simulation accuracy; the boundary layer setting through mesh division can accurately capture the heat transfer phenomenon at the interface between fluid and solid, and improve the simulation accuracy; finally, the multivariate quadratic regression equation and multi-objective genetic optimization are used to obtain the optimal mesh size setting, which can minimize the number of meshes and calculation time while meeting the simulation accuracy. The present invention can determine the appropriate mesh size while ensuring the solution accuracy of the thermal fluid-solid simulation model, and improve the solution efficiency of the thermal fluid-solid simulation model.
[0062] In one embodiment, the electric heater parameter data includes geometric dimension data and operating condition data of the electric heater, and the material parameters include thermal conductivity, density, specific heat capacity and thermal expansion coefficient of the electric heater.
[0063] Specifically, the geometric dimension data here can be the cylinder size, heating tube size and layout, and support plate size, while the operating condition data can be the operating temperature, working pressure and fluid properties. By determining the parameter data and material parameters, an accurate heater thermal-fluid-solid simulation model can be built, and the required performance data can be obtained through simulation analysis, providing a basis for the design optimization and reliability evaluation of the electric heater.
[0064] In one embodiment, the method for determining the preset grid size range includes:
[0065] The geometric shapes and physical characteristics of each typical part of the electric heater are analyzed, and the grid density coefficient of each typical part is determined according to the analysis results.
[0066] Specifically, in the electric heater, the geometric shape may include the heating tube area, the support plate area and the flow channel inside the cylinder, and the physical property analysis may include temperature gradient, fluid velocity field and stress concentration phenomenon. By analyzing the geometric shape and physical properties of each typical part of the electric heater, the electric heater can be divided into different grid density areas according to the analysis results of the geometric shape and physical properties of each typical part of the electric heater. For example: due to the significant temperature gradient and complex fluid flow around the heating tube, this area requires a fine grid to accurately simulate the thermal fluid-solid coupling phenomenon, so the grid density coefficient of the heating tube is relatively large; the holes on the support plate and the contact with the heating tube may produce large flow velocity changes and stress concentration, so the grid density coefficient of the support plate area is biased to the middle; while the flow channel inside the cylinder is relatively regular, the fluid flow is relatively uniform, and the corresponding grid density can be relatively low, and the grid density coefficient of the flow channel area inside the cylinder is small.
[0067] The preset mesh size range is determined based on the influence coefficient of each typical part on the thermal-fluid-solid coupling effect and the mesh density area.
[0068] Furthermore, the influence coefficient can be determined according to the importance of each typical part in the thermal fluid-solid simulation model. For example, the influence coefficient is determined by the heat conduction path, and the influence coefficient of the heat transfer intensive area is higher; the influence coefficient is determined by the fluidity of the fluid, and the influence coefficient of the violent flow area is higher; the influence coefficient is determined by the temperature gradient, and the influence coefficient of the area with a large temperature gradient is higher.
[0069] By analyzing the geometric shape and physical characteristics of typical parts of the electric heater and presetting the mesh size range in combination with the influence coefficient of the thermal-fluid-solid coupling effect and the mesh density coefficient, the mesh size range can be preset scientifically and reasonably, thereby improving the simulation efficiency and ensuring the accuracy of the calculation results.
[0070] In one embodiment, the preset grid size range may also be set through expert experience.
[0071] Reference Figure 2 In one embodiment, the initial grid size set of each typical part of the electric heater is optimized by using a multivariate quadratic regression equation and a multi-objective optimization genetic algorithm to obtain a target grid size of each typical part of the electric heater, including:
[0072] S141. Use a multivariate quadratic regression equation to fit the relationship between the initial grid size set of each typical part of the electric heater and the thermal-fluid-solid simulation analysis result. The multivariate quadratic regression equation includes linear terms of independent variables, quadratic terms, interaction terms between independent variables and dependent variables. The independent variable is the initial grid size of each typical part, and the dependent variable is the temperature or the total number of grids of the thermal-fluid-solid simulation analysis result.
[0073] By fitting the relationship between the initial mesh size of each typical part and the simulation analysis results through the multivariate quadratic regression equation, the influence of each variable (initial mesh size) on the dependent variable (simulation results) can be evaluated. The introduction of interaction terms between independent variables can capture the interaction between independent variables and improve the fit of the model. Furthermore, the multivariate quadratic regression equation fitting can help identify the network parameters that have a significant impact on the simulation results, thereby providing a basis for the subsequent optimization process.
[0074] S142. Based on the multivariate quadratic regression equation, a multi-objective optimization genetic algorithm is used to take the standard temperature and the total amount of grids as optimization targets, and the initial grid size of each typical part of the heater is optimized through an iterative process to obtain an optimization result.
[0075] Specifically, taking the standard temperature and the total amount of grids as optimization targets, the iterative process of the genetic algorithm will gradually generate better initial grid size combinations until the optimization target reaches or approaches the preset standard.
[0076] S143. Determine a target grid size set for each typical part of the electric heater according to the optimization result.
[0077] The target grid size set for each typical part obtained by the multi-objective optimization genetic algorithm can not only meet the requirements of simulation accuracy, but also optimize the use of computing resources.
[0078] Optionally, the initial grid size set of each typical part of the electric heater includes the grid size of the fluid at the inlet and outlet, the grid size of the internal fluid sweeping surface, the grid size in the length direction of the cylinder and the internal fluid, and the grid size of the fluid at the support plate.
[0079] Specifically, the inlet and outlet areas of the electric heater are key locations for fluid to enter and exit the system, usually accompanied by large flow velocity changes and temperature gradients. The typical initial grid size range can be set to 5-7mm; the internal fluid swept surface refers to the flow area of the fluid along a certain direction inside the electric heater. To ensure the simulation accuracy of this area, in the initial grid size set, the grid size of the internal fluid swept surface can be set to medium density, that is, the initial grid size range can be set to 3-5mm; the area along the length direction of the cylinder and its internal fluid is usually relatively wide, the fluid flow is relatively smooth, and the temperature gradient changes are small. The initial grid size range can be set to 10-15mm; the support plate area is usually the most complex part of the internal structure of the electric heater, involving the intersection of multiple fluid channels and the key path of heat conduction. The initial grid size range can be set to 2-4mm to ensure the simulation accuracy.
[0080] Reference Figure 3 ,,The mesh optimization method of thermal-fluid-solid simulation model also includes:
[0081] S15. Establish an electric heater grid optimization database, wherein the electric heater grid optimization database includes simulation data of multiple electric heaters of different models, wherein the simulation data includes first internal diameter data and first internal length data of the electric heater, and a first target grid size set of each typical part of the electric heater.
[0082] It should be explained that the data of the electric heater mesh optimization database comes from the completed electric heater thermal-fluid-solid simulation model, and also includes the corresponding target mesh size collection of each typical part of the electric heater.
[0083] S16, acquiring the second inner diameter data and the second inner length data of the target electric heater.
[0084] The target electric heater refers to an electric heater that needs to be subjected to thermal-fluid-solid simulation analysis, but the target grid size has not yet been determined. Through this embodiment, the target grid size set of each typical part can be quickly determined, which significantly shortens the simulation time and improves the simulation efficiency.
[0085] S17. Based on the second internal diameter data and the second internal length data, interpolation calculation is performed on the first internal diameter data and the first internal length data of electric heaters of different models in the database to obtain a second target grid size set for each typical part of the target electric heater.
[0086] It should be explained that the "inside" in the first internal length data and the second internal length data here both refer to the inside of the heating tube, and the "inside" in the first internal diameter data and the second internal diameter data also refer to the inside of the heating tube.
[0087] This embodiment establishes an electric heater grid optimization database and uses the interpolation calculation method to quickly generate a reasonable grid size set for a new model electric heater. This not only improves the efficiency of simulation analysis, but also ensures the accuracy and reliability of simulation results. The establishment of the database and the application of interpolation calculation make the entire grid optimization process more intelligent and systematic, which can reduce simulation costs while improving simulation efficiency.
[0088] In one embodiment, the interpolation calculation includes:
[0089] Selecting simulation data of at least two models of the electric heaters having different first inner diameter data and first inner length data from the electric heater grid optimization database to form a reference data set for interpolation calculation;
[0090] Select two or more adjacent first internal diameter data and second internal length data of the electric heater in the reference data set as basic data points for interpolation calculation, use an interpolation calculation algorithm, perform interpolation calculation between the basic data points based on the second internal diameter data and the second internal length data, and determine the second grid size set of typical parts of the target electric heater.
[0091] The second grid size set includes the grid size of the fluid at the inlet and outlet, the grid size of the internal fluid sweep surface, the grid size of the cylinder and the internal fluid length direction, and the grid size of the fluid at the support plate, etc. This embodiment can realize the second grid size set of each typical part of the target electric heater.
[0092] In one embodiment, the interpolation calculation further includes:
[0093] Determine first internal volume data corresponding to the first internal diameter data and the first internal length data based on simulation data of at least two models of the electric heater having different first internal diameter data and first internal length data selected from the electric heater grid optimization database;
[0094] determining second internal volume data based on the second internal diameter data and the second internal length data;
[0095] Obtaining a second target grid size set for each typical part of the target electric heater based on a quadratic interpolation equation;
[0096] The formula of the quadratic interpolation equation is:
[0097] Y=AV 2 +BV+C;
[0098] Among them, Y represents the second target grid size set, A represents the quadratic term coefficient, B represents the one-time coefficient, C is a constant, and V represents the second internal volume data.
[0099] Specifically, this embodiment can determine the first internal volume data corresponding to the first internal diameter data and the first internal length data through the simulation data of at least two models of the electric heater; and the quadratic interpolation equation can be calculated through the first internal volume data and the first target grid size set corresponding to the first internal volume data, and then the second target grid size set is calculated by the determined quadratic interpolation equation and the second internal volume data. This embodiment can reduce the construction cost of the simulation model and improve the simulation efficiency.
[0100] Reference Figure 4 , the present invention provides an electronic device 40, including a memory 41 and a processor 42;
[0101] The memory 41 is used to store computer programs;
[0102] The processor 42 is used to implement the above-mentioned thermal-fluid-solid simulation model grid optimization method when executing the computer program.
[0103] In other words, an electronic device 40 includes a memory 41 and a processor 42 coupled to the memory 41; the memory 41 is configured to store a computer program; and the processor 42 is configured to perform the following operations when executing the computer program:
[0104] Acquire parameter data of the electric heater and establish a thermal-fluid-solid simulation model of the electric heater, and set material parameters of the thermal-fluid-solid simulation model of the electric heater;
[0105] Determining an initial grid size set of each typical part of the electric heater, wherein the initial grid size of each typical part is within a preset grid size range;
[0106] Meshing the electric heater thermal-fluid-solid simulation model based on the initial grid size set, establishing a boundary layer, and obtaining a plurality of test sample point collections based on the meshed electric heater thermal-fluid-solid simulation model, wherein the test sample point collections include thermal-fluid-solid simulation analysis results corresponding to the initial grid size set, and the thermal-fluid-solid simulation analysis results correspond to a grid size range of a typical part of the electric heater;
[0107] The initial grid size set of each typical part of the electric heater is optimized by using a multivariate quadratic regression equation and a multi-objective optimization genetic algorithm to obtain a target grid size set of each typical part of the electric heater.
[0108] The present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned thermal-fluid-solid simulation model grid optimization method is implemented.
[0109] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:
[0110] In other words, an electronic device 40 includes a memory 41 and a processor 42 coupled to the memory 41; the memory 41 is configured to store a computer program; and the processor 42 is configured to perform the following operations when executing the computer program:
[0111] Acquire parameter data of the electric heater and establish a thermal-fluid-solid simulation model of the electric heater, and set material parameters of the thermal-fluid-solid simulation model of the electric heater;
[0112] Determining an initial grid size set of each typical part of the electric heater, wherein the initial grid size of each typical part is within a preset grid size range;
[0113] Meshing the electric heater thermal-fluid-solid simulation model based on the initial grid size set, establishing a boundary layer, and obtaining a plurality of test sample point collections based on the meshed electric heater thermal-fluid-solid simulation model, wherein the test sample point collections include thermal-fluid-solid simulation analysis results corresponding to the initial grid size set, and the thermal-fluid-solid simulation analysis results correspond to a grid size range of a typical part of the electric heater;
[0114] The initial grid size set of each typical part of the electric heater is optimized by using a multivariate quadratic regression equation and a multi-objective optimization genetic algorithm to obtain a target grid size set of each typical part of the electric heater.
[0115] An electronic device 40 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 40 is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 40 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0116] The electronic device 40 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0117] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0118] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A method for optimizing the mesh of a thermal fluid-solid simulation model, characterized in that: include: Acquire parameter data of the electric heater and establish a thermal-fluid-solid simulation model of the electric heater, and set material parameters of the thermal-fluid-solid simulation model of the electric heater; Determine an initial grid size set of each typical part of the electric heater, wherein the initial grid size set includes the initial grid size of each typical part, and the initial grid size of each typical part is within a preset grid size range; Meshing the electric heater thermal-fluid-solid simulation model based on the initial grid size set, establishing a boundary layer, and obtaining a plurality of test sample point collections based on the meshed electric heater thermal-fluid-solid simulation model, each of the test sample point collections including a thermal-fluid-solid simulation analysis result corresponding to the initial grid size set; Based on a collection of multiple test sample points, the initial grid size set of each typical part of the electric heater is optimized using a multivariate quadratic regression equation and a multi-objective optimization genetic algorithm to obtain a target grid size set of each typical part of the electric heater.
2. The method for optimizing the mesh of a thermal-fluid-solid simulation model according to claim 1, characterized in that: The electric heater parameter data includes geometric dimension data and operating condition data of the electric heater, and the material parameters include thermal conductivity, density, specific heat capacity and thermal expansion coefficient of the electric heater.
3. The method for optimizing the mesh of a thermal-fluid-solid simulation model according to claim 1, characterized in that: The method for determining the preset grid size range includes: Analyze the geometric shapes and physical characteristics of each typical part of the electric heater, and determine the grid density coefficient of each typical part according to the analysis results; The preset mesh size range is determined based on the influence coefficient of each typical part on the thermal-fluid-solid coupling effect and the mesh density area.
4. The method for optimizing the mesh of a thermal-fluid-solid simulation model according to claim 1, characterized in that: The method of optimizing the initial grid size set of each typical part of the electric heater by using the multivariate quadratic regression equation and the multi-objective optimization genetic algorithm to obtain the target grid size of each typical part of the electric heater includes: A multivariate quadratic regression equation is used to fit the relationship between the initial grid size set of each typical part of the electric heater and the thermal-fluid-solid simulation analysis result, wherein the multivariate quadratic regression equation includes a linear term of an independent variable, a quadratic term, an interaction term between independent variables, and a dependent variable, wherein the independent variable is the initial grid size of each typical part, and the dependent variable is the temperature or the total number of grids of the thermal-fluid-solid simulation analysis result; Based on the multivariate quadratic regression equation, a multi-objective optimization genetic algorithm is used to take the standard temperature and the total amount of grids as optimization targets, and the initial grid size of each typical part of the heater is optimized through an iterative process to obtain an optimization result; According to the optimization results, a target grid size set of each typical part of the electric heater is determined.
5. The method for optimizing the mesh of a thermal-fluid-solid simulation model according to claim 4, characterized in that: The initial grid size set of each typical part of the electric heater includes the grid size of the fluid at the inlet and outlet, the grid size of the internal fluid sweeping surface, the grid size in the length direction of the cylinder and the internal fluid, and the grid size of the fluid at the support plate.
6. The method for optimizing the mesh of a thermal-fluid-solid simulation model according to claim 1, characterized in that: Also includes: Establishing an electric heater grid optimization database, the electric heater grid optimization database includes simulation data of multiple electric heaters of different models, the simulation data includes first internal diameter data and first internal length data of the electric heater, and a first target grid size set of each typical part of the electric heater; Acquire second inner diameter data and second inner length data of the target electric heater; Based on the second internal diameter data and the second internal length data, interpolation calculation is performed on the first internal diameter data and the first internal length data of electric heaters of different models in the database to obtain a second target grid size set for each typical part of the target electric heater.
7. The method for optimizing the mesh of a thermal-fluid-solid simulation model according to claim 6, characterized in that: The interpolation calculation includes: Selecting simulation data of at least two models of the electric heaters having different first inner diameter data and first inner length data from the electric heater grid optimization database to form a reference data set for interpolation calculation; Select two or more adjacent first internal diameter data and second internal length data of the electric heater in the reference data set as basic data points for interpolation calculation, use an interpolation calculation algorithm, perform interpolation calculation between the basic data points based on the second internal diameter data and the second internal length data, and determine the second grid size set of typical parts of the target electric heater.
8. The method for optimizing the mesh of a thermal-fluid-solid simulation model according to claim 7, characterized in that: The interpolation calculation also includes: Determine first internal volume data corresponding to the first internal diameter data and the first internal length data based on simulation data of at least two models of the electric heater having different first internal diameter data and first internal length data selected from the electric heater grid optimization database; determining second internal volume data based on the second internal diameter data and the second internal length data; Obtaining a second target grid size set for each typical part of the target electric heater based on a quadratic interpolation equation; The formula of the quadratic interpolation equation is: Y=OFF 2 +BV+C; Among them, Y represents the second target grid size set, A represents the quadratic term coefficient, B represents the one-time coefficient, C is a constant, and V represents the second internal volume data.
9. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the thermal-fluid-solid simulation model mesh optimization method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the thermal-fluid-solid simulation model grid optimization method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Diesel engine rapid cold start electric glow plug design method and system
CN120654346A
Design method and system for fast cold start electric preheating of diesel engine
CN120654346B
