Fluid-structure coupling interpolation method and device for high-order spatial grid

By using a high-order spatial grid fluid-structure interaction interpolation method, and combining Kriging interpolation and regression models with variograms for adaptive interpolation training, the problems of long data transfer time and insufficient accuracy at the fluid-structure interaction interface are solved, achieving high-precision data conversion and collaboration.

CN116702330BActive Publication Date: 2026-11-20PERA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310762206.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2026-11-20
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

In fluid-structure interaction interfaces, existing technologies suffer from problems such as excessively long data transmission times and insufficient interpolation accuracy due to mesh mismatch, especially in high-order spatial meshes, where conventional interpolation methods cannot effectively solve these issues.

Method used

A fluid-structure interaction interpolation method based on a high-order spatial grid is adopted. By combining the Kriging interpolation method and the regression model with the variation function, adaptive interpolation training is performed to generate a second Kriging interpolation with an accuracy error within a preset range. An error model is then constructed to determine the convergence of the interpolation.

Benefits of technology

It improves the accuracy of fluid-structure interaction interpolation, reduces computation time, and ensures unidirectional weak coupling and collaboration between aerodynamic load-strength design software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116702330B_ABST
    Figure CN116702330B_ABST
Patent Text Reader

Abstract

The application relates to a high-order space grid fluid-solid coupling interpolation method and device. The method comprises the following steps: acquiring first-type sampling points of a first model, and performing data analysis on parameters of the first-type sampling points; the first model is a fluid model and / or a gas model; in the case that an analysis result satisfies a normal distribution, a first Kriging interpolation corresponding to the first-type sampling points is calculated based on a Kriging interpolation method; the first Kriging interpolation is iteratively trained based on a regression model and a variation function, so that a second Kriging interpolation is obtained; wherein the accuracy error of the second Kriging interpolation is within a preset error range; an error model of the first-type sampling points is constructed, the accuracy error of the second Kriging interpolation is judged according to the error model, and in the case that the error of the second Kriging interpolation converges, the second Kriging interpolation is a target Kriging interpolation. According to the adaptive Kriging method, the error in the fluid-solid coupling conversion process can be reduced, and the interpolation accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a fluid-structure interaction interpolation method and apparatus for high-order spatial meshes. Background Technology

[0002] Research on data transfer methods mainly focuses on fluid-structure interaction (FSI) in aerospace and civil engineering. Under fluid loads, solid structures generate displacement and velocity, and the deformation and motion of the solid structure further affect the fluid loads. Since different physics calculation modules have significant differences in mesh type and density requirements, the meshes of the fluid and solid domains are not matched at the interface. To achieve coupled calculations, it is necessary to solve the data transfer problem between different physical quantities in mismatched meshes; this is the fluid-structure load transfer problem. This problem is generally solved by interpolation, i.e., for each structural element, the nearest few fluid model points are found, and the pressure of the structural element is interpolated using the pressure of the fluid points to achieve load conversion. Another method is the force equivalent distribution method, which distributes the load of one aerodynamic point equivalently to several nearby structural points.

[0003] Both of these methods require finding several neighboring points in the other model based on the position of a point in one model. Without a targeted approach, it would be necessary to traverse all points in the latter model. Therefore, when both models have a large number of points, the search time is very long, leading to excessively long interpolation program execution times.

[0004] In existing technologies, the impact of load uncertainty has been widely considered in the field of structural analysis and optimization design, and corresponding theories have been formed. However, it is still rare in the field of fluid-structure interaction interface data transfer. Summary of the Invention

[0005] To address or partially address the problems existing in related technologies, this application provides a method and apparatus for interpolating fluid-structure interaction (FSI) using high-order spatial grids, which can predict the error calculation during the FSI transformation process and improve the interpolation accuracy.

[0006] The first aspect of this application provides a fluid-structure interaction interpolation method for high-order spatial meshes, including: Obtain the first type of sampling points of the first model, and perform data analysis on the parameters of the first type of sampling points; the first model is a fluid model. If the analysis results follow a normal distribution, the first kriging interpolation value corresponding to the first type of sampling point is calculated based on the kriging interpolation method. Based on the regression model and the variogram, the first kriging interpolation is iteratively trained to obtain the second kriging interpolation; wherein the accuracy error of the second kriging interpolation is within a preset error range. Construct an error model for the first type of sampling points. Based on the error model, determine whether the accuracy error of the second kriging interpolation has converged. If the error of the second kriging interpolation has converged, the second kriging interpolation is the target kriging interpolation.

[0007] A second aspect of this application provides a fluid-structure interaction interpolation device for high-order spatial meshes, comprising: The sampling unit is used to acquire the first type of sampling points of the first model and perform data analysis on the parameters of the first type of sampling points; the first model is a fluid model. The first calculation unit is used to calculate the first kriging interpolation corresponding to the first type of sampling points based on the kriging interpolation method, provided that the analysis results satisfy a normal distribution. The second calculation unit is used to iteratively train the first kriging interpolation based on the regression model and the variogram to obtain the second kriging interpolation; wherein the accuracy error of the second kriging interpolation is within a preset error range. The judgment unit is used to construct the error model of the first type of sampling points, and to determine whether the accuracy error of the second kriging interpolation has converged based on the error model. If the error of the second kriging interpolation has converged, the second kriging interpolation is the target kriging interpolation.

[0008] A third aspect of this application provides an electronic device, comprising: Processor; and The memory stores executable code, which, when executed by the processor, causes the processor to perform the methods described above.

[0009] A fourth aspect of this application provides a computer-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to perform the method described above.

[0010] The technical solution provided in this application may include the following beneficial effects: On the one hand, this scheme, based on ordinary kriging interpolation, adopts generalized kriging and co-kriging interpolation methods. It uses an adaptive kriging method to generate kriging interpolations as training samples and predicts error calculations, thus improving interpolation accuracy. Simultaneously, it employs a regression model and a difference function as the initial iterative model for interpolation, iterating the error of the first kriging interpolation to generate a second kriging interpolation within the target error range. By iteratively applying the regression model and difference function to the first kriging interpolation, the iterative process of the first kriging interpolation error is simplified, thereby addressing the computational cost issue.

[0011] On the other hand, this application also provides an error model for verifying the effectiveness of the second kriging interpolation, thereby ensuring that the second kriging interpolation achieves effective coordination of the unidirectional weak coupling between the aerodynamic load-strength design software in the subsequent target transformation.

[0012] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0013] The above and other objects, features and advantages of this application will become more apparent from the more detailed description of exemplary embodiments thereof in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments thereof.

[0014] Figure 1 This is a schematic diagram illustrating the application environment of the fluid-structure interaction interpolation method for high-order spatial meshes shown in the embodiments of this application; Figure 2 This is a schematic flowchart illustrating a fluid-structure interaction interpolation method for high-order spatial meshes as shown in an embodiment of this application. Figure 3 This is a schematic diagram illustrating the effect of fluid-structure interaction interpolation on a high-order spatial mesh, as shown in an embodiment of this application. Figure 4 This is a schematic diagram of the structure of a fluid-structure interaction interpolation device for a high-order spatial grid as shown in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this application. Detailed Implementation

[0015] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While embodiments of this application are shown in the drawings, it should be understood that this application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to make this application more thorough and complete, and to fully convey the scope of this application to those skilled in the art.

[0016] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0017] It should be understood that although the terms "first," "second," "third," etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0018] In the structural design of industrial products, the eigenvalues ​​and eigenvectors of a matrix are very important structural dynamic performance parameters and indicators. For example, the vibration and dynamic problems of aircraft, ships, automobiles, various electronic products, various rotating machinery, and even civil engineering building structures are all closely related to the structural stiffness and mass design, and the corresponding matrix eigenvalues ​​and eigenvectors.

[0019] Fluid-structure interaction mechanics is a branch of mechanics that arises from the intersection of fluid mechanics and solid mechanics. It studies the various behaviors of deformable solids under the influence of a flow field and the interaction between the solid's configuration and the flow field. A key characteristic of fluid-structure interaction mechanics is the interaction between two phases of media. Deformable solids undergo deformation or motion under fluid loads. This deformation or motion, in turn, affects the fluid motion, thereby altering the distribution and magnitude of the fluid load. It is this interaction that produces a variety of fluid-structure interaction phenomena under different conditions.

[0020] One-way fluid-structure interaction (FSI) analysis refers to a situation where data transfer at the coupling interface is unidirectional. Generally, it involves transferring the results of CFD analysis to the solid structure analysis, but not the transfer of solid structure analysis results to the fluid analysis. In other words, only the fluid analysis has a significant impact on the structural analysis, while the deformation and other results from the structural analysis are very small, to the point that their impact on the fluid analysis is negligible. One-way coupling is a very common phenomenon and type of analysis, such as stress calculations of valves at different opening degrees, static structural analysis of tower cranes under wind loads, and structural strength analysis of rotating machinery.

[0021] Mainstream design software and its provided aerodynamic and temperature load data formats, such as Numeca, CFX, and Fluent, are based on numerical calculation results obtained from meshes derived from conventional CFD simulation analysis. However, the meshes of software commonly used in structural strength design, such as ANSYS, Abaqus, and Nastran, often differ significantly from CFD meshes. Therefore, a universal, high-accuracy data interpolation interface program is needed to parse and convert the aerodynamic and temperature load data obtained from fluid dynamics software calculations. Through interpolation methods, it should generate the pressure and temperature load input conditions required for structural strength calculations, ensuring effective collaboration between the aerodynamic load and strength design software through a weak, one-way data coupling.

[0022] This research focuses on the algorithm programming and interface development technology of an aerodynamic load-strength design data conversion interface program. The program is compatible with the standard format load data input of upstream fluid software such as Numeca, CFX, and Fluent, and also compatible with the load data output requirements of downstream software such as ANSYS, Nastran, and Abaqus, ultimately forming an aerodynamic load-strength design data conversion interface program.

[0023] This study investigates various mature mathematical interpolation methods, compares their characteristics, and identifies a high-precision method suitable for strength design load interpolation. A dedicated calculation program for this high-precision load interpolation method is developed to reduce manual processing workload and improve data interpolation accuracy.

[0024] Fluid-structure interaction spatial interpolation methods can be classified according to the data region used, including: 1) Global interpolation; 2) Local interpolation; Global interpolation uses data from all sampling points in the study area to fit the features of the entire region. Data from the entire region affects individual interpolation points; increasing, decreasing, or deleting the variable value of a single data point impacts the entire region. Typical examples include global trend surface analysis and Fourier series (periodic series).

[0025] Local interpolation methods use only neighboring data points to estimate the value of an unknown point; a change in a single data point only affects a limited number of surrounding data points. Typical local interpolation methods include spline function interpolation, inverse distance interpolation, and Kriging interpolation.

[0026] The selection of interpolation methods generally follows these principles: 1) Accuracy: Different interpolation methods have different principles, and the accuracy they can achieve varies greatly; 2) Parameter Sensitivity: Many interpolation methods involve one or more parameters, such as the order of distance in the inverse distance method. Some methods are quite sensitive to parameter selection, while others are sensitive to variable values. The latter can produce drastically different interpolation results for different datasets. The goal is to find interpolation methods that are relatively stable to parameter fluctuations and whose values ​​do not depend excessively on variable values.

[0027] 3) Time consumption: Generally speaking, the calculation time is not very important, unless it is particularly time-consuming. 4) Storage requirements: Similar to time consumption, storage requirements are not decisive.

[0028] For local interpolation of conventional structures, many methods and programs can currently guarantee good accuracy. However, for spatial shapes with high order and large curvature, conventional interpolation methods are not accurate enough, the interpolation effect is not good, and the physical quantities interpolated on the curved surface are usually not smoothly distributed, the transition is uneven, and the interpolation error is large.

[0029] Optionally, in this embodiment, the above-described fluid-structure interaction interpolation method based on high-order spatial grids can be applied to, for example... Figure 1 The hardware environment shown consists of server 102 and terminal 104. For example... Figure 1 As shown, server 102 is connected to terminal 104 via a network, which includes, but is not limited to, wide area networks (WANs), metropolitan area networks (MANs), or local area networks (LANs). Terminal 104 is not limited to PCs, mobile phones, tablets, etc. The fluid-structure interaction interpolation method based on a high-order spatial mesh according to this embodiment of the invention can be executed by server 102, by terminal 104, or by both server 102 and terminal 104. Furthermore, the execution of the high-order spatial mesh fluid-structure interaction interpolation method according to this embodiment by terminal 104 can also be performed by a client installed on it.

[0030] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0031] It should be noted that this application employs adaptive Kriging interpolation, which is an improvement on the load data conversion method between different models. Different interpolation methods are used for different data, and the fluid model interpolated and analyzed is used as the boundary condition for the solid structure analysis; this is the preprocessing step for solid structure analysis. To address the aforementioned issues, this application provides a fluid-structure interaction interpolation method for high-order spatial grids, which can reduce the estimation error calculation in fluid-structure interaction model transformation and improve the interpolation accuracy in fluid-structure interaction model transformation.

[0032] The technical solutions of the embodiments of this application are described in detail below with reference to the accompanying drawings.

[0033] Figure 2 This is a flowchart illustrating a fluid-structure interaction interpolation method for high-order spatial meshes, as shown in an embodiment of this application, specifically including: Step S201: Obtain the first type of sampling points of the first model and perform data analysis on the parameters of the first type of sampling points; the first model is a fluid model.

[0034] It should be noted that all test data in step S201 are based on the initial mesh generation input. Additionally, the first type of sampling points can also be generated based on the adaptive mesh information generated during the solution process of the first model.

[0035] Step S202: If the analysis results satisfy a normal distribution, calculate the first kriging interpolation value corresponding to the first type of sampling point based on the kriging interpolation method.

[0036] In step S202, if the analysis results do not meet the requirements of a normal distribution, the data of the first type of sampling points needs to be transformed until the analysis results of the first type of sampling parameters meet the requirements of a normal distribution.

[0037] In one embodiment, when the analysis results satisfy a normal distribution, the first Kriging interpolation corresponding to the first type of sampling points is calculated based on the Kriging interpolation method, including: obtaining the boundary of the first type of sampling points and the original grid space distribution of the first model, and determining the activation conditions of the Kriging interpolation method; and selecting a preset Kriging interpolation model according to the activation conditions of the Kriging interpolation method.

[0038] In this embodiment, determining the activation condition specifically includes: obtaining a first mapping relationship between the first type of sampling points and the Kriging interpolation method, wherein the first mapping relationship includes a spatial coordinate expression of the first type of sampling points expressed by a trend function and a random error function; determining the regionalized variable of the first mapping relationship based on the random error function; and selecting a Kriging model based on the regionalized variable, wherein the Kriging model includes at least one or more of the following: a generalized Kriging model, a common Kriging model, a simple Kriging model, an indicator Kriging model, and a co-Kriging model.

[0039] This embodiment not only considers the spatial distance relationship between the first type of sampling point and the neighboring sampling point data, but also the positional relationship between each participating sampling point. It makes full use of the spatial distribution structure characteristics of each sampling point data, making its estimation results more accurate, more realistic and more effectively avoiding the occurrence of systematic errors than traditional methods.

[0040] Specifically, the expression for the first mapping function using Kriging interpolation is shown in formula (1): Formula (1); Here, s represents points at different locations, which can be considered as spatial coordinates expressed in latitude and longitude. Z(s) is the variable value at s, which can be decomposed into trend values. And autocorrelation random error By modifying this formula, different types of Kriging interpolation can be generated.

[0041] For trend values Simply assign a constant, that is, at any position s = ,if It is unknown; this is the basic model of ordinary Kriging. It can also be expressed as a linear function of spatial coordinates, as shown in formula (2): Formula (2); In one embodiment, when the regionalized variable satisfies the second-order stationarity assumption and its expected value is unknown, the ordinary kriging model is selected.

[0042] In one embodiment, a simple kriging model is used when the regionalized variable follows a normal distribution and its expected value is a known constant.

[0043] If the regression coefficients in the trend surface equation are unknown, the program will generate a generalized kriging model. The generalized kriging model is used when the regionalized variable is non-stationary and the data exhibits a dominant trend.

[0044] No matter how complex the trend is If a good prediction is still not obtained, then the error term needs to be adjusted. Make some assumptions, namely, assume the error term. The expected mean is 0, and and The autocorrelation between two points does not depend on the position of point s, but on the displacement h. To ensure that the autocorrelation equation has a solution, it is necessary to allow the autocorrelation between any two points to be equal.

[0045] In one embodiment, the left side of the equation Transform it into an indicator variable. When you only need to know whether the attribute value exceeds a certain threshold, choose indicator kriging. That is, if... Values ​​below a certain threshold are converted to 0, and values ​​above the threshold are converted to 1. Predictions are then made for values ​​above the threshold, forming the index Kriging model. If the index value is transformed into a function containing variables... That is, the indicator function that forms the disjunctive kriging.

[0046] In one embodiment, a co-kriging model can be used when there is a correlation between multiple attributes of the same thing, and some attributes are not easily obtained while others are easily obtained. If there are multiple variables, the model is as follows: , where j represents the j-th variable. Besides considering different trends for each variable... In addition, random error There are also cross-correlations between them. This type of kriging model based on multiple variables is called a co-kriging model.

[0047] Step S203: Based on the regression model and the variation function, iteratively train the first kriging interpolation to obtain the second kriging interpolation; wherein the accuracy error of the second kriging interpolation is within a preset error range.

[0048] In one embodiment, the second kriging interpolation is obtained by iteratively training the first kriging interpolation based on a regression model and a variogram, including: processing the data of the first type of sampling points and interpolating the processed first type of sampling points to obtain the first type of interpolated points; calculating the nearest neighbors of the first type of interpolated points to obtain the first type of nearest neighbors; performing regression analysis on the first type of nearest neighbors, and solving for the first type of nearest neighbors after regression analysis based on the variogram to obtain the second kriging interpolation.

[0049] In this embodiment, first-class nearest neighbor points are obtained by interpolating the first-class sampling points. During the interpolation process, stepwise regression is performed on the first-class sampling points to obtain the regressed sampling points. At the same time, the variogram is used to perform further error analysis on the regressed sampling points to reduce the number of regressions and quickly find the Kriging error of the regressed sampling points.

[0050] In this embodiment, the processing of the first type of sampling points includes: data preprocessing, removal of overlapping data points, data point coordinate matching, and unit conversion. Specifically, it includes using a flatness judgment method to determine whether to use the TPS method or the IPS method. When N fluid grid points are close to a plane, the degree of closeness can be measured by the parameter flatness α. If the parameter flatness α is less than a set threshold, fluid points that are very close to being coplanar are judged as non-coplanar, and the TPS method is used. If the parameter flatness α is greater than the set threshold, the program will judge fluid points that are not strictly coplanar as coplanar, and the IPS method is used. For data points obtained using different methods, coordinate matching is performed to remove overlapping points.

[0051] In this embodiment, interpolation is performed on the processed first type of sampling points to obtain the first type of interpolated points, including: calculating the K nearest neighbor points to obtain the interpolated points and the surrounding data points.

[0052] In one embodiment, regression analysis is performed on the first type of nearest neighbors, including: normalizing the data of the first type of nearest neighbors, calculating the mutual distances based on the normalized first type of nearest neighbors, and generating a symmetric matrix; and performing regression analysis on the first type of nearest neighbors based on a preset regression model and the symmetric matrix.

[0053] In this embodiment, the regression model is a multiple stepwise regression model. This regression model uses a stepwise search method to select effective explanatory variables in order to construct the optimal multiple linear regression model. Regression models are typically based on a dependent variable and multiple sets of independent variables. By using stepwise regression, some ineffective variables can be eliminated, yielding regression coefficients, predicted values, and residuals.

[0054] In one embodiment, solving for the first type of nearest neighbor points after regression analysis based on the variogram includes: using the variogram to traverse the first type of nearest neighbor points after regression and generating the kriging interpolation of the first type of nearest neighbor points; finding the error threshold of the kriging interpolation of the first type of nearest neighbor points based on a preset search method, and generating the second kriging interpolation if the error threshold is within a preset error range.

[0055] The conventional variogram describes both the spatial structural changes and stochastic changes of a regionalized variable. Assuming that a spatial point x varies only along the one-dimensional x-axis, the half-variogram of the variance of the difference between the values ​​of the regionalized variable Z(x) at points x and x+h is defined as the variogram of Z(x) along the x-axis, denoted as […]. It is expressed by formula (3), as shown in formula (3): Formula (3); Based on the range of valid data, the magnitude of variation can be obtained. Assuming the nugget value is equal to 0, and the sill value Z(x) is a regionalized variable satisfying the intrinsic hypothesis, theoretical variograms such as spherical, exponential, or Gaussian models are used. By fitting the theoretical model, and based on the fit, a search method is employed to obtain the optimal variation threshold, resulting in the fitted semi-variogram, and the Kriging coefficient is calculated. The threshold value is determined using a pattern search method. Pattern search is a method that does not require the derivative of the objective function during calculation, making it very effective for optimizing non-differentiable functions or functions where differentiation is extremely cumbersome. Pattern search involves finding a series of points X0, X1, X2, ... that increasingly approach the optimal value. When the search reaches a termination condition, the last point is taken as the solution for this search. The pattern search method is used to solve an optimization problem with N independent variables. ① An initial solution X0 needs to be determined, and the choice of this value has a great impact on the calculation results; ② The basis vector is determined to specify the search direction. For example, for a problem with two independent variables, it can be set as V(0, 1; 1, 0; -1, 0; 0, -1), that is, searching in a cross direction; ③ The search step size is determined, which will determine the convergence speed of the algorithm and the global search capability. The specific steps are as follows: ① Calculate the objective function value f(Xi) of the initial point, and then calculate the values ​​f(Xi+V(j)*L) of its neighboring points, j∈(1, 2...2N); ② If a point has a better function value, it means that the search is successful. Then Xi+1=Xi+V(j)*L, and the next search will be centered on Xi+1 with a step size of L=L*δ (δ>1, expanding the search range). If no such point is found, it means that the search has failed. Xi is still the center, with a step size of L=L*λ (λ<1, narrowing the search range); ③ Repeat the operation in ② until the termination condition is met. The termination condition can be that the number of iterations has reached the set value or the error is less than the specified value, etc.

[0056] In this embodiment, the magnitude of variation can be obtained based on the range of valid data. Assuming the nugget value is equal to 0, the sill value Z(x) is a regionalized variable that satisfies the intrinsic hypothesis. Theoretical models such as spherical models, exponential models, or Gaussian models are adopted. By fitting the theoretical model, the optimal variation threshold is obtained by using a search method based on the fitting, and the fitted difference function is obtained. The difference function model is fitted with the distance value h and the difference function value, the allowable error threshold is given, the distance of any point is calculated and grouped. Considering the relationship between the difference function value y and the distance coefficient matrix A and the different model parameters such as Gaussian models or exponential models, and considering the error of the observed values, the regression model after linearization of Gaussian models or exponential models is as shown in formula (4): y Formula (4); If we consider the different precisions and contributions of elements y and A, the parameter estimation problem of the difference function model adopts a multiple stepwise regression model for error estimation and iterative processing. The multiple stepwise regression model is selected as the initial values, the error is calculated, and the calculation is iterative until the error range is satisfied.

[0057] Step S204: Construct an error model for the first type of sampling points. Determine whether the accuracy error of the second kriging interpolation has converged based on the error model. If the error of the second kriging interpolation has converged, the second kriging interpolation is the target kriging interpolation.

[0058] In one embodiment, constructing an error model for a first type of sampling points includes: obtaining a first load of the first type of sampling points on a first model; calculating a second model corresponding to the first model based on a second kriging interpolation, wherein the second model is a solid structure model; restoring the second model to the first type of sampling points of the first model to obtain a second load; and constructing an error model for the first type of sampling points based on the first load and the second load.

[0059] In this embodiment, step S204 converts the first model into the second model using the second kriging interpolation, and then restores the second model to the first model. This further verifies the error convergence of the second kriging interpolation, thereby ensuring that the second kriging interpolation effectively coordinates the unidirectional weak coupling between the aerodynamic load and strength design software in the subsequent target transformation. The existing first model has a very large amount of data. The interpolation effect obtained by using the high-order spatial grid fluid-structure interaction interpolation method of this application is as follows: Figure 3 As shown, Figure 4 Compared to existing interpolation methods, this method offers improved accuracy and produces a smoother final image.

[0060] Figure 4 This is a schematic diagram of a fluid-structure interaction interpolation device for a high-order spatial mesh, as shown in an embodiment of this application. For ease of explanation, only the parts relevant to the embodiments of this application are shown. Figure 4 The example device mainly includes a sampling unit 401, a first calculation unit 402, a second calculation unit 403, and a judgment unit 404, wherein: Sampling unit 401 is used to acquire the first type of sampling points of the first model and perform data analysis on the parameters of the first type of sampling points; the first model is a fluid model. The first calculation unit 402 is used to calculate the first kriging interpolation corresponding to the first type of sampling points based on the kriging interpolation method when the analysis results satisfy a normal distribution. The second computing unit 403 is used to iteratively train the first kriging interpolation based on the regression model and the variation function to obtain the second kriging interpolation; wherein the accuracy error of the second kriging interpolation is within a preset error range. The judgment unit 404 is used to construct the error model of the first type of sampling points, and to determine whether the accuracy error of the second kriging interpolation has converged based on the error model. If the error of the second kriging interpolation has converged, the second kriging interpolation is the target kriging interpolation.

[0061] In one embodiment, calculating the first Kriging interpolation value corresponding to the first type of sampling points based on the Kriging interpolation method includes: obtaining the boundary of the first type of sampling points and the original grid spatial distribution of the first model, determining the activation conditions of the Kriging interpolation method; and selecting a preset Kriging interpolation model according to the activation conditions of the Kriging interpolation method.

[0062] In one embodiment, the preset kriging interpolation model includes at least one or more of the following: general kriging model, ordinary kriging model, simple kriging model, indicator kriging model, and co-kriging model.

[0063] In one embodiment, based on a regression model and a variogram, the first kriging interpolation is iteratively trained, and a second kriging interpolation is output. This includes: processing the data of the first type of sampling points and interpolating the processed first type of sampling points to obtain the first type of interpolated points; calculating the nearest neighbors of the first type of interpolated points to obtain the first type of nearest neighbors; performing regression analysis on the first type of nearest neighbors, and solving for the first type of nearest neighbors after regression analysis based on the variogram to obtain the second kriging interpolation.

[0064] In one embodiment, regression analysis is performed on the first type of nearest neighbors, including: normalizing the data of the first type of nearest neighbors, calculating the mutual distances based on the normalized first type of nearest neighbors, and generating a symmetric matrix; and performing regression analysis on the first type of nearest neighbors based on a preset regression model and the symmetric matrix.

[0065] In one embodiment, solving for the first type of nearest neighbor points after regression analysis based on the variogram includes: using the variogram to traverse the first type of nearest neighbor points after regression, generating the kriging interpolation of the first type of nearest neighbor points; finding the error threshold of the kriging interpolation of the first type of nearest neighbor points based on a preset search method, and generating the second kriging interpolation when the error threshold is within a preset error range.

[0066] In one embodiment, constructing an error model for a first type of sampling points includes: obtaining a first load of the first type of sampling points on a first model; calculating a second model corresponding to the first model based on a second kriging interpolation, wherein the second model is a solid structure model; restoring the second model to the first type of sampling points of the first model to obtain a second load; and constructing an error model for the first type of sampling points based on the first load and the second load.

[0067] The technical solution provided in this application may include the following beneficial effects: On the one hand, this scheme, based on ordinary kriging interpolation, employs generalized kriging and co-kriging interpolation methods. An adaptive kriging method is used to generate kriging interpolations as training samples, and error prediction is performed to improve interpolation accuracy. On the other hand, a regression model and a difference function are used as the initial iterative model for interpolation. The error of the first kriging interpolation is iterated to generate a second kriging interpolation within the target error range. By iteratively applying the regression model and difference function to the first kriging interpolation, the iteration process of the first kriging interpolation error is simplified, thus solving the computational cost problem.

[0068] On the other hand, this application also provides an error model for verifying the effectiveness of the second kriging interpolation, thereby ensuring that the second kriging interpolation achieves effective coordination of the unidirectional weak coupling between the aerodynamic load-strength design software in the subsequent target transformation.

[0069] See Figure 5 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this application. The electronic device 500 includes a memory 510 and a processor 520.

[0070] The processor 520 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0071] Memory 510 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by the processor 520 or other modules of the computer. Permanent storage devices may be read-write storage devices. Permanent storage devices may be non-volatile storage devices that retain stored instructions and data even when the computer is powered off. In some embodiments, permanent storage devices use mass storage devices (e.g., magnetic or optical disks, flash memory) as permanent storage devices. In other embodiments, permanent storage devices may be removable storage devices (e.g., floppy disks, optical drives). System memory may be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory may store some or all of the instructions and data required by the processor during operation. Furthermore, memory 510 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, memory 510 may include a removable storage device that is readable and / or writable, such as a laser disc (CD), a read-only digital multifunction optical disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, an ultra-high density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wired connections.

[0072] The memory 510 stores executable code, which, when processed by the processor 520, can cause the processor 520 to execute part or all of the methods described above.

[0073] Furthermore, the method according to this application can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the method described above.

[0074] Alternatively, this application may be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium) storing executable code (or computer program or computer instruction code) thereon, which, when executed by a processor of an electronic device (or server, etc.), causes the processor to perform part or all of the steps of the methods described above according to this application.

[0075] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A fluid-structure interaction interpolation method for high-order spatial grids, characterized in that, include: Obtain the first type of sampling points of the first model, and perform data analysis on the parameters of the first type of sampling points; the first model is a fluid model. If the analysis results follow a normal distribution, the first kriging interpolation value corresponding to the first type of sampling point is calculated based on the kriging interpolation method. Based on the regression model and the variogram, the first kriging interpolation is iteratively trained to obtain the second kriging interpolation; wherein the accuracy error of the second kriging interpolation is within a preset error range, including: processing the data of the first type of sampling points, and interpolating the processed first type of sampling points to obtain the first type of interpolated points; calculating the nearest neighbors of the first type of interpolated points to obtain the first type of nearest neighbors; performing regression analysis on the first type of nearest neighbors, and solving the first type of nearest neighbors after regression analysis according to the variogram to obtain the second kriging interpolation; An error model for the first type of sampling points is constructed. Based on the error model, it is determined whether the accuracy error of the second kriging interpolation converges. If the error of the second kriging interpolation converges, the second kriging interpolation is the target kriging interpolation.

2. The method according to claim 1, characterized in that, The calculation of the first kriging interpolation value corresponding to the first type of sampling point based on the kriging interpolation method includes: Obtain the boundary of the first type of sampling points and the original grid spatial distribution of the first model, and determine the start-up conditions of the Kriging interpolation method; Based on the activation conditions of the Kriging interpolation method, a preset Kriging interpolation model is selected.

3. The method according to claim 2, characterized in that, The preset kriging interpolation model includes at least one or more of the following: general kriging model, ordinary kriging model, simple kriging model, indicator kriging model, and co-kriging model.

4. The method according to claim 1, characterized in that, The regression analysis of the first type of nearest neighbors includes: Normalize the first type of nearest neighbor data, calculate the mutual distances based on the normalized first type of nearest neighbors, and generate a symmetric matrix; Based on the preset regression model and the symmetric matrix, regression analysis is performed on the first type of nearest neighbor points.

5. The method according to claim 4, characterized in that, The step of solving for the first type of nearest neighbors after regression analysis based on the variogram includes: The variogram function is used to traverse the first type of nearest neighbors after regression, and the kriging interpolation of the first type of nearest neighbors is generated. The error threshold for Kriging interpolation of the first type of nearest neighbor points is found based on a preset search method. When the error threshold is within the preset error range, the second Kriging interpolation is generated.

6. The method according to claim 1, characterized in that, The construction of the error model for the first type of sampling points includes: Obtain the first load of the first type of sampling points on the first model; The second model corresponding to the first model is calculated based on the second kriging interpolation, and the second model is a solid structure model. The second model is restored to the first type of sampling points of the first model to obtain the second load; Based on the first load and the second load, an error model for the first type of sampling points is constructed.

7. A fluid-structure interaction interpolation device for high-order spatial grids, characterized in that, include: A sampling unit is used to acquire the first type of sampling points of the first model and perform data analysis on the parameters of the first type of sampling points; the first model is a fluid model. The first calculation unit is used to calculate the first kriging interpolation corresponding to the first type of sampling points based on the kriging interpolation method, provided that the analysis results satisfy a normal distribution. The second calculation unit is used to iteratively train the first kriging interpolation based on a regression model and a variogram function to obtain a second kriging interpolation. The accuracy error of the second kriging interpolation is within a preset error range. The process includes: processing the first type of sampling points and interpolating the processed first type of sampling points to obtain first type of interpolated points; calculating the nearest neighbors of the first type of interpolated points to obtain first type of nearest neighbors; performing regression analysis on the first type of nearest neighbors, and solving for the first type of nearest neighbors after regression analysis based on the variogram function to obtain the second kriging interpolation. The judgment unit is used to construct an error model for the first type of sampling points, and to determine whether the accuracy error of the second kriging interpolation has converged based on the error model. If the error of the second kriging interpolation has converged, the second kriging interpolation is the target kriging interpolation.

8. An electronic device, characterized in that, include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, causes the processor to perform the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, It stores executable code that, when executed by a processor of an electronic device, causes the processor to perform the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • ASF correction table construction method based on improved Kriging interpolation algorithm

    CN111125885A