UseofMultiquadricFunctions forMultivariableRepresentationof the Aerodynamic Coefficients of Airfoils

Given an array (or matrix) of values for a function of one or more variables, it is often desired to find a value between two given points. Multivariable interpolation and approximation by radial basis functions are important subjects in approximation theory that have many applications in Science and Engineering fields. During the last decades, radial basis functions (RBFs) have found increasingly widespread use for functional approximation of scattered data. *is research work aims at benchmarking two different approaches: an approximation by radial basis functions and a piecewise linear multivariable interpolation in terms of their effectiveness and efficiency in order to conclude about the advantages and disadvantages of each approach in approximating the aerodynamic coefficients of airfoils. *e main focus of this article is to study the main factors that affect the accuracy of the multiquadric functions, including the location and quantity of centers and the choice of the form factor. It also benchmarks them against piecewise linear multivariable interpolation regarding their precision throughout the selected domain and the computational cost required to accomplish a given amount of solutions associated with the aerodynamic coefficients of lift, drag and pitching moment. *e approximation functions are applied to two different multidimensional cases: two independent variables, where the aerodynamic coefficients depend on the Reynolds number (Re) and the angle-of-attack (α), and four independent variables, where the aerodynamic coefficients depend on Re, α, flap chord ratio (cflap), and flap deflection (δflap).


Introduction
e application of multiquadric functions to approximate a given set of sampling points was introduced for the first time in 1968 by Hardy, mainly due to the limitations of the various harmonic and polynomial series to represent topography surfaces. is new analytical method intends to represent irregular surfaces through the sum of quadric surfaces that emerge from certain points of interest within the domain of the function, which are called center points (or abbreviated just by centers), which are radially symmetrical with respect to that same point. e multiquadric function is associated with unknown parameters that need to be calculated to create an approximation with low interpolation error and with a realistic evolution between any two points belonging to the domain, this being the most laborious task of the whole procedure [1]. In 1982, Franke made an important step in the evolution of the method, comparing 29 different interpolation algorithms (including the multiquadric functions) for a set of 6 different functions, having concluded that the multiquadric functions present numerous advantages over the other methods, with respect to the precision and evolution of the surface between two known points, obtaining a smoother and visually more appealing surface [2]. Micchelli analyzed the coefficients of the radial basis functions (RBFs) matrices, with different numbers of centers and proved that these matrices are invertible and positively defined [3]. Another application of great interest based on the RBFs was developed by Kansa and Sarra, to obtain approximate solutions for systems of differential equations [4][5][6]. In the present work, however, the motivation is the creation of an approximate solution of a sample set of data in the form of multiquadric functions.
ere are essentially two parameters that greatly affect the accuracy of the method: the location and number of centers and the choice of a parameter called form factor. As far as the location of centers within the domain is concerned, according to Hardy [1,7], the best option is a placement only in existing data points, since these are the origin of the quadric surface, a zone whose inclination is also dependent on the value of the form factor, which affects the smoothness of the surface. As far as the form factor is concerned, its choice has a huge impact on the convergence and accuracy of the method. Over the years, there have been several attempts by various authors to numerically, or experimentally, calculate the optimal form factor, but to this day there is still no consensus-building method. e three most accepted and most simplistic methods were introduced by Hardy [1], Franke [2], and Fasshauer [8], whose value depends essentially on the number and location of the centers. ere are, however, other more complex methods for its determination, whose objective is the minimization of the interpolation error, being that the most widely accepted was introduced by Rippa [9]. A smaller form factor typically corresponds to a flatter surface with more abrupt contours, whereas a larger form factor is characterized by smoother surface evolutions. ere are typically five parameters that dictate whether the approximation function requires a greater or lesser form factor: (1) the known sampling points evolution, (2) the RBF used, (3) the domain, (4) the spacing between the sampling points, and (5) the location and number of center points [10]. More recent studies have attempted to find the optimal form factor for each quadric surface, depending on their local properties, so that a distinct form factor for each center applied in the approximation would exist [11][12][13][14]. Another solution, but with the same objective, is to use a high form factor (which goes against Hardy's ideas) and constant for all the quadrics used and then find a way to correct the bad conditioning of the interpolation matrix, making efforts to lower their conditioning number through computational algorithms [6,[15][16][17].
ere are also studies using optimization methods, which aim to find the best constant factor to reach any previously defined goal [18][19][20][21]. e main conclusion of recent studies regarding the increase of the form factor in the multiquadric functions is that, as the approximation function generates flatter and softer curves, it becomes also more insensitive to the Euclidean distance between the center point and any known sampling point, and the elements of the interpolation matrix become almost equal, which makes the matrix ill-conditioned or even singular in the limit situation. Other recent studies have proposed automatic curve fitting methodologies based on RBF [22] and adaptive methods for eigenvalue problems [23], initial value problems [24], and noise reduction problems [25], among other applications.
Another recent application of multiquadric functions is associated with surrogate models, an engineering method used to estimate the value of any parameter of interest that cannot be directly measured. Most engineering works, before being implemented on a real scale, go through a phase of experimentation and/or simulation to evaluate if the objectives that they propose are feasible, with the advantage of reducing associated costs if any failure is detected. From the aeronautical point of view, in order to find the optimum airfoil to apply to an aircraft wing, so as to optimize a given flight condition or even a set of flight conditions, an engineer must carry out computational and/or experimental simulations to understand the effect of the shape variation of the airfoil (e.g., chord, camber, thickness, and material) which sometimes requires several days or weeks of waiting. To overcome this barrier, surrogate models [26,27] are used to replicate (or approximate) the behavior of the simulation in the best possible way, but with much less computational cost. is method aims at generating a model surface based on a limited number of simulator responses.

Problem Definition
Within the context of aircraft design optimization methodologies and computational codes, one of the most important aspects is obviously to compute accurate aerodynamic coefficients for the lifting surfaces for any given flight condition at the lowest possible cost. In low fidelity analyses, the high cost of computational fluid dynamics makes this choice poorly competitive with respect to simpler methods: the most common solutions being the Lifting Line eory (LLT), the Vortex Lattice Method (VLM), and the 3D Panel Method. Nonlinear formulations of LLT and VLM require knowledge of the airfoil aerodynamic coefficient curves at various sections across the span.
For using such methods, it is fundamental to have good estimates for the airfoil lift, drag, and pitching moment coefficients (C l , C d , and C m ). Particularly, in low Reynolds number flows, it turns out to be absolutely crucial to have a high sampling rate of this coefficients as the optimizations are run because every time there is an airspeed change, the respective impact on the aerodynamic coefficients not only is hard to forecast but also exhibits nonlinear behavior in some situations. If the aerodynamic coefficients are not accurate enough, all the aircraft optimization codes will be mistakenly biased which will result in poor optimization results.
In a standard airfoil, it is right to consider that its aerodynamic coefficients are functions of the Reynolds number (Re) and the angle-of-attack (α). Provided there is a fair number of Re and α combinations for which the aerodynamic coefficients are known, it is straightforward and not costly to implement a multilinear interpolation strategy which does not impact performance while providing good results by using pairs of consecutive data points. In the scope of this paper, this approach, which approximates a multivariable continuous function given by a discrete number of data points by a product of linear functions, is called piecewise linear multivariable interpolation [28].
However, if the goal is the assessment of a continuous morphing flap solution, the same approach could become more costly as the number of variables would obviously increase. e challenge is thus to develop an approximate method, using multiquadric functions, which enable a fast and accurate computation of the aforementioned aerodynamic coefficients as a direct function of Reynolds number (Re), angle-of-attack (α), flap chord ratio (c flap ), and flap deflection (δ flap ) and then compare its accuracy and computation time with the multivariable interpolation approach and with direct analysis by XFOIL [29]. For a given set of airfoil operational low-speed conditions, which may comprise airspeed, altitude, air turbulence level, and surface roughness, those parameters were considered the most relevant of all affecting the aerodynamic coefficients of a given fixed airfoil [30].

Method Formulation.
Multiquadric surfaces can be represented generically by the series: (1) In this equation, z is a function of the input variables x and y, resulting from the sum of all the quadric surfaces q involved.
e vertical axis of symmetry of each quadric surface is located at a specific point called the center point (or just center) of generic coordinates (x i , y i ), which are associated with an unknown coefficient of the function c i , which must be calculated in such a way as to describe the shape and the algebraic sign of the given surface.
ere are certain particular examples of multiquadric surfaces, including the summation of a series of circular hyperboloids in two sheets, probably the most common, which is mathematically represented by Another typical example is a multiquadric surface defined by the summation of a series of circular paraboloids, which is mathematically represented by where the parameter σ represents the form factor of the specific quadric surface, a constant defined by the user and with great impact on the accuracy of the approximation. After applying equation (2), one can observe in Figure 1 a representation of a quadric surface centered at point (x, y) � (5,5), in a domain with x, y ∈ [0, 10] and with the form factor equal to zero and one, respectively. When the form factor is equal to zero, a conical surface is generated, whereas with a form factor greater than zero, the surface softens, and its center region exhibits the shape of a curve (with a continuous derivative function) instead of a vertex. e multiquadric approximation function h as a function of only one vector x, in the xz-plane, is presented next to more succinctly illustrate the solution method. Later, the method is extended to more variables, since this does not modify the methodology, but only modifies the size of the problem. us, the multiquadric approximation function is defined by e sum consists of (n + 1) elements, associated to the n centers used to generate the approximation function, which also corresponds to (n + 1) coefficients c i that must be calculated according to the sample data to be approximated. In this notation, ∅ i (x) is a multiquadric function and is defined as After calculating this parameter, for the selected centers and form factor, the coefficients c i are obtained. is is the true challenge behind the multiquadric approximation, whose main objective is to minimize the difference between the approximation value (h) and the real value (h): where c is the vector of the function coefficients. In matrix form, the problem can be written as or, alternatively, in a more condensed notation, e interpolation matrix M has m rows, associated with the m known sampling points, so m is the total number of points. It also has (n + 1) columns, the first one being totally filled by ones, where n represents the total number of centers used to represent the function. Vector c represents the (n + 1) unknown coefficients of the function, which will be calculated using the vector of the absolute terms, denoted by vector h of dimension m. erefore, h(x) and h(x) are, respectively, the approximation function and the actual function (or set of discrete data) which are required to be approximated, respectively.
If matrix M were square (with equal number of rows and columns), the calculation of the function coefficients would only require a simple matrix inversion; however, for this situation, it is necessary to find the values of c i that minimize the following function: Mathematical Problems in Engineering 3 where ‖·‖ represents the Euclidean norm. e solution of the previous equation is obtained through the pseudoinverse of the matrix M as follows: where [c] is the vector c in matrix representation. It can be shown that it is possible to compute the approximation function h(x) in equation (4), once matrix M and the function coefficients associated with the selected centers are calculated. If two independent variables x and y are used in the data, equation (4) is slightly modified converting the hyperboles into circular hyperboloids with the following mathematical formulation: However, in order to obtain a good approximation, it is necessary to understand the influence of the placement of the centers and the form factor that composes the function. Depending on the user, the concept of good approximation may have different meanings, whereas some applications emphasize the speed of the function generation (and low processing time to get the approximation values), and others focus more on accuracy in order to obtain an interpolation error below a certain value. In this way, it is necessary to understand the effects behind the parameters that make up the approximation function so that they can be adjusted according to specific needs and objectives.

Center Points' Placement.
It is neither practical nor realistic to manually perform the distribution of the centers over the domain under study, especially when the number of sampling points or the number of independent variables increases. erefore, a method that automatically calculates the centers regardless of the domain and/or number of variables is needed. It is known from the outset that the greater the number of centers used, the more complex the multiquadric function becomes and, consequently, the greater the computational effort required to generate the function. As such, the user must stipulate a compromise between having greater accuracy (and greater computation time) or faster processing time (with less computational effort and with the subsequent decreased accuracy).
If the function is defined in a two-dimensional space, or in a higher dimension, it is not enough to identify the number of centers that establish the function, since these can be distributed in countless ways along the domain. erefore, whenever it is necessary to identify the number of centers applied, taking for example a two-dimensional space, the number of centers will be selected in a line parallel to the x-axis and y-axis so that the total number of centers making up the multiquadric function will always be the product of both values, since the automatic method of collocation guarantees symmetry in its placement. In a two-dimensional space, the variables used follow the notation (x, y) for any set of discrete data or Re and α when applied to the analysis of wing airfoils, whereas with four independent variables, the notation will change to (x, y, z, t) or (Re, α, c flap , δ flap ) when applied to flapped wing airfoils. Variables x, y, z, and t are associated with Re, α (in degrees), and percentage of c flap and δ flap (in degrees), respectively.
In order to denote the number of centers that make up the function, the following notation will be used in the twodimensional space, taking as an example C(5,4) when placing five centers in a line parallel to the x-axis and four centers in a line parallel to the y-axis, shown in Figure 2(b) (using the automatic collocation method). With respect to the number of sample points used to approximate the values of the aerodynamic coefficients of the wing airfoils, the notation P(21,21) is used as shown in Figure 2(a). us, one can describe exactly how the centers and sample points are distributed throughout the domain. Note that the cases under study the known points associated with the aerodynamic coefficients are also symmetrically distributed (which allows the use of the notation P(x,y)), although it is possible to have the known points in any distribution within the domain defined for the purpose. However, since the  Mathematical Problems in Engineering aerodynamic coefficients are obtained from the XFOIL program and because of program interface limitations, the sample data will always be symmetrically distributed.
In one of his more recent works, Hardy states that the best and simplest solution is to place the centers exactly in the same positions where the sample points are, since each center point generates a focus of inclination in that position, which is not beneficial to occur in arbitrary domain positions [4]. However, placing a center at each known data point increases the processing time required, since the interpolation matrices take on a larger dimension, so this alternative was adapted, and a new collocation method was implemented. is method places the points symmetrically along the domain assuring that each center is also a known point of the function, a strategy advised by several authors.
is strategy, in addition to placing centers symmetrically distributed throughout the domain and at known data points, distributes the centers as uniformly as possible so that one can avoid having large ranges of points without any centers compared to other areas of the domain. When the number of centers is also equal to the number of points, the upper limiting case for the number of used centers means that each known point will also be a center of the function.
As an example, a random two-dimensional domain, with the sample points x, y ∈ [− 10, 10] and with a unit step, which makes up for a total of 441 sample points, or in the notation P (21,21), as shown in Figure 2(a), which shows all available points to generate the approximation function is defined. e automatic distribution of the centers applying the implemented automatic placement method is also shown in Figure 2(b), with five centers in a line parallel to the x-axis and four centers in a line parallel to the y-axis, which makes a total of 20 centers, or in the notation C (5,4). An increase in the number of centers may not always benefit the approximation function, since increasing its quantity also means changing, in most cases, the location of all other centers in order to readjust them in a new configuration.
us, by changing the location of the centers, the method can sometimes place them in less appropriate places (depending on the sample set), increasing its quantity and thus slightly worsening the function interpolation error. It is, however, desirable to adopt this configuration alternatively to one in which the addition of centers does not adjust the location of the previous centers because in this way better results can be obtained with low amounts of centers, since these will always be almost uniformly distributed over the domain and each readjustment of the number of centers will also readjust all the configuration adopted in its placement.

Form Factor Calculation Using FFSQP.
e idea of implementing this optimization method came as a corollary due to the typical evolution of the curves of the average relative error versus the form factor, in order to find, in an automated way, without user intervention, the best possible form factor for the combination of predefined centers, that is, the smallest percentage average relative error (or abbreviated by REL.P) is obtained. is method aims to be applied to convex functions to find the value for which its derivative is (approximately) zero in the vicinity of the initial point under study. Despite not being possible to guarantee that this point is in fact an absolute maximum or minimum of the function, it will always be at least a local maximum or minimum in the study region. Considering the case study, a function minimization is required. FFSQP 3.7 (FORTRAN Feasible Sequential Quadratic Programming-Version 3.7) is a series of subroutines that aim to minimize the solution of one or more defined objective functions (with the possibility of none at all) subject to predefined constraints. It is up to the user to provide an initial estimate of the solution from which to start the application of the method, preferably in the vicinity where the method will predictably find a plausible solution compliant with the restrictions imposed and that minimizes the objective. If this initial estimate does not respect the constraints imposed, a plausible estimate is generated from which the iterative process starts. It is also up to the user to define the subroutines encompassing the objective function(s) and the constraint(s) applied to the problem. is process solves differential equations based on the approximation of derivatives through forward finite differences, having its formulation based on the Taylor series of the derivative function. is optimization method calculates the derivatives of a given objective function (which in this case is the REL.P as a function of the form factor) and autonomously determines the point at which the derivative is (approximately) zero, which corresponds to a local minimum of the function [31].
In the course of the study, the parameters shown in Table 1 were applied in order to guarantee, as much as possible, a fast and accurate approximation. ese parameters have been subjected to several sensitivity tests to understand its influence.
ere are mainly two parameters that influence the value of convergence of the method: the step size and the initial value where the process starts. As for the step size, it affects not only the speed of convergence but also has an impact on the quality of the solution. Having a high step size leads to a larger iteration step, which may allow the desired solution to be reached more quickly, but it can also be a factor that leads the solution to zones of unstable solution, exceeding the desired local minimum. e initial form factor can also have an impact on the solution since one may already be in the vicinity of another local minimum (when the evolution of the function is nonmonotonic), which may be beneficial or harmful, depending on the convex shape acquired by the defined objective function. It was decided to define the step size equal to 0.1E-6 and a form factor whose initial value equals zero.
Another important aspect that mainly affects the convergence time of the method is the required accuracy of the solution, since the greater the precision, the greater the number of iterations required for the method to converge. erefore, an accuracy of 0.001% was adopted for the mean relative error. By reducing accuracy, it is possible to achieve similar (but less accurate) solutions with lower convergence time; thus, it is up to the user to adjust it to each problem.

Normalization of the Problem.
e implemented algorithm is made to work regardless of the dataset. is includes datasets with different dimensions, number of points, and variables' magnitude. erefore, a normalization to all points belonging to the data set in a range of [− 1,1] for all input variables is applied, to be able to always have a relative perception of the zone of the domain that the user is interested in, without investigating the limits of the domain of the variable, always having the guarantee that it is within the defined limits.
is approach aims to standardize the datasets, regardless of their size. It is known that the value of the form factor is naturally related to the set of sample points and to the absolute distance between them, so this approach also tries to standardize, as far as possible, the range of form factor values that enables a good approximation to the function. Since typically the computational methods have difficulty in operating with values of great magnitude, it is also intended with this procedure to reduce the absolute value of the large scales.
In the same way that the data points are normalized, the particular centers along the domain will also be normalized, in order to keep the solution consistent. In Figure 3(b), the centers automatically placed before normalization for a domain with P (19,7), where x ∈ [0, 18] and y ∈ [0, 6], are represented, with a uniform step between any two consecutive points equal to one for both variables. Figure 3(c) features the distribution of the centers after their normalization with C (11,5). e dataset used before normalization is represented in Figure 3(a). It was decided to apply the representation in a two-dimensional space since it facilitates the understanding of the problem, although this method is extended to any dimensional space.

Piecewise Linear Multivariable Interpolation
A more conventional approach to estimate the value of a function between two known points is the linear interpolation method. If the function under analysis is linear, then the linearly interpolated value will be its exact value. If the array has more than two dimensions (multivariable), the value sought will be at a point within the interior of the corresponding polytope, with the number of mathematical operations to be performed depending on the number of problem dimensions. e quality of the interpolated solution depends not only on the number of scattered points for which the function is known but also on the function behavior. e more linear behavior it exhibits, the better will be the fitting between the actual function and the interpolated values.
Before generalizing the multilinear interpolation approach, let us look at the simplest case of a linear interpolation. Let the superscript (i) denote the variable dimension and subscript (j) denote the point's reference number, (x i j ). Figure 4 depicts a typical scheme with two points, for which the function is known (f(x 1 0 )) and (f(x 1 1 )), and the point in between these two, for which the linear interpolation is required (f(x 1 2 )). Equation (12) shows the linear interpolation used for computing f C (x 1 2 ): If the goal were to obtain a bilinear interpolation, the problem to solve would be something like the scheme shown  Figure 5. e function value is known at the four points A, B, C, and D, (f(x 1 0 , x 2 1 )), (f(x 1 1 , x 2 1 )), (f(x 1 0 , x 2 0 )), and (f(x 1 1 , x 2 0 )), respectively, and the bilinear interpolation goal is to obtain an approximate value for the same function at point E, (f(x 1 2 , x 2 2 )). Contrary to the approach adopted for the linear interpolation, the bilinear interpolation is divided into two steps, each of which representing a linear interpolation. e first step consists of computing the function value at points E 0 and E 1 , each being obtained via a linear interpolation: e second step is to use these two new points to estimate the function value at point E, in the same way as it is done in the linear interpolation: As the number of variables increases, the graphical representation becomes harder to understand and it is therefore important to generalize what has been stated for linear and bilinear interpolation to multivariable interpolation, f(x 1 2 , x 2 2 , x 3 2 , . . . , x n 2 ). e first step is to determine the coordinates of the known points which are closer to the point (x 1 2 , x 2 2 , x 3 2 , . . . , x n 2 ). ese points define the vertices of a multidimensional polytope surrounding the point at which the function aims to be interpolated:  Figure 4: Linear interpolation.

Mathematical Problems in Engineering
Following a similar approach to the one presented for the linear and bilinear interpolation and beginning by interpolating variable x 1 2 , Interpolating variable x 2 2 , Interpolating variable x n 2 , e number of vertices of the aforementioned multidimensional polytope is equal to (2 n ), with (n) being the number of problem dimensions, and the number of linear interpolations to be performed is thus equal to ( n i�1 2 i − 1). is methodology can be applied to a set of data, representing a multidimensional non-linear function, by fitting linear functions inside the polytope made up by consecutive data points. e result is a nonlinear global representation of the data by local piecewise linear multivariable interpolation.

Two Independent Variables.
is section begins by approximating the aerodynamic coefficients of airfoils as a function of Re and α through multiquadric functions. Four different approaches are applied to analyze the behavior and applicability of the available approximation functions in Sections 5.1.2-5.1.5.

Airfoils and Domain
Used roughout the Study. Two different airfoils: UBI_03_016 and DAE-21, represented in Figures 6 and 7, respectively, are used throughout the study to approximate their aerodynamic coefficients (lift, drag, and pitching moment). e data points applied were obtained from XFOIL: P5,51 for each dataset associated with any given aerodynamic coefficient. A set of 255 sample points are used to define each function that represents a particular aerodynamic coefficient with Re ∈ [75000, 675000] and α ∈ [− 5, 20], which results in a step of 150,000 and 1 degree, respectively. Since the goal is to define the coefficients through a multiquadric function, Re and α are treated as independent variables associated with the function, while the associated coefficient is the output value. e first important aspect to highlight is the greater difficulty in approximating the data corresponding to the drag coefficient, a trend that is not limited to these airfoils. Irregularity and nonstandard behavior mean that more centers are required to allow reasonable approximations with multiquadric functions. Considering the other two aerodynamic coefficients, it is possible to note some similarities in the approach behavior depending on the number of centers applied when comparing the two wing airfoils. It should be noted that the goal is, however, to optimize the value of the form factor as far as possible to minimize the associated errors.

Influence of the Number of Centers and of the Form
To have a perception of the value of the form factor from which an unstable behavior occurs in the solution, resulting from the ill-conditioning associated with the interpolation matrix, the evolution of the REL.P with a growing form factor is represented in Figure 9 for all possible centers combinations of the UBI_03_016 airfoil lift coefficient.

Form Factor Optimization Using FFSQP 3.7.
To demonstrate the benefits of applying this optimization method, a random set of centers' combinations, associated with the multiquadric function that approximates the lift coefficient (since the trend is the same for the other aerodynamic coefficients), is selected, and then, the method is applied to find the form factor that minimizes the percentage relative error. e results obtained are shown in Tables 2-4. is method always converges to the local minimum of the objective function defined in the vicinity of the chosen starting point as the form factor is equal to zero. Since this approach requires many iterations to ensure convergence of the optimized form factor, the time required to fully generate the function, with all associated function coefficients calculated and saved (or generation time with abbreviation GT), to be used to obtain approximate solutions of the aerodynamic coefficients is presented. As a way of comparison, the solution obtained by maintaining a form factor equal to zero for all existing centers is also presented.
To verify the benefits of the application of the FFSQP method, Figure 10 presents the evolution of the REL.P versus the form factor for the two airfoils under analysis and for all center combinations. Note that the observed unstable zone occurs due to poor conditioning of the interpolation matrices, a situation already detected by Hardy and many other researchers when increasing the form factor too much. e more centers applied the sooner instability begins, that is, for smaller form factors. e FFSQP method makes it possible to achieve the local minimum of the function with the cost of increasing the required processing time, since several iterations are required until the method converges to the desired final solution. It is up to the user to assess the benefits of having greater precision at the cost of increased generation time. Note that once the function is generated it can provide infinite approximate solutions of the aerodynamic coefficients, depending on the input data entered, since the function needs to be generated only once.

Accuracy of the Approximation Methods.
Since the problem has a finite set of data points dispersed over a predefined domain, there is no continuity between any two consecutive points, so it is up to the applied approximation function to estimate its shape. In most situations, it is not enough to obtain a low interpolation error, that is, a low error in the known data points, and it is also necessary to have a realistic evolution between any two consecutive points. To assess the quality of the approximation resulting from the dataset, the concentration of the data points increased within the previously defined domain, again using XFOIL to get P(13,251), or 3263 sampling points, with a uniform step of 50000 and 0.1 for Re and α, respectively.
By knowing the exact value (in some locations) of the neighboring data points used to generate the functions, it is possible to compare those with the values obtained using the approximations methods and find out whether the methods provide or not a good approximation. In Figure 11, the location of the 3263 data points (inserted inside the domain under study) is represented in yellow, while the location of the data points used to define the multiquadric functions and multivariable interpolation is represented in black. is analysis refers to the DAE-21 airfoil shown in Figure 7.
While the set of known points has increased, the points to generate the functions have not. erefore, it is required to change the adopted nomenclature. When analyzing the mean relative error for all points represented in yellow in Figure 11, parameter REL.P.A (percentage average relative error increased) is used instead, since REL.P only contemplates the data points used to generate the approximation functions.
Looking at the results obtained and only considering the multiquadric functions with form factors equal to 0, 0.1 and 0.15, it was observed that the methods of piecewise linear multivariable interpolation and multiquadric functions provided very similar approximations. While the piecewise  linear multivariable interpolation approach yielded a 4.9%, 16.1%, and 1.9% REL.P.A, the multiquadric functions generated minimum values around 5.7%, 15.5%, and 3.5% for the lift, drag, and pitching moment coefficients, respectively.
For certain multiquadric functions with certain centers combinations (keeping a constant form factor equal to zero), the absolute error (ABS) across the domain between the multiquadric and the multivariable interpolation functions was compared. In order to identify the regions of the domain     where one of the errors prevailed, the difference between the modulus of the absolute error of the multiquadric function and the modulus of the absolute error of the multivariable interpolation function (ABSD) was calculated, and the value obtained through the predefined domain is represented in Figure 12. When the value is positive (hot colors), it implies that the absolute error of the multiquadric function is higher, whereas when the value is negative (cold colors), it means that the absolute error of the piecewise linear multivariable interpolation function is now superior. Figures 12(a)   concentration. It is not clear that the increase in the number of centers used to define the multiquadric function improves the approximation along the domain, though they typically improve the approximation at the interpolation points used to define the function.
In order to verify if the results obtained in the previous analysis are in fact a characteristic of the representation of the aerodynamic coefficients of airfoils, the set of points used to define the multiquadric and the piecewise linear multivariable interpolation function (abbreviated by M.I.) was modified in Table 5 (as much as possible), while maintaining the previously defined limits for both Re and α. Taking as an example the situation where P (9,21) and knowing that Re ∈ [75000 , 675000] and α ∈ [− 5, 20], it is easy to obtain a step for Re and for α equal to 75000 and 1 degree, respectively.
e dataset, which is enlarged and shown in yellow in Figure 11, will remain unchanged since these points will be used to establish the quality of the approximation of the functions outside the sample data points applied in the functions.
With the change of the data points used to define the multiquadric and multivariable interpolation functions, as shown in Table 5, a variation of the associated REL.P.A is notorious with the values of both functions always relatively close to each other, with differences of less than 1% (except once when P(5,51) and for the pitching moment coefficient).
us, regarding the obtained precision, it is not possible to say which of the approximation functions is preferred.

Computation Time.
Once the centers' combinations and form factor influence on the accuracy of the multiquadric functions has been analyzed, some combinations regarding their required processing time will be tested and compared with the piecewise linear multivariable interpolation methods and through a data collection directly from XFOIL.
First of all, it is necessary to define some parameters that aim to assist this analysis. e time for collecting and reading the data used to define the approximation functions will be abbreviated by CTand RT (in seconds), the generation time of the multiquadric functions is defined by GT (this step is not performed by the piecewise linear multivariable interpolation method), and finally the time required to actually obtain solutions of the aerodynamic coefficients (depending on the input data associated with Re and α) will be nominated ST. Regardless of the method applied to generate the multiquadric function, either through the FFSQP optimization method or by inserting a constant form factor at startup, such an approach will only be reflected in the GT. It should be noted that, in the ST phase of the multiquadric functions, only the normalization of the input data and the respective sum of the functions are performed in order to obtain the desired solution, according to the parameters saved or obtained previously during the GT. Regarding XFOIL direct calculation, since it does not need to perform any type of data collection and reading, it is expected that, for a small number of required solutions, this method is the most beneficial in terms of minimizing the time spent, although it is also predictable that it will slow down when several consecutive solutions are required for different input data.
To compare the computation time associated with the three approaches under analysis, the DAE-21 airfoil was selected, with the domain and the set of points previously used (P(5,51)) to define the functions, selecting three combinations of random centers and complemented with a form factor equal to zero, to define the multiquadric functions. e time required for the multiquadric functions, piecewise linear multivariable interpolation function and XFOIL, to perform N calculations in order to obtain N solutions within the domain of interest is calculated to determine which calculation approach is more efficient. Each calculation performed implies obtaining the three aerodynamic coefficients, for which three piecewise linear multiquadric functions and three multivariable interpolations are generated, each associated with a specific aerodynamic coefficient. e data collection and reading times (CTand RT) are performed only once at the beginning of the process for the two approximation methods, while the GT associated to the multiquadric functions is also performed only three times in the initial stage. In order to be able to compare these two approaches, the same number of calculations will always be performed and always with the same random input data. With regards to XFOIL, the time required to generate all N different solutions (with N different Re and always for the same predefined α because of interface limitations) was compared with the time used by the approximation functions above. e use of XFOIL, besides not guaranteeing the convergence for certain situations, shows a very high calculation time when compared to the proposed alternatives. Although this method does not require initial time to collect and read data, it becomes time consuming for optimization problems where many function calculations are required. It was possible to verify that, for approximately 225 different calculations, the use of both the piecewise linear multivariable interpolation method and the multiquadric defined functions became beneficial when compared to the XFOIL approach.
In Table 6, the REL.P associated to each of the generated multiquadric functions is represented (firstly, for the multiquadric function associated with the lift coefficient, followed by the functions associated with the drag and pitching moment coefficients, respectively), as well as the time of collection of the data (CT) and the generation time of the multiquadric functions (GT). e reading time (RT) is omitted because it is very close to zero, and insignificant when compared to CT, while the calculation time (ST) is shown in Figure 13, for a consecutive set of random inputs. e GT corresponds to the time required to generate the three multiquadric functions, associated with the three aerodynamic coefficients (stage that is not performed by the piecewise linear multivariable interpolation), while CT and RT correspond to the time required to obtain and read all the sample data that will compose the functions, that is, all P(5,51) points for each function, which makes a total of 765 sample points, 255 for each particular function.

Airfoil and Domain
Applied roughout the Study. e aerodynamic coefficients of airfoils depend on set parameters to be estimated. In wing optimization studies, it is common to analyze different flap sizes and deflections at different design points, so it becomes a slow process to adjust these parameters in XFOIL each time a change is requested. e implemented alternative is the creation of continuous functions whose solution (value of the aerodynamic coefficients) is dependent on the following input variables for the whole domain: x, y, z, t � (Reynolds number, angle of attack, flap chord ratio, flap deflection).
e dataset P(5,51,5,5) was selected and applied to the UBI_03_016 airfoil to define the multiquadric and multivariable interpolation functions within the following limits:  us, increments of 150,000, 0.5, 5, and 2.5 for Re, α, c flap , and δ flap , respectively, were used to define the known data points in the given intervals.

Number of Centers and Influence of Form Factor.
In order to represent the influence of the number of centers in the REL.P parameter of the given multiquadric function and taking into account the obtained and analyzed data, only the situation where C(Re,α,5,5) with a constant form factor equal to zero was represented. Once again and similar to the two-dimensional analysis, the increase in the number of centers is associated with a decrease in REL.P of the multiquadric function. It is also clear a greater difficulty in representing the drag coefficient compared to the other two other aerodynamic coefficients as seen in Figure 14.

Computation Time.
e time required to perform N calculations using multiquadric functions, multivariable interpolation, and XFOIL was calculated to obtain the value of the three aerodynamic coefficients. Again, the input data corresponding to Re, α, c flap , and δ flap were randomly selected for each performed calculation using the approximation methods. However, when using XFOIL, due to interface limitations the  values of α, c flap , and δ flap were kept constant while different Re were assigned within the bounds of its domain.
Since the set of sampling points used to define each function increased to 6375 points, which makes up a total of 19125 sample points for the three approximation functions associated with the three different aerodynamic coefficients, the time required to collect all the points using the XFOIL (CT) also increased, as well as the time for reading the data (RT). Since this problem has a higher space dimension and more data points, the size of the support matrices needed to create the multiquadric functions increases, which requires more time to perform all the operations needed to obtain the function coefficients, which in turn implies an increase in GT. Once again, both CT and RT are only performed once to obtain and read the 19,125 sample points, both in multivariable interpolation and in multiquadric functions. e latter has also to complete GT relative to the time required to generate the three approximation functions, which is performed only once before the start of the ST phase. e results are shown in Table 7. Like the two-dimensional situation, multivariable interpolation offers a faster calculation time even when compared to multiquadric functions with only 225 of the 6375 possible centers (MQ C(3,3,5,5)). Once again, the same number of centers was always applied to define the three multiquadric functions associated with the three aerodynamic coefficients. e greater difficulty in representing the evolution of the drag coefficient also became clear, since its function requires a larger number of centers compared to the remaining two existing aerodynamic coefficients.
In this situation, since CT and RT are higher and more input data exists, the use of the approximation methods only becomes beneficial after approximately 6000 calculations, as can be seen from Figure 15  If the user is only interested in calculating a single aerodynamic coefficient, the sampling points associated with that same function are read and only a single function associated with that specific aerodynamic coefficient is generated, thus requiring less computing time. However, XFOIL always calculates all three aerodynamic coefficients for a given set of input data, regardless of the user's settings. Another feature that favors the use of the approximation functions over XFOIL direct analysis is that the latter sometimes does not guarantee convergence for certain input data, unlike the approximation functions which are defined for the whole domain.

Computation Time Comparison.
For the two-dimensional case, the slopes of linear regressions in Figure 13 produced 486,618 calculations/s and 442,234 calculations/s for the multivariable interpolation method and the multiquadric function C(5,5), respectively, whereas for four independent variables, 247,537 calculations/s and 116,439 calculations/s were obtained from Figure 15(a) for the multivariable interpolation and for the multiquadric function C(3,3,5,5), respectively. In the two-dimensional case, only 25 of the 255 available centers (corresponding to about 9.8% of the available centers) were used, while with four independent variables 225 of the 6375 available centers (corresponding to approximately 3.53% of the available centers) were used. e ratio of the slope of the linear regression of the multivariable interpolation method to the linear regression of the multiquadric function is 1.1 for the two-dimensional case and 2.13 with four independent variables, which means that even with a reduced percentage of centers used to define the multiquadric function (which in turn worsens the quality of the generated approximation), the difference between the slope associated with the calculation time of both approaches increases in benefit of the multivariable interpolation, when increasing the dimensional space of the problem.

Conclusions
is work studied the application of multiquadric functions to represent the aerodynamic lift, drag, and pitching moment coefficients of airfoils. e method can approximate a given dataset of any spatial dimension, automatically calculating the location of the center points (as many as required) and also calculating the form factor according to the chosen method. It was concluded that, with the increase of  center points, it was possible to obtain better approximations, with only a few exceptions. It was also realized the enormous influence of the form factor, which also plays a relevant role in the quality of the approximation, since it is directly responsible for the ill-conditioning of the interpolation matrix used in the generation of the multiquadric function. e method using FFSQP was able, in most situations, to converge to the best possible form factor value (with lower associated REL.P), although this requires that the user specifies the number of centers beforehand, without the guarantee of obtaining the best solution for this combination, since function REL.P versus form factor may have a local minimum in the starting point neighborhood.
To assess the precision of the multiquadric approximation, it was compared with the piecewise linear multivariable interpolation method, since this is a method widely applied in the approximate representation of the aerodynamic coefficients. Considering the quality of the approximation at points outside the applied dataset, but within the selected domain, it was concluded that, by varying the set of points used to define the functions, there was no clear advantage of any of the approaches.
is analysis was performed in a two-dimensional space, but similar results are expected to be obtained for larger dimensions. e processing time required to perform a certain number of calculations (to obtain the value of the three aerodynamic coefficients) based on a random set of input data was evaluated. For the two-dimensional case, it was observed that the use of the approximation functions is preferred over XFOIL after about 240 calculations, whereas for the four-dimensional case, the break-even point increases to approximately 6000 calculations. Regarding the computation time, the multivariable interpolation approach has shown to be faster compared to multiquadric functions. e increase in the spatial dimension of the problem caused the difference in ST between the multiquadric functions and the multivariable interpolation approach to increase, in favor of the latter, even with a reduced percentage of centers applied to develop the multiquadric function (which in turn worsens the quality of the generated approximation).
Multiquadric functions are still experiencing increased widespread application across many areas of science and engineering. In order to improve the process of defining the multiquadric functions with increased precision, some open issues still need to be addressed: new techniques for placement of center, application of a variable form factor for each center to which it is applied, methods of direct calculation of the form factor, methods that aim to lower the conditioning number of the interpolation matrices with the gradual increase of the form factor, and understanding the best techniques to define the domain and the set of points to apply in the problem.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that there are no conflicts of interest regarding the publication of this article.