Method, device, equipment and storage medium for processing numerical value of jet orifice of engine combustion chamber
Technical Field
The invention relates to the field of fluid mechanics, in particular to the field of flow combustors, and in particular relates to a method, a device, equipment and a storage medium for processing a numerical value of an injection hole of an engine combustion chamber.
Background
With the rapid development of computer technology, a numerical simulation method becomes an important research tool in the field of fluid mechanics. The numerical simulation method commonly used in computational fluid dynamics mainly comprises three types, namely Direct Numerical Simulation (DNS) for directly solving all-scale fluid dynamics, large vortex simulation (LES) for directly solving large-scale motion, modeling processing only on small-scale pulsation, better resolution and moderate calculated amount, and Reynolds average simulation (RANS) for modeling and solving all-scale motion, wherein the calculated amount is minimum. Based on the above characteristics, high-precision LES has become the dominant method for aircraft development, especially for research on flow combustion mechanism.
When the above numerical simulation is performed on the physical process of fuel injection in the combustion chamber of the engine, it is necessary to perform the gridding processing on the numerical simulation calculation domain determined by the actual configuration of the combustion chamber of the engine, and particularly, the gridding numerical processing result of the injection holes has an important influence on the flow control numerical simulation effect of the fuel injection.
Gridding numerical processing generally includes structured grid processing and unstructured grid processing. A structural grid means that all internal points within the grid area have the same contiguous cells. Compared with the unstructured grid, the grid nodes of the structured grid can be stored in a two-dimensional or three-dimensional array mode without additionally storing the connection relation among different grid nodes, and the structured grid has the advantages of simple data structure, high grid generation speed, good general grid quality and suitability for the conditions of higher calculation accuracy requirements such as surface friction resistance, surface heat flow and the like. Particularly, in order to match the requirements of LES numerical simulation methods for high-precision requirements on high-precision numerical formats, structural grids are mostly adopted.
At present, the spray hole is used as a common fuel adding means of an internal combustion engine of an engine, and has various shapes, such as rectangle, ellipse, circle, petal shape and the like, and the most common spray hole in practical application is circular. For the calculation domain of the circular spray hole part, when the structural grid is processed, as shown in fig. 2, the numerical processing is generally carried out by drawing a 0-type grid with 5 sub-partitions, the middle rectangular sub-partition is taken as the center, the other four fan-shaped sub-partitions are distributed around, each sub-partition is divided by an integer boundary condition, when the boundary condition is updated in the subsequent numerical simulation solving process, the grid is assigned, and the assigned parameters are determined by the physical quantities such as the density, the speed, the pressure and the like of the given fuel spray hole.
In the method for processing the numerical value of the spray hole, in order to maintain the characteristic of the structural grid, the spray hole is generally divided into a plurality of sub-subareas, the direction matching property of the subarea grids is required to be processed finely, so that the grid drawing is more complicated and is not suitable for the situation of a plurality of spray holes or more complicated shapes, the orthogonality of the grids is difficult to ensure at the junction of the subarea boundaries of the grid of the spray hole calculation domain, the quality of a numerical value solution with high precision is influenced, furthermore, the relevance between the type of the grid of the spray hole and the adjacent grid is very strong, when the spray hole is transferred in the application situation similar to the dimensional change and the like, the grid of the whole calculation domain is required to be drawn again, so that the universality of the grid division in the method for processing the numerical value of the spray hole is not strong, and when the large-scale parallel calculation processing is carried out, the grid of the spray hole is generally required to be positioned in the same subarea, the boundary condition processing is convenient to develop, the grid subarea is additionally restrained, and the subarea difficulty in parallel calculation is improved. Therefore, the spray hole numerical processing method which is lower in grid drawing complexity, has grid division universality and grid numerical solving quality and is easier in partition processing is provided, and is a problem to be solved by a person skilled in the art.
Disclosure of Invention
In view of the above, in order to solve the problems in the prior art, the invention provides a method, a device, equipment and a storage medium for processing the numerical value of the nozzle of the combustion chamber of an engine, which are used for improving the universality of a grid dividing method in numerical simulation and the precision quality of grid numerical simulation on the basis of reducing the complexity of a numerical simulation algorithm.
A method for processing the numerical value of the jet orifice of the combustion chamber of an engine comprises the following specific technical scheme:
Step S1000, performing space structure modeling on an engine combustion chamber to be subjected to numerical simulation to obtain a three-dimensional configuration of the engine combustion chamber, wherein the engine combustion chamber comprises spray holes for fuel injection;
step S1100, gridding the three-dimensional configuration of the engine combustion chamber to obtain a structural grid of the three-dimensional configuration of the engine combustion chamber, partitioning the structural grid, and recording and storing node data of all partitioned grids;
Step 1200, judging and screening a partition containing grid nodes of spray holes and grid nodes falling into the range of the spray holes in the partition based on a hierarchical comparison screening correction method, and identifying the partition and the grid nodes which are applicable to physical boundary conditions of the spray holes in a structural grid according to the partition, wherein the hierarchical comparison screening correction method carries out data screening and identification correction by respectively setting a first judgment parameter for partition judgment and a second comparison judgment parameter for grid node judgment and setting a two-dimensional parameter correction array;
Step S1300, based on the structural grids and the partitions and numerical processing and boundary conditions at the spray holes, numerical simulation flow field updating and iterative calculation are carried out, and numerical simulation of fuel injection of the combustion chamber is achieved.
Specifically, in step S1000, the engine combustion chamber further includes a cavity for promoting mixing and improving flame holding capability, and a combustion chamber inlet, a combustion chamber outlet, an upper wall surface, a lower wall surface, a front side wall surface, and a rear side wall surface.
In step S1100, the structural grid is a rectangular grid, and the partition mode of rectangular division of the structural grid ensures that the number of grids contained is equal or the number difference of grids of each partition is within a set range, so that the calculation load of each partition is basically balanced,And each partition is a three-dimensional hexahedral space.
Preferably, in step S1200, the hierarchical contrast screening correction method specifically includes:
Step S1210, respectively including the grid nodes of the spray holes and the first grid node of the spray holes The identification result of grid nodes falling into the range of the spray holes in each subarea is recorded in a one-dimensional arrayAnd three-dimensional arrayAll initial values of all the components thereof are set to 0;
step S1220, by calculating the first layer comparison evaluation parameters Judging the value of (1)If the bottom surfaces of the partitions and the spray holes are positioned in the same space plane, ifThen the two planes fall into the same plane to execute the next step S1230, if soIf the partitions do not fall into the same plane, the following steps are not executed, and step S1220 is executed again for the next partition;
Step S1230, judge the Whether the grid node in each subarea is the grid node in the spray hole grid or not and is opposite toThe recording of the correction data of (1) specifically includes:
step S1231, setting a second layer comparison judgment parameter according to the coordinate information Determining the firstWhether the grid node in each partition falls into the plane of the grid of the spray holes or not, if soIf the grid node falls into the plane where the grid of nozzle holes is located, the next step S1232 is executed, if yesThen the loop is jumped out, the step returns to the step S1231, and the judgment of the next grid node in the same partition is executed;
step S1232, setting a two-dimensional parameter correction array For marking whether the grid node on the same plane with the spray hole grid falls into the spray hole range, ifThe grid node falls into the range of the spray hole, ifThe grid node does not fall into the range of the spray holes and is not the grid node in the spray hole grid, andCorresponding to the value correction of the grid node of the same plane as the grid of the spray holesA value;
Step S1240, using the two-dimensional array data CorrectionIs assigned to the value of (a);
Step S1250, according to the data after the numerical processing and the correction adjustment, including the corrected data obtained in step S1240 Corrected obtained in step S1232Value whenAnd is also provided withWhen in use, thenThe boundary conditions of the grid nodes at the locations are adapted to the physical boundary conditions at the nozzle holes.
Preferably, an integer index is usedCalibrating grid nodes atThe position in the partition, the first layer in step S1220 compares the evaluation parametersGiven by the formula:
Wherein, Is the firstThe partitions are in three-dimensional coordinate spaceMiddle grid nodeIs defined by the spatial coordinates of (a),Is the center coordinates of the circular spray holes; Wherein ,,Respectively represent the firstThe partitions are alongTotal number of structural grid nodes contained in three directions.
Preferably, in step S1231, the method is used for determining the first stepIn individual partitionsComparing and judging parameters of second layer of whether the position grid node falls into plane of the spray hole gridSpecifically, the following formula is given:
Preferably, in step S1232, the method is used for identifying the first Two-dimensional parameter correction array for judging whether grid nodes positioned on same plane with spray hole grids in each partition fall into spray hole range or notGiven by the following formula:
By using Corresponding to the value correction of the nozzle grid grid nodes located on same planeA kind of electronic deviceThe value, correction procedure is given by:
。
Preferably, in step S1240, the two-dimensional array data is utilized CorrectionThe specific correction formula of (2) is as follows:
In another embodiment, the method for processing the numerical value of the nozzle of the combustion chamber of the engine designs a layering comparison screening correction method with different first comparison judgment parameters, second layer comparison judgment parameters and two-dimensional parameter correction arrays according to different combustion chamber structures and different nozzle position settings, and judges and marks the partition containing the nozzle grid node and the grid node falling into the nozzle range in the partition.
The invention also protects a device for processing the numerical value of the jet orifice of the combustion chamber of the engine, which comprises:
The system comprises a first module, a spatial configuration module and a second module, wherein the spatial configuration module is used for carrying out spatial structure modeling on an engine combustion chamber to be subjected to numerical simulation to obtain a three-dimensional configuration of the engine combustion chamber, and the engine combustion chamber comprises spray holes for fuel injection;
the second module, structural grid and partition module is used for gridding the three-dimensional configuration of the engine combustion chamber to obtain the structural grid of the three-dimensional configuration of the engine combustion chamber, carrying out rectangular partition on the structural grid, and recording and storing node data of all partition grids;
The third module is used for judging and screening partitions containing grid nodes of the spray holes, and grid nodes falling into the range of the spray holes in the partitions, and marking the partitions and the grid nodes which are applicable to physical boundary conditions at the spray holes in the structural grids according to the partitions and the grid nodes, wherein the hierarchical comparison screening correction method is used for carrying out data screening and identification correction by respectively setting a first judgment parameter for partition judgment and a second comparison judgment parameter for grid node judgment, and setting a two-dimensional parameter correction array;
and the fourth module is used for carrying out numerical simulation flow field updating and iterative calculation based on the numerical processing and boundary conditions at the structural grid and the partition and the spray holes so as to realize the numerical simulation of the fuel injection of the combustion chamber.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
Step S1000, performing space structure modeling on an engine combustion chamber to be subjected to numerical simulation to obtain a three-dimensional configuration of the engine combustion chamber, wherein the engine combustion chamber comprises spray holes for fuel injection;
step S1100, gridding the three-dimensional configuration of the engine combustion chamber to obtain a structural grid of the three-dimensional configuration of the engine combustion chamber, partitioning the structural grid, and recording and storing node data of all partitioned grids;
Step 1200, judging and screening a partition containing grid nodes of spray holes and grid nodes falling into the range of the spray holes in the partition based on a hierarchical comparison screening correction method, and identifying the partition and the grid nodes which are applicable to physical boundary conditions of the spray holes in a structural grid according to the partition, wherein the hierarchical comparison screening correction method carries out data screening and identification correction by respectively setting a first judgment parameter for partition judgment and a second comparison judgment parameter for grid node judgment and setting a two-dimensional parameter correction array;
Step S1300, based on the structural grids and the partitions and numerical processing and boundary conditions at the spray holes, numerical simulation flow field updating and iterative calculation are carried out, and numerical simulation of fuel injection of the combustion chamber is achieved.
A storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Step S1000, performing space structure modeling on an engine combustion chamber to be subjected to numerical simulation to obtain a three-dimensional configuration of the engine combustion chamber, wherein the engine combustion chamber comprises spray holes for fuel injection;
step S1100, gridding the three-dimensional configuration of the engine combustion chamber to obtain a structural grid of the three-dimensional configuration of the engine combustion chamber, partitioning the structural grid, and recording and storing node data of all partitioned grids;
Step 1200, judging and screening a partition containing grid nodes of spray holes and grid nodes falling into the range of the spray holes in the partition based on a hierarchical comparison screening correction method, and identifying the partition and the grid nodes which are applicable to physical boundary conditions of the spray holes in a structural grid according to the partition, wherein the hierarchical comparison screening correction method carries out data screening and identification correction by respectively setting a first judgment parameter for partition judgment and a second comparison judgment parameter for grid node judgment and setting a two-dimensional parameter correction array;
Step S1300, based on the structural grids and the partitions and numerical processing and boundary conditions at the spray holes, numerical simulation flow field updating and iterative calculation are carried out, and numerical simulation of fuel injection of the combustion chamber is achieved.
In summary, the invention provides a method, a device, equipment and a storage medium for processing the numerical value of the spray hole adopted in the numerical simulation process of the fuel injection physical process of the engine combustion chamber, and compared with the prior art, the invention has the advantages and beneficial effects that:
1. The method has the advantages of simple operation, good stability, high precision, high convergence speed and the like, effectively reduces the complexity of grid drawing in the numerical simulation process, and most effectively ensures the orthogonality of the partition boundaries of all grid nodes, particularly the calculation domains of the spray hole parts by matching with the rectangular partition mode.
2. The structural grid and rectangular partition mode ensures that the spray hole area adopts the grid partition mode with the same position as other combustion chambers, and the partition of the spray hole grid does not need special treatment, so that the grid partition is simpler compared with the prior art.
3. When special physical boundary conditions of the spray holes are processed, data screening and identification correction are carried out by respectively setting a first comparison judgment parameter, a second comparison judgment parameter and a two-dimensional parameter correction array on a partition layer and a grid node layer, so that a hierarchical comparison screening correction method is designed, compared with the prior art and a conventional traversal algorithm, the data volume of numerical processing is greatly reduced, the time complexity of the algorithm is reduced, and the data processing efficiency and the precision quality are improved.
Drawings
FIG. 1 is a flow chart of a method of engine combustion chamber orifice value processing in one embodiment;
FIG. 2 is a schematic diagram of a prior art grid and partition of a 0-type structure drawn for circular orifices;
FIG. 3 is a schematic illustration of a ramjet combustion chamber configuration in one embodiment;
FIG. 4 is a schematic illustration of an engine combustion chamber partitioned in one embodiment;
FIG. 5 is a schematic diagram of rectangular structural meshing of engine combustion chambers in one embodiment;
FIG. 6 is a schematic diagram of a possible zone boundary and grid of a nozzle local area in one embodiment;
FIG. 7 is a schematic illustration of a partial region of an orifice in an embodiment AndThe results are identified.
The reference numerals in fig. 1 to 6 illustrate that 1 is a ramjet combustion chamber, 2 is a combustion chamber nozzle, 3 is a cavity of the combustion chamber, 4 is a combustion chamber inlet, 5 is a combustion chamber outlet, 6 is an upper wall surface, 7 is a lower wall surface, 8 is a front side wall surface, and 9 is a rear side wall surface.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a numerical processing method of jet orifices of an engine combustion chamber, which is used for obtaining a better numerical simulation effect of fuel injection flow control by carrying out effective structural gridding numerical processing on jet orifices of the combustion chamber when carrying out numerical simulation on the fuel injection process of the engine combustion chamber.
Referring to fig. 1, in one embodiment, there is provided a method for processing the values of injection holes of an engine combustion chamber, which is described by taking as an example the application of the method to a ramjet engine combustion chamber 1 in fig. 3, and includes the steps of:
Step S1000, performing space structure modeling on an engine combustion chamber 1 to be subjected to numerical simulation to obtain a three-dimensional configuration of the engine combustion chamber, wherein the engine combustion chamber 1 comprises spray holes 2 for fuel injection;
step S1100, gridding the three-dimensional configuration of the engine combustion chamber to obtain a structural grid of the three-dimensional configuration of the engine combustion chamber, partitioning the structural grid, and recording and storing node data of all partitioned grids;
Step 1200, judging and screening a partition containing grid nodes of spray holes and grid nodes falling into the range of the spray holes in the partition based on a hierarchical comparison screening correction method, and identifying the partition and the grid nodes which are applicable to physical boundary conditions of the spray holes in a structural grid according to the partition, wherein the hierarchical comparison screening correction method carries out data screening and identification correction by respectively setting a first judgment parameter for partition judgment and a second comparison judgment parameter for grid node judgment and setting a two-dimensional parameter correction array;
Step S1300, based on the structural grids and the partitions and numerical processing and boundary conditions at the spray holes, numerical simulation flow field updating and iterative calculation are carried out, and numerical simulation of fuel injection of the combustion chamber is achieved.
Specifically, in step S1000, as shown in fig. 3, the engine combustion chamber 1 further includes a cavity 3 for promoting mixing and improving flame stabilization, and a combustion chamber inlet 4, a combustion chamber outlet 5, an upper wall 6, a lower wall 7, a front wall 8, and a rear wall 9.
Further, in step S1100, the process of obtaining the structural grid includes using Pointwise and other grid processing software, as shown in FIG. 4 and FIG. 5, the structural grid is rectangular, the partition mode of rectangular partition of the structural grid ensures that the number of the included grids is equal or the number of the grids of each partition is different within a set range, so that the calculation load of each partition is basically balanced, and the partition numbers,As a total number of partitions,Each partition is a three-dimensional hexahedral space.
Preferably, in order to meet the requirement of numerical simulation on high-precision numerical solution, in general, the local area encryption processing of the spray holes of the structural grids is performed so that the number of grids in the spray holes is not less than 50.
Preferably, step S1200 determines and screens the first by designing a hierarchical alignment screening correction methodGrid nodes falling into the range of the spray holes in each partition, and judging the first grid in the structural gridThe specific numerical value processing and judging process of the hierarchical comparison screening correction method comprises the following steps of:
step S1210, storing and recording the identification result of whether all partitions contain the grid nodes of the spray holes in the one-dimensional array ,If (if)Represents the firstEach partition contains grid nodes within the range of the nozzle holes,Does not include, will be the firstThe identification result of whether all grid nodes in each subarea fall into the range of the spray hole is stored in a three-dimensional arrayWherein the integer indexFor calibrating the position of grid nodes in the subareasAnd (3) withEach of the parameters of (a)AndSetting an initial value to 0;
Step S1220, defining a first layer comparison parameter By calculation ofJudging whether the bottom surface of the partition and the spray hole are positioned in the same space plane or not; then the two planes fall into the same plane, and the next step S1230 is executed; If the partitions do not fall into the same plane, the following steps are not executed, and the next partition is skipped to S1220 for re-judgment;
Step S1230, judge the Whether the grid node in each subarea is the grid node in the spray hole grid or not and is opposite toThe recording of the correction data of (1) specifically includes:
step S1231, judging the partition according to the coordinate information Whether the grid node on the position falls into the plane of the grid of the spray holes, wherein,,,Respectively represent the firstThe partitions are alongThe total number of the structural grid nodes contained in the three directions; setting second layer comparison and judgment parametersIf (if)If the grid node falls into the plane where the grid of nozzle holes is located, the next step S1232 is executed, if yesThen the loop is jumped out, the step returns to the step S1231, and the judgment of the next grid node in the same partition is executed;
Step S1232, the grid nodes screened in step S1231 are in the same plane with the grid of the spray holes, and can be eliminated Information about the direction interferes, thus defining a two-dimensional parameter correction arrayFor marking whether the grid node on the same plane with the spray hole grid falls into the spray hole range, ifThe grid node falls into the range of the spray hole, ifThe grid node does not fall into the range of the spray holes and is not the grid node in the spray hole grid, andCorresponding to the value correction of the grid node of the same plane as the grid of the spray holesA value;
Step S1240, using the two-dimensional array data CorrectionThe specific correction formula is:
(1)
Step S1250, according to the data after the numerical processing and the correction adjustment, including the corrected data obtained in step S1240 Corrected obtained in step S1232As shown in FIG. 7, in one embodiment, a partial region of the orifice is shownAndMarking the result, in the figureI.e. representative ofWhen (when)And is also provided withWhen, then the grid nodeThe boundary conditions at which are applicable to the physical boundary conditions at the nozzle holes.
Specifically, in step S1200, the boundary conditions applicable to the mesh node include a solid wall boundary, an internal boundary, and an orifice boundary. The solid wall boundary is a solid surface which is a cavity surrounded by the combustion chamber of the whole engine, and specifically comprises a concave cavity solid wall surface, an upper wall surface, a lower wall surface, a front side wall surface and a rear side wall surface of the combustion chamber, and the internal boundary is a non-solid boundary which is generated by reflecting the physical combustion process of fuel and partition inside the combustion chamber. Taking the partition of the nozzle as an example, one possible partition is shown in fig. 6, where the front and rear surfaces and the bottom surface of the six surfaces of the partition are solid wall boundaries, and the other three surfaces are defined as internal boundaries, and the nozzle itself is adapted to the nozzle boundary conditions.
Preferably, in step S1220, the first layer is compared with the judging parameters directly through coordinate comparisonCarry out assignment, specifically, set up the firstIn individual partitionsThe grid node space coordinates at the position areIf the center coordinates of the circular spray hole areThen
(2)
Similarly, in step S1231, by comparisonCoordinates of directionsAnd (3) withAnd (5) judging whether the grid node falls into the plane where the spray hole grid is located or not:
(3)
preferably, the correction array in the step S1232 is utilized RecordingAll grid nodes satisfying the above formula (3) in the partition fall into the range of the nozzle holes, specifically,
(4)
Further, the above is utilizedFor a pair ofThe correction is performed so that the correction is performed,
(5)
The method for processing the spray hole numerical value adopted in the numerical simulation process of the engine combustion chamber adopts a rectangular gridding structural grid mode and a rectangular partition mode, ensures orthogonality of partition boundaries of all grid nodes, particularly the spray hole part calculation domain in an optimal mode, and can perform fineness segmentation and partition division with enough precision requirements, so that the method has the advantages of good stability, high precision, high convergence speed and the like, effectively reduces the complexity of grid drawing in the numerical simulation process, effectively improves the universality of an algorithm due to the simple gridding process and partition mode, and does not need special processing due to the fact that the spray holes adopt the grid partition mode with the same positions as other combustion chambers.
Particularly, when special physical boundary conditions of the spray holes are processed, a layering comparison screening correction method is designed in the numerical processing process of the spray holes, and the method specifically comprises steps S1210-S1250, compared with a direct traversal algorithm, the method greatly reduces the time complexity of the algorithm, and can effectively improve the running efficiency and the running accuracy of numerical simulation. The process of hierarchical alignment screening specifically includes the steps of comparing the judgment parameters through the first layer in step S1220Judging whether the bottom surface of each subarea is positioned in the same space plane with the spray holes, screening all subareas of which the bottom surfaces are positioned in the same space plane with the spray holes, and comparing the judging parameters through the second layer in step S1231Value judgment partitionMiddle grid nodeWhether to fall into the plane of the grid of spray holes, screening partitionsAll the grid nodes falling into the plane of the spray hole grid.
In another embodiment, the type of engine combustion chamber suitable for use may vary, such as the main structure of the combustion chamber, and the placement of the nozzle locations. The adopted nozzle numerical value processing method is unchanged from the basic process of the nozzle numerical value processing method in the previous embodiment, and specifically, in the steps S1220-S1240, the evaluation data is subjected to hierarchical comparison evaluation and screening, and when a two-dimensional correction array is selected for data correction, different evaluation parameters and correction parameter formulas (2) - (5) need to be designed according to specific conditions. The same advantageous effects as in the previous embodiment can be obtained in the specific case as well.
In one embodiment, an engine combustion chamber spray orifice value processing device is provided, which comprises a space configuration module, a structural grid and partition module, a judgment identification module and a fuel injection value simulation module, wherein:
the system comprises a first module, a spatial configuration module, a second module, a third module and a fourth module, wherein the spatial configuration module is used for carrying out spatial structure modeling on an engine combustion chamber to be subjected to numerical simulation to obtain a three-dimensional configuration of the engine combustion chamber, and the engine combustion chamber comprises spray holes for fuel injection;
The second module is used for gridding the three-dimensional configuration of the engine combustion chamber to obtain a structural grid of the three-dimensional configuration of the engine combustion chamber, carrying out rectangular partition on the structural grid, and recording and storing node data of all the partition grids;
The third module is used for judging and screening partitions containing grid nodes of the spray holes, and grid nodes falling into the range of the spray holes in the partitions, and identifying the partitions and the grid nodes which are applicable to physical boundary conditions at the spray holes in the structural grid according to the partitions and the grid nodes, wherein the hierarchical comparison screening correction method is used for carrying out data screening and identification correction by respectively setting a first judgment parameter for partition judgment and a second comparison judgment parameter for grid node judgment, and setting a two-dimensional parameter correction array;
And the fourth module is a fuel injection numerical simulation module which is used for carrying out numerical simulation flow field updating and iterative calculation based on numerical processing and boundary conditions at the structural grid and the partition and the spray holes so as to realize the numerical simulation of the fuel injection of the combustion chamber.
In one embodiment, a computer device, which may be a server, is provided that includes a processor, a memory, a grid interface, and a database connected by a system bus. Wherein the processor of the device is configured to provide computing and control capabilities. The memory of the device includes a non-volatile storage medium, an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the device is used for storing the numerical processing data of the injection holes of the combustion chamber of the engine. The mesh interface of the device is used for communicating with an external terminal through a mesh connection. The computer program when executed by a processor implements a method for processing values of injection holes of a combustion chamber of an engine.
It will be appreciated by those skilled in the art that the description of the technical features of the apparatus in the above embodiments does not constitute a limitation on all apparatuses to which the present invention is applied, and that a particular apparatus may include more or fewer components, or may combine certain components, or have different arrangements of components.
In one embodiment, a storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Step S1000, performing space structure modeling on an engine combustion chamber to be subjected to numerical simulation to obtain a three-dimensional configuration of the engine combustion chamber, wherein the engine combustion chamber comprises spray holes for fuel injection;
step S1100, gridding the three-dimensional configuration of the engine combustion chamber to obtain a structural grid of the three-dimensional configuration of the engine combustion chamber, partitioning the structural grid, and recording and storing node data of all partitioned grids;
Step 1200, judging and screening a partition containing grid nodes of spray holes and grid nodes falling into the range of the spray holes in the partition based on a hierarchical comparison screening correction method, and identifying the partition and the grid nodes which are applicable to physical boundary conditions of the spray holes in a structural grid according to the partition, wherein the hierarchical comparison screening correction method carries out data screening and identification correction by respectively setting a first judgment parameter for partition judgment and a second comparison judgment parameter for grid node judgment and setting a two-dimensional parameter correction array;
Step S1300, based on the structural grids and the partitions and numerical processing and boundary conditions at the spray holes, numerical simulation flow field updating and iterative calculation are carried out, and numerical simulation of fuel injection of the combustion chamber is achieved.
Those skilled in the art will appreciate that all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware, where the computer program may be stored on a non-volatile computer readable storage medium, and where the computer program may include the steps of the above-described embodiments of the methods when executed.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present invention, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of the invention should be assessed as that of the appended claims.