A reciprocating motion mechanical dynamic grid flow field reconstruction method, device, medium and product

By aligning the spatial position and motion phase of the reciprocating mechanical dynamic mesh flow field, and combining POD decomposition and adaptive mode number adjustment, the problem of unified alignment and error feedback of flow field results under multiple operating conditions is solved, achieving efficient order reduction reconstruction and error diagnosis.

CN123069977APending Publication Date: 2026-11-10BEIJING UNIV OF CHEM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611350037.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing technologies are insufficient to meet the requirements of unified alignment, order reduction reconstruction, and error feedback for dynamic mesh flow fields in reciprocating mechanical systems under multiple operating conditions. In particular, under conditions of mesh deformation and phase difference, it is impossible to effectively perform synchronous comparison of flow field results and error diagnosis.

Method used

By establishing a frame index, the CFD full-field results under different operating conditions and motion phases are unified into a reference spatial location set and a common motion phase grid. Spatial location and motion phase are aligned, a snapshot matrix is ​​constructed and POD decomposition is performed. Combined with adaptive retention mode number and local error threshold, reconstructed flow field results and error characterization are generated.

Benefits of technology

It achieves unified alignment and order reduction reconstruction of the dynamic mesh flow field of reciprocating mechanical motion under the same spatial reference, improves the reliability of error diagnosis and parameter feedback, and balances the reconstruction accuracy of key phases and overall computational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123069977A_ABST
    Figure CN123069977A_ABST
Patent Text Reader

Abstract

The application discloses a reciprocating mechanical moving grid flow field reconstruction method, device, medium and product, relates to the technical field of computational fluid dynamics data processing and flow field order reduction reconstruction, and establishes a frame index based on a moving grid CFD full field result, unifies CFD full field results under different operation conditions and different motion phases to a reference space position set and a common motion phase grid, and obtains reference snapshot data through space position alignment and motion phase alignment; adaptive reserved modal numbers under different motion phases are determined based on a preset local error threshold and an initial reconstruction error; the reference snapshot data, the reconstruction full field result and an error field determined by the reconstruction error are mapped to the same template to generate real result representation, reconstruction result representation and error representation result, and a reciprocating mechanical moving grid flow field is reconstructed, thereby meeting the needs of reciprocating motion, order reduction reconstruction and error feedback.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computational fluid dynamics data processing and flow field order reduction and reconstruction technology, and in particular to a method, device, medium and product for reciprocating mechanical dynamic mesh flow field reconstruction. Background Technology

[0002] Reciprocating mechanical equipment typically has periodic motion boundaries or moving parts during operation, and its internal flow field continuously changes with the motion phase. Computational Fluid Dynamics (CFD) simulations can obtain full-field results such as pressure, temperature, and velocity fields under different operating conditions and motion phases. However, this type of data is usually characterized by high dimensionality, many frames, significant mesh changes, and high post-processing costs, making it inefficient for direct use in multi-operating-condition comparisons, order reduction reconstruction, and error evaluation.

[0003] In existing technologies, some solutions employ Proper Orthogonal Decomposition (POD) to perform singular value decomposition on flow field snapshots to obtain low-dimensional basis functions, and then combine this with neural networks to predict low-dimensional features. Other solutions combine POD, deep learning, and Gappy POD to solve for modal coefficients using sensor observations and neural network predictions, thereby achieving flow field completion or reconstruction. Still other solutions combine POD with dynamic mode decomposition to perform dimensionality reduction and reconstruction of the initial flow field and transfer matrix of the moving flow field, and combine this with surrogate models to achieve flow field time series prediction.

[0004] While the aforementioned schemes can achieve a certain degree of flow field order reduction, reconstruction, or rapid prediction, their technical focus lies in predicting low-dimensional features of general fluid flow, completing flow fields under sensor observation conditions, and time-series forecasting of general moving flow fields, respectively. These methods typically assume a consistent or directly corresponding spatial discretization relationship between different snapshots, or primarily focus on modal coefficient prediction and time-series extrapolation itself. They do not consider the mesh deformation within the moving mesh of reciprocating mechanical equipment regarding the overall fluid dynamics field results, phase sampling differences under multiple operating conditions, and the concentration of errors in key motion phases. Therefore, they struggle to meet the requirements for unified alignment, order reduction reconstruction, and error feedback of the moving mesh flow field in reciprocating mechanical equipment. Summary of the Invention

[0005] The purpose of this application is to provide a method, device, medium, and product for reconstructing the dynamic mesh flow field of reciprocating mechanical motion, so as to solve the problem that the existing technology cannot meet the needs of unified alignment, order reduction reconstruction, and error feedback of the dynamic mesh flow field of reciprocating mechanical motion.

[0006] To achieve the above objectives, this application provides the following solution: Firstly, this application provides a method for reconstructing the dynamic mesh flow field of reciprocating mechanical motion, including: Obtain the full-field results of the dynamic mesh CFD, and establish a frame index based on the full-field results of the dynamic mesh CFD; Based on the frame index, the CFD full-field results of reciprocating mechanical equipment under different operating conditions and different motion phases are unified into a reference spatial position set and a common motion phase grid. Reference snapshot data is obtained through spatial position alignment and motion phase alignment. Based on the reference snapshot data, a snapshot matrix of the physical field is constructed to obtain the mean field, POD mode basis, and cumulative mode energy retention rate of the corresponding physical field. Based on the mean field and POD mode basis, the initial reconstructed full field result is determined according to the initial retained mode number; The initial reconstruction error is calculated based on the reference snapshot data and the initial reconstruction full-field results; The number of adaptive modes to be retained for the corresponding motion phase is determined based on the comparison relationship between the preset local error threshold and the initial reconstruction error, and the reconstruction result and reconstruction error are determined based on the number of adaptive modes to be retained. The reference snapshot data, the reconstructed full-field result, and the error field determined by the reconstruction error are mapped to the same template to reconstruct the reciprocating mechanical dynamic mesh flow field, generating the real result representation, the reconstruction result representation, and the error representation result.

[0007] In a second aspect, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the reciprocating motion mechanical dynamic mesh flow field reconstruction method described in any one of the above.

[0008] Thirdly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the reciprocating motion mechanical dynamic mesh flow field reconstruction method described above.

[0009] Fourthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the reciprocating motion mechanical dynamic mesh flow field reconstruction method described above.

[0010] According to the specific embodiments provided in this application, the following technical effects are disclosed: This application provides a method, device, medium, and product for reconstructing the flow field of a reciprocating mechanical moving mesh. It establishes a frame index based on the full-field CFD results of the moving mesh, unifying the full-field CFD results under different operating conditions and motion phases into a reference spatial location set and a common motion phase mesh. Reference snapshot data is obtained through spatial location alignment and motion phase alignment, ensuring that each snapshot corresponds in spatial location and motion phase, avoiding snapshot misalignment caused by moving mesh deformation, mesh reconstruction, or inconsistent sampling angles. An adaptive number of modes to be retained under different motion phases is determined based on a preset local error threshold and the initial reconstruction error, balancing the reconstruction accuracy of key phases with overall computational efficiency. The reference snapshot data, the reconstructed full-field results, and the error field determined by the reconstruction error are mapped to the same template to generate a representation of the true result, a representation of the reconstructed result, and an error representation. This allows for synchronous comparison of the true result, the reconstructed result, and the error distribution under the same spatial reference, improving the reliability of error diagnosis and parameter feedback adjustment, thereby meeting the needs of reciprocating motion, order reduction reconstruction, and error feedback. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This application provides a schematic flowchart of a method for reconstructing a dynamic mesh flow field in a reciprocating motion machine, as an embodiment of the present application. Figure 2 A schematic diagram of a reciprocating compressor structure and a dynamic mesh CFD calculation object provided in an embodiment of this application; Figure 2 (a) in the diagram is a three-dimensional model structure diagram; Figure 2 (b) in the figure is a cross-sectional view of the intake valve; Figure 3 A schematic diagram showing the correspondence between frame indexes and motion phase parameters of the original CFD results under multiple operating conditions provided in an embodiment of this application; Figure 4 This is a schematic diagram illustrating the mapping of different dynamic mesh snapshots to a unified reference spatial location set according to an embodiment of this application; Figure 5 This is a schematic diagram of a common motion phase mesh formation method provided in an embodiment of this application; Figure 6 A schematic diagram illustrating the construction of snapshot matrices and POD decomposition of the pressure field, temperature field, and velocity component field according to an embodiment of this application; Figure 7A schematic diagram of a low-dimensional projection and back-substitution reconstruction process based on a fixed mean field and POD mode basis provided in an embodiment of this application; Figure 8 A velocity field correlation contour map provided in an embodiment of this application; Figure 8 (a) in the figure is a CFD contour plot of the velocity field; Figure 8 (b) in the diagram is a reconstructed contour plot of the velocity field; Figure 8 (c) in the diagram represents the relative error field contour plot of the velocity field; Figure 9 Temperature field correlation cloud map provided for one embodiment of this application; Figure 9 (a) in the figure is a CFD contour plot of the temperature field; Figure 9 (b) in the figure is a reconstructed contour map of the temperature field; Figure 9 (c) in the figure is the relative error field contour map of the temperature field; Figure 10 A pressure field correlation cloud map provided for an embodiment of this application; Figure 10 (a) in the figure is a CFD contour plot of the pressure field; Figure 10 (b) in the diagram is a reconstructed contour plot of the pressure field; Figure 10 (c) in the figure is the relative error field contour map of the pressure field; Figure 11 This is a schematic diagram of a reconstruction error evaluation curve provided in an embodiment of this application; Figure 11 (a) in the figure is the pressure field error diagram; Figure 11 (b) in the figure is the temperature field error diagram; Figure 11 (c) in the diagram represents the velocity field error. Figure 12 This is a schematic diagram of the key motion event interval and phase adaptive mode number allocation provided in an embodiment of this application; Figure 13 This is a schematic diagram of a velocity field phase adaptive POD reconstruction process provided in an embodiment of this application; Figure 14 This is a schematic diagram comparing the errors of fixed mode number reconstruction and phase adaptive mode number reconstruction provided in an embodiment of this application; Figure 15 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0013] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0014] For reciprocating mechanical equipment, the moving parts change periodically with the crankshaft angle or equivalent motion phase. Dynamic mesh deformation, local mesh reconstruction, and phase sampling differences under multiple operating conditions make it difficult to directly correspond the spatial position and motion phase between different snapshots. If the POD snapshot matrix is ​​directly constructed without spatial and motion phase alignment, non-physical errors caused by mesh position differences and phase misalignment can easily be mixed into the POD modes. If a fixed number of modes is retained throughout the entire cycle, increased local reconstruction errors can easily occur in key motion phases such as opening / closing, limiting, return, reseating, sudden changes in channel opening, or sudden changes in the local flow field. Therefore, existing technologies lack a unified reference spatial position mapping for dynamic mesh snapshots, lack common motion phase alignment under multiple operating conditions, and lack a mode number feedback adjustment mechanism for local errors in key motion phases. These limitations make it difficult to meet the requirements for unified alignment, order reduction reconstruction, and error evaluation of the dynamic mesh flow field in reciprocating mechanical equipment. It is necessary to uniformly organize and perform order reduction reconstruction of the entire dynamic mesh CFD results for reciprocating mechanical equipment.

[0015] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0016] This application provides a method for reconstructing the dynamic mesh flow field of reciprocating machinery. It involves spatial phase alignment, Proper Orthogonal Decomposition (POD) order reduction reconstruction, phase adaptive mode number selection, and error characterization for the dynamic mesh flow field of reciprocating machinery. This method is used to solve the problems in the prior art where the dynamic mesh CFD results have spatial position mismatch, inconsistent motion phases, and large local reconstruction errors in key motion phases under multiple operating conditions and different motion phases.

[0017] In one exemplary embodiment, such as Figure 1 As shown, a method for reconstructing the dynamic mesh flow field of reciprocating motion is provided. This method is executed by computer equipment, specifically by a computer device such as a terminal or server alone, or by a terminal and server together. The method includes the following steps.

[0018] Step 1: Obtain the full-field results of the moving mesh CFD and establish a frame index based on the full-field results of the moving mesh CFD.

[0019] Step 2: Based on the frame index, unify the CFD full-field results of different operating conditions and different motion phases of the reciprocating mechanical equipment into the reference spatial position set and the common motion phase grid, and obtain reference snapshot data through spatial position alignment and motion phase alignment.

[0020] Step 3: Construct a snapshot matrix of the physical field based on the reference snapshot data to obtain the mean field, POD mode basis, and cumulative mode energy retention rate of the corresponding physical field.

[0021] Step 4: Based on the mean field and POD mode basis, determine the initial reconstructed full field result according to the initial retained mode number.

[0022] Step 5: Calculate the initial reconstruction error based on the reference snapshot data and the initial reconstruction full-field results.

[0023] Step 6: Determine the number of adaptive modes to be retained for the corresponding motion phase based on the comparison relationship between the preset local error threshold and the initial reconstruction error, and determine the reconstruction result and reconstruction error based on the number of adaptive modes to be retained.

[0024] Step 7: Map the reference snapshot data, the reconstructed full-field result, and the error field determined by the reconstruction error to the same template to reconstruct the reciprocating mechanical dynamic mesh flow field and generate the real result representation, the reconstruction result representation, and the error representation result.

[0025] In an exemplary embodiment, multiple sampled operating conditions are determined based on the operating condition parameter range of the reciprocating mechanical equipment. Under each sampled operating condition, a dynamic mesh computational fluid dynamics (CFD) full-field result is obtained according to a preset motion phase interval. The file corresponding to the dynamic mesh CFD full-field result includes at least one of the following: the original H5 result file directly output by the CFD solver (i.e., the original frame data without physical field extraction); and an intermediate data file converted from the result file. The physical field data includes a pressure field, a temperature field, or a velocity component field, or a combination thereof.

[0026] The sampling operating conditions can be determined using Latin hypercube sampling, Sobol sequence sampling, adaptive sampling, or a combination thereof. The operating condition parameters include one or more of the following: intake pressure, exhaust pressure, inlet temperature, speed, load parameters, and on / off state parameters.

[0027] The full-field results of the moving mesh CFD can be obtained from the moving mesh CFD simulation. The moving mesh region includes moving boundaries or moving parts that vary with the crankshaft angle or equivalent motion phase parameters. These moving boundaries or moving parts are driven by user-defined functions in the moving mesh to update their position, velocity, opening degree, opening / closing state, reversing state, or limit state. The moving boundaries or moving parts include one or more of the following: reciprocating motion parts, movable walls, opening / closing parts, limit parts, transmission actuators, and fluid control parts.

[0028] In an exemplary embodiment, physical field data, spatial coordinate information, operating condition identifiers, simulation frames, time steps, and motion phase parameters are extracted from the result file or intermediate data file corresponding to the full-field results of the moving mesh CFD to establish a frame index. The frame index is used to call up the physical field data and spatial coordinate information under the corresponding operating condition and motion phase, and is used for common motion phase mesh matching, reference snapshot selection, and key motion event frame identification.

[0029] S1: Set frame index Represented as: .

[0030] in, Indicates the operating condition. Indicates the simulation frame number. Indicates the time step number. Indicates the first The motion phase parameters corresponding to the frame.

[0031] S2: Obtain motion phase parameters; the motion phase parameters include crankshaft angle or equivalent motion phase parameters. When the original CFD result file name explicitly contains the crankshaft angle, the crankshaft angle can be read directly; when the motion phase parameter is the crankshaft angle, and the original CFD result file name does not explicitly contain the crankshaft angle, the crankshaft angle can be calculated based on the time step number. ,in, Indicates the initial angle. This represents the crankshaft angle increment corresponding to a unit time step.

[0032] S3: After establishing the frame index, identify at least one corresponding simulation frame among the starting motion phase, reaching the limit phase, starting the return phase, and returning to the seat phase, and establish a key motion event frame index.

[0033] S4: Determine the critical motion event interval based on the critical motion event frame index through motion event identification. Based on at least one of the displacement trajectory, opening trajectory, or normalized displacement curve of the moving part, identify at least one of the following: initial motion phase, limit arrival phase, start of return phase, and return phase. Determine the critical motion event interval based on the identified motion phases. The critical motion event interval is used to determine the local initial reconstruction error during the reconstruction error evaluation stage, judging whether the local initial reconstruction error exceeds a preset local error threshold, and serves as the phase range for retaining mode number feedback adjustment.

[0034] The critical motion event interval is determined based on at least one of the displacement trajectory, opening trajectory, and normalized displacement curve of the moving component; wherein, the critical motion event includes at least one of the following: opening of the opening and closing component, closing of the opening and closing component, moving component reaching the limit, moving component rebounding, retraction or clamping of the transmission actuator, reversal of the movable wall, sudden change of fluid channel opening, and local sudden change of flow field.

[0035] In an exemplary embodiment, a set of spatial coordinates of a reference frame or a global reference operating condition is selected as a unified reference spatial location set according to the frame index. Physical field data under different operating conditions and different motion phase parameters are mapped to the unified reference spatial location set. A common motion phase grid is formed based on the motion phase parameters common to multiple operating conditions, resulting in reference snapshot data with consistent spatial location and motion phase.

[0036] S1: Regarding spatial alignment, the set of unit centroid coordinates or node coordinates of the reference frame or global reference operating condition is selected as a unified reference spatial position set based on the frame index. For any physical field And for any frame to be processed, its original physical field vector and the corresponding original spatial location set Mapped to the unified reference space location set Obtain spatially aligned physical field snapshot data .

[0037] When the grid topology of the frame to be processed is consistent with that of the reference frame, if the physical field data is stored in the form of cell centroids, the corresponding cell field data is directly read, and the cell centroid coordinates are used as spatial coordinate information. The set of cell centroid coordinates is used as a unified reference spatial location set. If the physical field data is stored in the form of nodes, the corresponding node field data is read, and the node coordinates are used as spatial coordinate information. The set of node coordinates is used as a unified reference spatial location set.

[0038] When the frame to be processed differs from the reference frame in terms of the number of elements, the number of nodes, the centroid position of the elements, the coordinate position of the nodes, or the mesh topology, the spatial mapping operator maps the frame to be processed to a unified set of reference spatial positions. This ensures that snapshot components with the same index under different operating conditions and different motion phases correspond to the same reference spatial position. After spatial mapping is completed, the mapping relationship between the original set of spatial positions and the set of reference spatial positions is saved for consistent output of subsequent reconstruction results, true results, and error results. The spatial mapping operator can employ one or more of the following: nearest neighbor mapping, inverse distance weighted interpolation, and linear interpolation.

[0039] S2: Regarding motion phase alignment, obtain the motion phase set corresponding to each operating condition: ,in, This represents the total number of operating conditions. When the motion phase parameter sequences of multiple operating conditions are consistent, the motion phase parameter sequence is directly used as the common motion phase grid; when the motion phase parameter sequences of multiple operating conditions are not completely consistent, the set of motion phases common to multiple operating conditions is used as the common motion phase grid. .

[0040] S3: Obtain reference snapshot data through spatial position alignment and motion phase alignment. Based on the common motion phase mesh. From the physical field snapshot data of each operating condition after spatial alignment, the mesh that corresponds to the common motion phase is selected. The corresponding snapshot data yields reference snapshot data that is consistent in both spatial position and motion phase.

[0041] In an exemplary embodiment, the reference snapshot data is expanded into a snapshot vector, and a snapshot matrix is ​​constructed for each physical field. The snapshot matrix includes a pressure field snapshot matrix, a temperature field snapshot matrix, and a velocity component field snapshot matrix. The snapshot matrix is ​​then mean-centered and POD decomposed to obtain the mean field, POD mode basis, mode coefficients, and cumulative mode energy retention rate of the corresponding physical field.

[0042] For any physical field Following the same ordering of the unified reference space location set, each reference snapshot in the reference space location set under each motion phase is expanded into a reference snapshot column vector. Construct a snapshot matrix .

[0043] .

[0044] in, Represents physical field The corresponding snapshot matrix, Indicates the first A reference snapshot column vector, This indicates the total number of snapshots.

[0045] The mean field is obtained by calculating the mean value based on the snapshot matrix. .

[0046] .

[0047] Based on the mean field, the snapshot matrix is ​​transformed into a centered matrix through a centralization process. .

[0048] .

[0049] POD decomposition is performed using the snapshot method to construct the correlation matrix. .

[0050] .

[0051] Based on the aforementioned correlation matrix, eigenvalues ​​and eigenvectors are obtained by solving for the eigenvalues.

[0052] .

[0053] in, This is an eigenvector matrix, where each column is... A feature vector; This is an eigenvalue diagonal matrix, where the diagonal elements are the corresponding eigenvalues. .

[0054] POD mode base is constructed based on the eigenvalues ​​and eigenvectors. .

[0055] .

[0056] The initial number of retained modes is determined based on the cumulative modal energy retention rate. The eigenvalues ​​are then used to determine the number of modes to retain. Sort the values ​​in descending order to obtain the sorted sequence of feature values. ;in Represents the total number of eigenvalues, and the snapshot moment. The total number of snapshots corresponds to this.

[0057] Calculate the first value based on the sorted feature values. First-order cumulative modal energy retention rate .

[0058] .

[0059] in, Indicates the sorted order of the first... eigenvalues ​​of order 1 Indicates the modal order to be retained. .

[0060] Based on a preset energy retention rate threshold Take the satisfied The smallest The value is used as the initial retained mode number of the physical field.

[0061] By constructing pressure field snapshot matrices, temperature field snapshot matrices, and velocity component field snapshot matrices for different physical fields, physical quantities with different dimensions are prevented from being mixed into the same POD snapshot matrix, thus avoiding interference of modal energy distribution caused by differences in the numerical scales of different physical quantities.

[0062] In an exemplary embodiment, the number of retained modes for each physical field is determined according to a mode number determination rule based on either a preset fixed order or a cumulative modal energy retention rate. A key motion event interval is determined based on the frame index and motion event recognition results. The key motion event interval is used for subsequent local reconstruction error judgment and retained mode number feedback adjustment.

[0063] For any physical field Based on its position in the critical motion event interval The reconstruction error within the time frame determines the corresponding number of phase-adaptive mode-preserving modes.

[0064] When motion phase parameters This falls within the critical motion event interval. And physical field Initial reconstruction error in this motion phase Greater than the corresponding preset local error threshold At that time, adjust the physical field The initial number of retained modes is the higher-order number of retained modes; when the motion phase parameters Not within the critical motion event interval or physical field Initial reconstruction error in this motion phase Not greater than the corresponding preset local error threshold At that time, maintain this physical field The initial number of retained modes or the use of a low-order retained mode number; the adaptive retained mode number includes a high-order retained mode number and a low-order retained mode number.

[0065] Physical field In motion phase parameters The phase-adaptive mode-preserving number under the following expression is: .

[0066] in, This represents the initial number of retained modes or the number of lower-order retained modes of the physical field. Represents physical field In motion phase parameters The reconstruction error below, This represents the local error threshold of the corresponding physical field. Greater than or equal to ,Right now: .

[0067] In an exemplary embodiment, the mean field and POD mode basis, which are fixed and saved during the order reduction modeling stage, are used. Based on the initial number of retained modes, a low-dimensional projection and back-substitution reconstruction are performed on the target real snapshot aligned with a unified reference spatial location set and a common motion phase grid to obtain an initial reconstructed full-field result. The initial reconstruction error is calculated based on the target real snapshot and the reconstructed full-field result. By comparing the initial reconstruction error with a preset global error threshold, the number of retained modes of the corresponding physical field is adjusted. Based on the adjusted number of retained modes, a low-dimensional projection and back-substitution reconstruction are performed again to determine the reconstructed full-field result and the reconstruction error. The target real snapshot, the reconstructed full-field result, and the error field determined by the reconstruction error are mapped to the same template to generate a real result representation, a reconstruction result representation, and an error representation result.

[0068] Based on the adaptively preserved modal numbers, the mean field and POD modal basis are invoked to project a preset threshold dimension onto the reference snapshot data aligned with a unified reference spatial location set and a common motion phase grid, resulting in low-dimensional modal coefficients. for: Back-substitution reconstruction is performed based on the low-dimensional modal coefficients to obtain a reconstruction snapshot. This serves as the result of reconstructing the entire event.

[0069] in, Represents physical field In motion phase parameters The low-dimensional modal coefficients are below. This represents the number of phase-adaptive mode-retaining parameters determined based on critical phase error feedback. Indicates to retain the previous text Post-order POD mode basis, This represents a true snapshot of the target. Represents the mean field. This indicates the corresponding refactoring snapshot.

[0070] During the reconstruction process, the POD mode basis is not refitted; instead, the mean field and POD mode basis fixed and preserved during the POD basis-building stage are always used. When the field is a vector field or a physical field composed of multiple components, each component is subjected to low-dimensional projection and back-substitution reconstruction, and the corresponding reconstructed physical field is obtained based on the reconstructed components.

[0071] The error field is calculated based on the physical field values ​​at the same spatial location in a unified reference spatial location set, obtained from the target's true snapshot and the reconstructed full-field result. The error field includes at least one of a signed error field, an absolute error field, and a relative error field.

[0072] Error characterization results are generated based on the error field, and the reconstruction accuracy is evaluated using one or more of the following: root mean square error, relative L2 error, and maximum error. The error characterization results can be error cloud maps, error curves, error statistics graphs, or combinations thereof. When the root mean square error is greater than a preset global error threshold, at least one of the following is adjusted based on the physical field type, motion phase parameters, and error concentration region corresponding to the root mean square error: the number of retained modes, the cumulative modal energy retention rate, the key motion event interval, the sampling operation condition, or the preset motion phase interval. When the adjustment object includes the cumulative modal energy retention rate, the sampling operation condition, or the preset motion phase interval, POD decomposition, low-dimensional projection, and back-substitution reconstruction are re-executed based on the adjusted parameters. When the adjustment object is the number of retained modes, low-dimensional projection and back-substitution reconstruction are re-executed based on the adjusted number of retained modes.

[0073] Read the unified geometric template, slice template, post-processing mesh template, or cloud map template corresponding to the reference spatial location set, map the target real snapshot, the reconstructed full-field result, and the error field determined by the reconstruction error to the same template, and generate the real result representation, reconstruction result representation, and error representation result under the same spatial reference.

[0074] Compared with the prior art, this application has at least the following beneficial effects: (1) By unifying the CFD full-field results under different operating conditions and different motion phases into the reference spatial position set and the common motion phase grid, each snapshot can maintain correspondence in spatial position and crankshaft angle phase, avoiding snapshot misalignment caused by dynamic grid deformation, grid reconstruction or inconsistent sampling angle.

[0075] (2) This application obtains the full field results of dynamic mesh CFD by sampling operating conditions, and can supplement or adjust the sampled operating conditions according to the range of operating condition parameters, motion phase parameters or error concentration areas corresponding to the reconstruction error, which is beneficial to improving the ability of the reduced-order model to cover the flow field changes of multiple operating conditions.

[0076] (3) Snapshot matrices are established for the pressure field, temperature field and velocity component field respectively and POD decomposition is performed respectively to avoid mutual interference of physical quantities of different dimensions due to differences in numerical scale, so that the obtained POD mode basis can better reflect the main flow structure of the corresponding physical field.

[0077] (4) This application adjusts the number of retained modes based on the local reconstruction error in the critical motion event interval. It can increase the mode retention order in high error phases such as the movement of opening and closing components, the movement of moving components reaching the limit, the reversal of movable walls, the sudden change of channel opening or the sudden change of local flow field, and maintain a lower order in non-critical phases, thereby taking into account both the reconstruction accuracy of critical phases and the overall computational efficiency.

[0078] (5) This application maps the target real snapshot, the reconstructed full field result and the error field determined by the reconstruction error to the same template, and evaluates them in conjunction with indicators such as root mean square error, relative L2 error and maximum error, so as to facilitate synchronous comparison of real results, reconstruction results and error distribution under the same spatial reference, and improve the reliability of error diagnosis and parameter feedback adjustment.

[0079] In another exemplary embodiment, this application also provides a description of a method for reconstructing the dynamic mesh flow field of a reciprocating mechanical system, using a DW12-2 reciprocating compressor as an example. The reciprocating compressor includes a cylinder, piston, valve plate, pressure fork, intake chamber, exhaust chamber, and corresponding fluid channels. Figure 2 As shown in (a) the 3D model structure diagram and (b) the cross-sectional view of the intake valve, the moving mesh CFD calculation objects in this embodiment include the cylinder, piston, valve plate, pressure fork, and their adjacent fluid channels. The displacement and opening / closing state of the moving parts change with the crankshaft angle. During the reciprocating motion of the piston, the opening and closing of the valve plate, and the action of the pressure fork, the fluid domain inside the cylinder and the local flow boundary continuously change with the crankshaft angle, forming a moving mesh 3D internal flow field with obvious unsteady characteristics.

[0080] The process of this embodiment includes the following steps.

[0081] Example 1: Alignment, order reduction, reconstruction, and error assessment of full-field results from dynamic mesh CFD under multiple operating conditions like Figure 1 As shown, this embodiment uses the DW12-2 reciprocating compressor as an example to perform spatial alignment, phase alignment, segmented POD order reduction reconstruction, and error evaluation on the dynamic mesh CFD full-field results under multiple operating conditions and multiple crankshaft angles. In this embodiment, the motion phase parameter is represented by the crankshaft angle, and the physical field data includes the pressure field, temperature field, and velocity component field.

[0082] 1.1 Acquisition of multi-operational condition data and establishment of frame index.

[0083] A dynamic mesh CFD simulation model was established based on the structural and operating parameters of the DW12-2 reciprocating compressor. The operating parameters include one or more of the following: suction pressure, discharge pressure, inlet temperature, speed, and load. The position, speed, opening degree, or opening / closing state of moving parts such as pistons, valve plates, and pressure forks are defined by crankshaft angle and the computational domain is updated using a dynamic mesh method.

[0084] Under multiple sampling operating conditions, H5 format result files directly output by the CFD solver are obtained according to preset crankshaft angle intervals. Due to the complexity of the H5 format result files, they are further parsed and converted into intermediate data files suitable for batch processing. The original H5 result files for each operating condition are scanned to extract file paths, operating condition identifiers, simulation frame numbers, time step numbers, and crankshaft angle information, thus establishing an original frame index table. The frame index can be represented as: ,in, Indicates the operating condition. Indicates the simulation frame number. Indicates the time step number. Indicates the first The frame corresponds to the crankshaft angle. For example... Figure 3 As shown, each original CFD result frame establishes a correspondence through the operating condition identifier, simulation frame number, time step number, and crankshaft angle, which is used for subsequent spatial alignment, phase alignment, and key motion event identification.

[0085] Furthermore, pressure, temperature, and velocity components u, v, and w are extracted from the full CFD results, and spatial coordinate information corresponding to each frame is extracted simultaneously. The spatial coordinate information is preferably the centroid coordinates of the unit cells, but it can also be node coordinates or other sets of coordinates that can characterize spatial location.

[0086] 1.2 Establishment and spatial alignment of reference spatial location set.

[0087] In this embodiment, the set of unit centroid coordinates of the reference frame or global reference operating condition is selected as the unified reference spatial location set, denoted as: For any frame to be processed and any physical field Let its original field vector be . The corresponding original spatial location set is Then it is mapped to a set of reference spatial locations. To obtain spatially aligned physical field vectors , can be represented as: ,in, Represents physical field The corresponding space mapping operator. For example... Figure 4 As shown, dynamic mesh snapshots under different operating conditions or different motion phases are unified to a reference spatial location set after being directly read or spatially mapped, so that snapshot components with the same sequence number correspond to the same spatial location.

[0088] 1.3 Formation and phase alignment of common motion phase mesh.

[0089] After spatial alignment is completed, phase alignment is further performed on multiple operating conditions. Let the first... The set of crankshaft angles corresponding to each operating condition is: The set of motion phases shared by multiple operating conditions can be used as a common motion phase grid.

[0090] In this embodiment, the following intersection relationship is preferably used to construct the common motion phase mesh: ,in, This indicates the total number of operating conditions. For example... Figure 5 As shown, when the crankshaft angle sequences of each operating condition are not completely consistent, the set of motion phases common to multiple operating conditions is taken as the common motion phase grid, and reference snapshots are selected accordingly.

[0091] 1.4. Construction of Physical Field Snapshot Matrix and POD Foundation.

[0092] For any physical field The field values ​​located at the reference space position set under each motion phase are expanded into column vectors in a uniform order. Then, a snapshot matrix is ​​constructed: ,in, Represents physical field The corresponding snapshot matrix, Indicates the first A reference snapshot vector, Indicates the total number of snapshots. For example... Figure 6 As shown, snapshot matrices are constructed for each component of the pressure field, temperature field, and velocity field, and POD decomposition is performed to obtain the mean field and POD mode basis of the corresponding physical field.

[0093] Subsequently, mean centering and POD decomposition are performed on each snapshot matrix to obtain the mean field, POD mode basis, and mode energy information of the corresponding physical field. The number of retained modes can be determined based on the cumulative mode energy retention rate and error sensitivity analysis.

[0094] 1.5 Low-dimensional projection and back-substitution reconstruction of target snapshot.

[0095] Select full-field CFD snapshots corresponding to verification cases or verification phases that did not participate in POD foundation building, and unify them to the aforementioned reference spatial location set and common motion phase grid. For any physics field Call the mean field that is fixed and saved during the POD foundation-building phase. and POD mode base A true snapshot of the target By performing a low-dimensional projection, we obtain the low-dimensional modal coefficients: Then, by back-substituting the modal coefficients, a reconstruction snapshot is obtained: .in, Represents low-dimensional modal coefficients. Indicates to retain the previous text Post-order POD mode basis, This represents a true snapshot of the target. This represents a reconstructed snapshot. For physical fields such as the velocity field, which consist of multiple components, each component is projected and reconstructed using back-substitution. The POD mode basis is not refitted during this process. For example... Figure 7 As shown, the target snapshot, under a unified spatial location set and a common motion phase grid, is subjected to low-dimensional projection and back-substitution reconstruction using the mean field and POD mode basis fixed and saved during the reduced-order modeling stage.

[0096] 1.6 Error field calculation and accuracy evaluation.

[0097] Based on a true snapshot of the target aligned with a unified reference space location set and a common motion phase grid. And reconstruct the entire result Calculate the reconstruction error, including at least one of the following: point error, RMSE, relative L2 error, and maximum error, to obtain the corresponding reconstruction error field.

[0098] In this embodiment, representative operating conditions not involved in POD baseline construction and CFD full-field snapshots corresponding to the target crankshaft angle are selected as verification objects. First, their true field data are unified to a reference spatial location set. Then, the mean field and modal basis fixed and saved during the POD baseline construction stage are used to complete low-dimensional projection and back-substitution reconstruction to obtain the POD reconstructed field, and the error field between the true field and the reconstructed field is calculated. For example... Figure 8 (a), (b) and (c) in the middle Figure 10 As shown in (a), (b), and (c), the CFD real field, POD reconstructed field, and error field corresponding to the velocity field, temperature field, and pressure field are mapped to the same slice template or post-processing template, and compared and displayed under the same spatial reference, the same display position, and the same physical quantity conditions, so as to intuitively characterize the local differences between the reconstruction result and the real result.

[0099] Furthermore, the RMSE and relative L2 error of the reconstruction results under different operating conditions, different crankshaft angles, and different numbers of retained modes were statistically analyzed. For example... Figure 11 As shown, Figure 11 (a) in the figure is the pressure field error diagram; Figure 11 (b) in the figure is the temperature field error diagram; Figure 11 (c) in the figure represents the velocity field error diagram, which can reflect the changes in reconstruction accuracy under different physical fields or different modes through the error evaluation curve. In a set of implementation results, when the number of modes is retained... When the number of modes is 16, the relative L2 errors of the pressure field and temperature field are 0.128% and 0.310%, respectively; when the number of modes retained is r=96, the relative L2 error of the velocity field can be controlled within 9%.

[0100] When the RMSE or relative L2 error exceeds the preset threshold, at least one of the following is adjusted based on the physical field type, crankshaft angle position, and error concentration region corresponding to the error: the number of retained modes of the physical field, the key motion event interval, the sampling operation condition, and the motion phase interval. Based on the adjusted parameters, POD decomposition, low-dimensional projection, and back-substitution reconstruction are re-executed.

[0101] Example 2: Implementation of Phase Adaptive Mode Number Reconstruction in Key Motion Event Intervals.

[0102] Building upon Example 1, which completed the acquisition of full-field results from multi-operational dynamic mesh CFD, frame index establishment, spatial alignment, construction of common motion phase mesh, sub-physics field POD basis establishment, and preliminary error evaluation, this example further illustrates a phase adaptive mode number reconstruction method under key motion event intervals. This method can be applied to any physical field, such as pressure field, temperature field, or velocity component field; in this example, the velocity field is preferably used as an example.

[0103] 2.1 Determination of the critical motion event interval.

[0104] For valve plates, pressure forks, pistons, or other motion boundaries, read their displacement trajectory, opening trajectory, or normalized displacement curve as the crankshaft angle changes, and combine them with the frame index established in Example 1 to determine at least one of the following: the initial motion phase, the phase reaching the limit, the phase starting the return stroke, and the phase returning to the seat.

[0105] Based on the aforementioned motion phase, the critical motion event interval Ωkey is determined. For example... Figure 12 As shown, the critical motion event interval can be determined by the abrupt change positions in the displacement curve, opening curve, or normalized displacement curve of the moving component. It includes the motion phase intervals corresponding to the opening and closing of the opening / closing component, reaching the limit, reseating, retraction or clamping of the transmission actuator, abrupt changes in channel opening, and local abrupt changes in the flow field. The critical motion event interval can be a single continuous interval or a union of multiple discrete intervals. To cover high-speed jets, local throttling, backflow, or high gradient change regions near the event boundary, a preset phase margin can be set on both sides of the critical motion event interval boundary.

[0106] 2.2 Adaptive mode number determination based on local error feedback.

[0107] After completing the POD decomposition, the initial retained mode number for each physical field is determined according to one of the mode number determination rules, namely, a preset fixed order and a cumulative modal energy retention rate. For the velocity field, since it changes drastically in the valve gap, local throttling region, and high-speed jet region, a candidate retained mode number set can be further set, and the reconstruction error under different candidate mode numbers can be calculated respectively.

[0108] For any physical field In the motion phase First, the initial number of retained modes is used for reconstruction, and the reconstruction error is calculated. .when This falls within the critical motion event interval. ,and Greater than the local error threshold of the corresponding physical field When, increase the number of modes retained by the physical field in that phase of motion; when Not within the critical motion event interval ,or Not greater than the local error threshold At that time, maintain the initial number of retained modes or use a lower number of retained modes.

[0109] The physical field In motion phase The phase-adaptive mode-preserving number under the following conditions can be expressed as: .

[0110] in, This represents the initial number of retained modes or the number of lower-order retained modes. Let represent the enhanced number of retained modes, satisfying: In a set of preferred implementations, the set of candidate retained modes can be selected as follows: The lower number of retained modes is used for non-critical motion event intervals or phases with smaller errors, while the higher number of retained modes is used for phases with larger errors within critical motion event intervals.

[0111] 2.3 Adaptive Reconstruction and Effect Evaluation.

[0112] Determine the number of phase-adaptive mode-preserving modes Subsequently, the mean field and POD mode basis, which were fixedly preserved during the POD foundation-building stage in Example 1, are used for low-dimensional projection and back-substitution reconstruction. Unlike Example 1, this example replaces the fixed-preservation mode number with a phase-adaptive preserved mode number that varies with the motion phase. .like Figure 13 As shown, the number of modes to be retained is first determined based on the key motion event intervals and local reconstruction errors, and then the corresponding POD mode basis is used to reconstruct the target snapshot. For the velocity field, respectively... , , The three velocity components are reconstructed, and the velocity modulus is calculated from the reconstructed velocity components: After reconstruction, the error between the actual target field and the reconstructed field is calculated, and the intervals of key motion events are statistically analyzed. RMSE or relative L2 error within the non-critical motion event interval: like Figure 14 As shown, under the same test conditions, with a fixed low-order mode number k=24, the local RMSE of the velocity field within the critical motion event interval can reach approximately 3-4 m / s; using phase-adaptive mode number... Subsequently, the error in the critical interval was significantly reduced, with the RMSE of most phases being approximately 1-2 m / s, and the error level in non-critical phases remaining close to that of a fixed low-order mode number. This indicates that the proposed method, employing adaptive mode number reconstruction, improves the reconstruction accuracy of critical phases and the entire cycle, thereby enhancing overall computational efficiency.

[0113] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 15 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database is used for reconstructing the dynamic mesh flow field of reciprocating machinery. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements the reconstructing of the dynamic mesh flow field of the reciprocating machinery.

[0114] Those skilled in the art will understand that Figure 15 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0115] In one exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0116] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0117] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0118] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0119] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0120] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0121] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0122] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for reconstructing the dynamic mesh flow field of a reciprocating mechanical system, characterized in that, include: Obtain the full-field results of the dynamic mesh CFD, and establish a frame index based on the full-field results of the dynamic mesh CFD; Based on the frame index, the CFD full-field results of reciprocating mechanical equipment under different operating conditions and different motion phases are unified into a reference spatial position set and a common motion phase grid. Reference snapshot data is obtained through spatial position alignment and motion phase alignment. Based on the reference snapshot data, a snapshot matrix of the physical field is constructed to obtain the mean field, POD mode basis, and cumulative mode energy retention rate of the corresponding physical field. Based on the mean field and POD mode basis, the initial reconstructed full field result is determined according to the initial retained mode number; The initial reconstruction error is calculated based on the reference snapshot data and the initial reconstruction full-field results. The number of adaptive modes to be retained for the corresponding motion phase is determined based on the comparison relationship between the preset local error threshold and the initial reconstruction error, and the reconstruction result and reconstruction error are determined based on the number of adaptive modes to be retained. The reference snapshot data, the reconstructed full-field result, and the error field determined by the reconstruction error are mapped to the same template to reconstruct the reciprocating mechanical dynamic mesh flow field, generating the real result representation, the reconstruction result representation, and the error representation result.

2. The method for reconstructing the dynamic mesh flow field of reciprocating motion machinery according to claim 1, characterized in that, The acquisition of the full-field results of the dynamic mesh CFD specifically includes: Based on the operating condition parameter range of the reciprocating mechanical equipment, the full-field results of the dynamic mesh CFD are obtained; the full-field results of the dynamic mesh CFD include physical field data and the spatial coordinate information corresponding to the physical field data; the physical field includes pressure field, temperature field or velocity component field.

3. The method for reconstructing the dynamic mesh flow field of reciprocating motion machinery according to claim 1, characterized in that, Based on the frame index, the CFD full-field results of reciprocating mechanical equipment under different operating conditions and different motion phases are unified into a reference spatial position set and a common motion phase grid. Reference snapshot data is obtained through spatial position alignment and motion phase alignment, specifically including: Using the frame index, the spatial coordinate set of the reference frame and the global reference operating condition is selected as a unified reference spatial position set. The physical field data under different operating conditions and different motion phase parameters are mapped to the unified reference spatial position set to obtain spatially aligned physical field snapshot data. A common motion phase grid is formed based on the motion phase parameters shared by multiple operating conditions; Based on the physical field snapshot data, select the snapshot data corresponding to the common motion phase grid to determine the reference snapshot data for spatial position alignment and motion phase alignment.

4. The method for reconstructing the dynamic mesh flow field of reciprocating motion machinery according to claim 1, characterized in that, Based on the reference snapshot data, a snapshot matrix of the physical field is constructed to obtain the mean field, POD mode basis, and cumulative mode energy retention rate of the corresponding physical field, specifically including: The reference snapshot data is expanded into snapshot vectors, and a snapshot matrix of the physical field is constructed; the snapshot matrix includes a pressure field snapshot matrix, a temperature field snapshot matrix, and a velocity component field snapshot matrix; The mean field is obtained by calculating the mean based on the snapshot matrix; Based on the mean field, the snapshot matrix is ​​transformed into a centered matrix through a centralization process, and the correlation matrix is ​​constructed using the snapshot method. Based on the aforementioned correlation matrix, eigenvalues ​​and eigenvectors are obtained by solving for the eigenvalues. Construct a POD mode basis based on the eigenvalues ​​and eigenvectors; The eigenvalues ​​are sorted in descending order of numerical value, and the cumulative modal energy retention rate is calculated based on the sorted eigenvalues. The cumulative modal energy retention rate is the percentage of the eigenvalues ​​before retention. The ratio of the sum of eigenvalues ​​corresponding to the first mode to the sum of all eigenvalues.

5. The method for reconstructing the dynamic mesh flow field of reciprocating motion machinery according to claim 1, characterized in that, The number of adaptively preserved modes for the corresponding motion phase is determined based on the comparison between a preset local error threshold and the initial reconstruction error, specifically including: When the motion phase parameter belongs to the critical motion event range, and the initial reconstruction error of the physical field under the corresponding motion phase is greater than the preset local error threshold, the initial number of retained modes is adjusted to the number of higher-order retained modes. When the motion phase parameter does not belong to the critical motion event interval, or the initial reconstruction error of the physical field under the corresponding motion phase is not greater than the preset local error threshold, the initial number of retained modes of the physical field is maintained or a low-order number of retained modes is adopted; the adaptive number of retained modes includes a high-order number of retained modes and a low-order number of retained modes.

6. The method for reconstructing the dynamic mesh flow field of reciprocating motion machinery according to claim 1, characterized in that, The reconstruction results and reconstruction error are determined based on the adaptive mode-preserving number, specifically including: Based on the adaptive preserved mode number, the mean field and POD mode basis are invoked to project a preset threshold dimension onto the reference snapshot data aligned with the unified reference spatial location set and the common motion phase grid, thereby obtaining low-dimensional mode coefficients; Back-substitution reconstruction is performed based on the low-dimensional modal coefficients to obtain a reconstruction snapshot as the full reconstruction result.

7. The method for reconstructing the dynamic mesh flow field of reciprocating motion machinery according to claim 6, characterized in that, The low-dimensional modal coefficients are: The reconstructed snapshot is as follows: in, Represents physical field In motion phase parameters The low-dimensional modal coefficients are below. This represents the number of phase-adaptive mode-retaining parameters determined based on critical phase error feedback. Indicates to retain the previous text Post-order POD mode basis, Represents the transpose matrix. This represents a true snapshot of the target. Represents the mean field. This indicates the corresponding refactoring snapshot.

8. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the reciprocating motion mechanical dynamic mesh flow field reconstruction method according to any one of claims 1-7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the reciprocating motion mechanical dynamic mesh flow field reconstruction method as described in any one of claims 1-7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the reciprocating motion mechanical dynamic mesh flow field reconstruction method as described in any one of claims 1-7.