The present invention refers to methods and systems for assisting in the design of aircrafts by making calculations of the aerodynamic forces experimented by an aircraft component in transonic conditions when these forces are dependant of a significant number of parameters.
A common situation in practical industrial applications related to product development is the need to perform quick surveys inside a space of state parameters. In mature and very competitive industrial sectors like aerospace, this need is motivated by the drive to generate products having good technical performance within design cycles that are as short as feasible. That is: time is a key factor in aerospace competitiveness because shortening the time market may provide a leading economic advantage during the product life cycle.
In the specific case of aeronautics, the prediction of the aerodynamic forces, and more generally skin surface values distributions, experimented by an aircraft is an important feature, in order to optimally design its structural components so that the weight of the structure is the minimum possible, but at the same time being able to withstand the expected aerodynamic forces.
Thanks to the increase of the use of the Computer Fluid Simulation Capability, nowadays, the determination of the aerodynamic forces on an aircraft is commonly done by solving numerically the Reynolds Averaged Navier-Stokes equations that model the movement of the flow around the aircraft, using discrete finite elements or finite volume models. With the demand of accuracy posed in the aeronautical industry, each one of these computations requires important computational resources.
The dimensioning aerodynamic forces are not known a priori, and since the global magnitude of the forces may depend on many different flight parameters, like angle of attack, angle of sideslip, Mach number, control surface deflection angle, it has been necessary to perform many lengthy and costly computations to properly predict the maximum aerodynamic forces experimented by the different aircraft components or the complete aircraft.
In order to reduce the overall number of these lengthy computations, approximate mathematical modelling techniques have been developed in the past, like Single Value Decomposition (SVD) as a mean to perform intelligent interpolation, or the more accurate Proper Orthogonal Decomposition (POD from now onwards) that takes into account the physics of the problem by using a Galerkin projection of the Navier-Stokes equations.
Given a set of N scalar flow fields in a scalar variable φ (as the pressure), calculated using Computational Fluid Dynamics (CFD), POD methodology provides N mutually orthogonal POD modes Φi({right arrow over (x)}). POD methodology also provides the singular values of the decomposition, which allows truncating the number of POD modes to n<N modes, where n can be selected with the condition that the manifold contains the reconstruction of all computations (also called snapshots hereinafter) within a predetermined error. The manifold spanned by these modes is known as POD manifold, and is the manifold that minimizes distance from the snapshots among the manifolds of dimension n.
POD modes allow us to reconstruct every snapshot as
where the scalars ai are called POD-mode amplitudes and can be calculated upon orthogonal projection of the snapshot on the POD manifold. If the snapshots are appropriately selected, then the POD manifold contains a good approximation of the flow field for values of the parameters (such as angle of attack AoA and the Mach number M), in a given region of the parameter space. For general values of the parameters (not corresponding to the snapshots), we still expand the flow variables in terms of the POD modes as in the equation above and calculate the POD mode amplitudes using a Genetic Algorithm (GA), which selects the amplitudes as the minimizers of a properly defined residual of the governing equations and boundary conditions; such method will be called Genetic Algorithm+Proper Orthogonal Decomposition (GAPOD) hereinafter. This approach provides a good approximation to the exact solution and is flexible, robust, and fairly independent of the number and location of the CFD-calculated snapshots in the parameter space.
However, if the snapshots used to generate the POD manifold exhibit shock waves (as must be expected in transonic conditions) that move significantly as the parameters are varied, then either (a) the resulting POD modes are stair-like shaped (instead of exhibiting the correct one-jump, shock wave shape), which yields a poor approximation, or (b) both the number of required snapshots and the dimension of the POD manifold are quite large. This is because POD approximations consist of linear combinations, and linear combinations of shifted jumps do not give jumps but stairs. This fact implies that low Mach number flow configurations can be predicted with a few POD modes using a plain GAPOD methodology, but high Mach number cases require a more sophisticate method, to preserve the shock wave structures.
The present invention is intended to attend this demand.
It is an object of the present invention to provide methods and systems for making calculations of the aerodynamic forces experimented by an aircraft component in transonic conditions when these forces are dependant of a significant number of parameters.
It is another object of the present invention to provide methods and systems for allowing a quick calculation of the aerodynamic forces experimented by an aircraft component in transonic conditions.
In one aspect, these and other objects are met by a computer-aided method suitable for assisting in the design of an aircraft by providing dimensioning aerodynamic forces, skin values or values distributions around an airfoil corresponding to an aircraft component in transonic conditions inside a predefined parameter space by means of a reconstruction of the CFD computations for an initial group of points in the parameter space using a reduced-order model, generated by computing the POD modes of the flow variables and obtaining the POD coefficients using a genetic algorithm (GA) that minimizes the error associated to the reduced-order model, comprising the following steps:
Decomposing for each flow variable the complete flow field (CFF) into a smooth field (SF) and a shock wave field (SWF) in each of said computations for an initial group of points.
Obtaining the POD modes associated with the smooth field (SF) and the shock wave field (SWF) considering all said computations.
Obtaining the POD coefficients using a genetic algorithm (GA) that minimizes a fitness function defined using a residual calculated from the Euler equations and boundary conditions.
Calculating said aerodynamic forces, skin values or values distribution for whatever combination of values of said parameters using the reduced-order model obtained in previous steps.
In another aspect, these and other objects are met by a system for assisting in the design of an aircraft by by providing the dimensioning aerodynamic forces, skin values or values distribution around an airfoil corresponding to an aircraft component in transonic conditions inside a predefined parameter space, comprising:
A computer-implemented discrete model of said aircraft component and the surrounding fluid flow field;
A computer-implemented CFD module for calculating and storing said fluid dynamic forces, skin values or values distribution for an initial group of points in the parameter space, including means for decomposing for each flow variable the complete flow field (CFF) into a smooth field (SF) and a shock wave field (SWF).
A computer-implemented POD reduced order model module for performing calculations of said aerodynamic forces, skin values or values distribution for any point in the parameter space including means for obtaining the POD modes associated with the smooth field (SF) and shock wave field (SWF) considering a selected group of CFD computations and for obtaining the POD coefficients using a genetic algorithm (GA) that minimizes a fitness function defined using a residual calculated from the Euler equations and boundary conditions.
The above-mentioned method and system are applicable to the design of aircraft components of aircrafts formed by a cylindrical fuselage, wings in the centre fuselage either in the middle or high or low region of the fuselage, conventional tail or T-tail or Cruciform-tail or V-tail or H-tail or U-tail or canard and engines in the wing or at the rear fuselage and also to the design of aircraft components of aircrafts having a non-classical configuration like a blended wing body (BWB) or a flying wing.
Said set of parameters can be, in particular, any combination of the following (if applicable to the aircraft component being designed): the angle of attack, the sideslip angle, the Mach number, the wing aileron deflection angle, spoilers deflection, high lift devices deflection, canard deflection, landing gear deflected status, landing gear doors angle, APU inlet open angle, the vertical tailplane rudder deflection angle, the horizontal tailplane elevator deflection angle and the horizontal tailplane setting angle. The range of validity of said parameters is that of the aircraft typical flight envelope.
Said aerodynamic forces include in particular the lift force, the drag force, the lateral force, the pitching moment, the rolling moment and the yawing moment of the aircraft component being designed.
Said skin values at the surface include in particular the static pressure, the skin friction, the skin temperature and whatever combination of them. Said values distribution could be, in particular, total force per section (could be a cut, line, surface that form all the object), heat transfer, total friction and generally whatever integral of the skin values or their combination.
Other characteristics and advantages of the present invention will be clear from the following detailed description of embodiments illustrative of its object in relation to the attached figures.
a shows the complete mesh of the computational domain used in a method according to this invention and
a,
9
b and 9c show the cycles used for evaluating the fitness.
An embodiment of a method and a system according to the present invention will now be described in reference to a specific example of the flow around a particular airfoil. CFD is calculated using TAU, which is a finite volume discretization of the compressible continuity, momentum, and energy equations, with viscous terms modified according to an Edwards-corrected-Spalart-Almaras turbulence model, and some stabilization terms added to avoid numerical instabilities.
The computational domain, which contains 55,578 elements, is shown in
The method will be applied to an airfoil 11 whose shape is plotted in
The CFD computations (also called snapshots hereinafter) will be performed for the 117 combinations of the following values of the angle of attack and the Mach number:
Step 1: Defining the Co-Ordinate Systems
For the sake of simplicity, an O-shaped curvilinear structured mesh around the airfoil 11 will be only considered and the work will be performed over the pressure and suction sides of the airfoil independently. This approach allows improving computational efficiency considering two distinct curvilinear coordinate systems, one for the pressure side 13 and other for the suction side 15, as shown in the
The definition of the suction and pressure sides 15, 13 requires to previously defining the leading edge point 17. This point is defined as that point where the tangent to the airfoil 11 is orthogonal to the free stream velocity at zero incidence. The (x,y) coordinate system with origin at the leading edge point is defined such that x-axis also passes through the trailing edge and the y-axis is perpendicular to the x-axis and points towards the suction side.
From now on, the x and y physical co-ordinates will not be used. Instead, two curvilinear coordinates s and n will be used, along lines parallel to the airfoil 11 and perpendicular to it, respectively; in addition, a third coordinate r is considered that takes the values +1 and −1 in the suction and pressure sides. And instead of the original flow variables, the density, the pressure, and the mass fluxes in the x and y directions will be used.
Step 2: Obtaining Dimensionless Variables
The four flow variables: density, pressure, and mass fluxes are non-dimensionalized using their respective free stream values (labeled with the subscript BC) in the far upstream region (called the BC region), where the inlet boundary conditions are imposed. The reference values are
Thus, the dimensionless density and pressure in the BC region are both equal to one, but the dimensionless mass fluxes in this region are (ρu,ρw)BC=M(cos AoA, sin AoA)
Step 3: Obtaining the Shock Wave Position (Over the Airfoil) and the Trace of the Shock Wave for Every Snapshot
For each coordinate line n=constant, the method first identifies the location of the shock wave in this line, and then considers the surroundings of this point.
The criterion for evaluating whether a given snapshot has shock wave or not is as follows. First, we evaluate the derivative of Cp along the x axis over the surface of the airfoil, where Cp is the pressure coefficient, defined in terms of the specific heat ratio γ, as
If there is at least one point that verifies the inequality
being θ1 a predetermined value (θ1=9.0 in the above-mentioned example) then it is considered that this particular snapshot has a shock wave, provided that the point where the x-derivative of Cp is maximum is located at a distance from the leading edge 17 that is greater than 1.5% of the airfoil chord; otherwise, the steep gradient is considered to be a part of the suction peak near the leading edge, and is ignored. The shock wave position in the particular line n=constant that is being considered is defined as that mesh point where the x-derivative of Cp is largest. Thus, we have defined the shock wave position at each coordinate line n=constant, as loc(n)=sn. As defined above, the values of sn are necessarily integer numbers, which means that the function loc(n) is slightly stair-like shaped. Thus, such function is first smoothed out using a convolution, defined as
where h is the total number of points of the Cartesian mesh in the n direction and s is the convoluted variable (the position of the shock wave). Such convolution is applied twice. In the example being considered the smoothing effect of convolution is illustrated in
Line 21 is loc(n) without convolution, line 23 is loc(n) with a convolution applied once, and line 25 is loc(n) with a convolution applied twice
Once we have the shock wave located in each coordinate line through a smooth function, the shock wave position sw on the airfoil 11 is defined as sw=s1convoluted and the trace, t(n), as t(n)=snconvoluted−sw
For those snapshots which do not exhibit a shock wave, we must also define a position over the wall and a trace. These false structures will only be used to find an initial guess of the possible shock wave structures at points of the parameter space that are in between of snapshots with and without shockwave. Due to this fact, we define the false trace of a snapshot without shockwave as the same as that of the nearest snapshot in the parameter space that exhibits a shock wave.
Step 4: Obtaining the Smooth and Shock Wave Fields for Every Snapshot
In order not to lose information (preserving the original snapshots), the shape of the SF in the surroundings of the shock wave position is defined and the SWF is obtained subtracting the original snapshot from the SF according to the following method.
First, for each coordinate line n=constant the shock wave interval is defined as [sw+t(n)−thickness+1,sw+t(n)+thickness], where the parameter thickness depends on the particular set of snapshots and the mesh, and is defined as small as possible but such that the end-points of the interval both satisfy
being θ2 a predetermined value (θ2=6.0 in the above-mentioned example).
The parameter thickness in the example under consideration is set as 12 mesh points.
This definition allows both (a) describing well the internal structure of the shock wave and (b) keeping the SFs really smooth.
Once the shock wave interval has been defined, the SF is first defined in the shock wave interval using a straight line joining the values of the flow field variable at the end points of the interval; thus we have a continuous structure that may exhibit jumps in the spatial derivative, which are smoothed out applying twice the same convolution defined in Step 3, where h is now the thickness of the shock wave and the sub-indexes must be appropriately shifted to account for their values in the shock wave interval. The shock wave field (SWF) is the result of subtracting the CFF from the SF.
As it can be seen in
Final results of the CFD 37 and the SF 39 in a representative case of a shock wave having a thickness=12 mesh points and applying 2 convolutions are shown in
The process described above must be applied to treat the four flow variables in all snapshots, including those that do not verify the criterion for existence of the shock wave (see Step 3).
At this stage, the shock wave position, the trace, the jump, and the smooth field are defined as functions of the type
s
w
=s
w(AoA,M),
t=t(AoA,M,n),
Δφ=Δφ(AoA,M,n),
φSF=φSF(AoA,M,s,n).
It shall be taken into account that Δφand φSF must be defined for each flow variable.
Step 5: Obtaining the Internal Shape and Jump of the Shock Wave for Every Snapshot
For each flow field variable, the internal shape of the shock wave is defined as that part of the SWF contained in the shock wave interval, scaled with the total jump of the variable across the shock wave interval. The latter will be called jump of the corresponding variable. Using this definition, the internal shape retains the unphysical overshooting effect (seemingly, an artifact of stabilization terms in the CFD numerical code), which is sometimes found near the shock wave and makes the internal shape not completely smooth.
This process must be applied to the four flow variables and to all the snapshots, including those which do not verify the criterion for shock wave existence, given in Step 3 above. For the latter snapshots, the jump and the internal shape cannot be calculated as above; instead, the jump of the variables is set to zero and the internal shape is imposed to be the sigmoidal function
where the function ξ(s) have been calibrated as
Step 6: Obtaining the POD Manifold for the Trace of the Shock Wave
As explained above, the trace of the shock wave is a function of the parameters and the normal co-ordinate n. Isolating dependence on n, a POD basis can be calculated in terms of spatial modes that depend only on n. Thus POD modes Ti are calculated using the covariance matrix
where the inner product could also be used to define distances between different traces. Thus, the trace is written as an expansion in POD modes, as
where the POD-mode amplitudes bi will be calculated below. The POD modes are calculated using all available snapshots, even those that exhibit false shock waves. The regions in the parameter space with and without shock waves in the example being considered are shown in
Step 7: Obtaining the POD Manifold for the Internal Shape of the Shock Wave
The internal shape has been defined above, in Step 5, for each flow variable and is a function of the parameters and the curvilinear co-ordinates s and n. As in Step 6, we define spatial POD modes (depending on s and n) using POD methodology, with the covariance matrix
where the common scaling factor is defined as σ=(2·thickness·h)−1 and the inner product above can be used to define distances between snapshots. Now, the flow variables as expansions on the POD modes, UiIS, WiIS, RiIS, and PiIS, are written down as
where ci are the POD-mode amplitudes, which are common to the four flow variables and will be calculated below. The POD manifolds are calculated using all the available snapshots that exhibit shock waves (according to the criterion of shock wave existence in Step 3 above).
Step 8: Dividing the Smooth Field into Regions
The smooth flow field (SF) exhibits a very different topology on the pressure and suction sides. Thus, calculating common POD modes for both zones has proved not to be a good option. A better choice consists of using different POD modes (and amplitudes) in the pressure and suction sides. In order to obtain a POD manifold that provides a good description in the whole O-mesh, the O-mesh is divided into two zones 41, 43, which are as shown in
The general criterion for obtaining the size of the zones is including in the zone the whole region we intend to describe (either the suction or the pressure side) plus that sub-region in the opposite side bounded by the leading edge point 17 and a cross section of the O-mesh defined by s=scrit, where scrit is the difference between the minimum value of the shock wave position sw among the ones obtained in Step 3 and the thickness of the shock wave (defined in Step 4).
Step 9: Selecting the Snapshots used to Calculate the POD Modes of the Smooth Field
Using all available snapshots to generate the POD manifold for each zone has demonstrated not to give good enough results. Therefore, a method has been developed to select the most convenient snapshots, which depend on the particular values of the parameters that are being considered; thus the selection is a local selection in the parameter space. The algorithm proceeds as follows:
To begin with, the sw parameter is interpolated (using cubic polynomials) to obtain a first approximation of sw, which will be used both in the iterative process below and as an initial guess for the GA. It must be noted that sw is only a scalar that depends on the parameters; thus, an initial guess follows by interpolation on the already known values of sw for neighboring points (corresponding to snapshots) in the parameter space. No spatial POD is needed.
The SF is also interpolated using neighboring snapshots, point-by-point, to obtain an initial rough approximation.
An interval of size L centered on the initial guess of sw is defined. The GA is going to look for the actual value of sw only inside this interval. Thus, the parameter L must is calibrated in each run. It should take a value of the order of the expected error in this scalar. Once the value of L is chosen (i.e. 10 mesh points, approximately 5% of the chord), the pressure and suction sides are divided into three regions 51, 53, 55 (see
The leading edge region (LER) 51: s<sw−L
The shockwave region (SWR) 53: sw−L≦s≦sw+L
The trailing edge region (TER) 55: s>sw+L
If a shock wave is expected, then those snapshots that exhibit a shock wave outside this interval will not be used to calculate the POD manifold. If instead, no shock wave is expected, then only snapshots without shock wave will be used.
Now, a distance from each snapshot (labeled with the index j) to the approximated SF is defined. Such distance, Dj, is defined as the orthogonal projection of the smooth fields of the snapshot j, (ρu,ρ,p)j, on the interpolated smooth field calculated above, ρũ,{tilde over (ρ)},{tilde over (p)}), namely
Such projection is made using the following inner product
The selected snapshots to evaluate the correlation matrix are the N nearest snapshots with the distance above, where N is a number that is large enough to define the POD manifold; a value of N of the order of the double of the expected POD manifold dimension is a good choice. The following criterion, directly derived from well known POD formulae, is used to predict global root mean square errors (GRMSE) for a given a number of modes M
where λi are the eigenvalues of the correlation matrix, N is the total number of snapshots used to evaluate the correlation matrix, and the upper bound ε is to be chosen after some calibration. The formula above allows to estimate the required number of modes M to be retained for a given accuracy, ε(i.e. ε=10−3).
As a last step, we define a safety factor F>1 and retain F times M (instead of M) modes to evaluate the POD manifold that will be finally used by the GA. It must be noted that this number of modes can be either smaller than N.
Step 10: Obtaining the POD Manifold for the Smooth Field and the Complete Flow Field
The POD modes of the smooth field are calculated from the covariance matrix
R
ij=(ρu,ρ,p)i,(ρu,ρ,p)j
where is the inner product defined in Step 9. The resulting POD modes allows us to write the flow variables as
where, as above, ai are the POD-mode amplitudes, which are common to the four flow variables and are to be calculated.
Now, we take advantage that, by definition, the smooth field exactly coincides with the complete field in the leading edge region located on the left of the shock waves, namely as 0<s<scrit in both the pressure and suction sides, where scrit is as defined in Step 9. Thus, we define modes on the complete flow field, UiFF, WiFF, RiFF, and PiFF as those combinations of the original snapshots such that UiFF=UiSF,WiFF=WiSF,RiFF=RiSF,PiFF=PiSF in the leading edge region. This is done writing down the CFF modes as linear combinations of the original snapshots with the same coefficients that appear when the SF modes are written in terms of the snapshots associated with the smooth fields. Thus, since both the snapshots and the POD modes of both the complete fields and the smooth fields exactly coincide in the leading edge region, the complete fields can be reconstructed using the same values of the POD amplitudes used above to reconstruct the smooth field, namely
Now, the resulting POD modes on the CFF could lead to large errors in the spatial derivatives of the normal velocity component (perpendicular to the airfoil), which is significantly smaller than the tangential component. This is due to the fact that the CFD code could be based on finite volume or finite element discretization, while the derivatives are naturally calculated using finite differences. In order to avoid such errors, one of the velocity components or the POD modes in the CFF, u or w, is recalculated integrating the continuity equation, namely
with the remaining variables maintained at their original values.
The algorithm to integrate the continuity equation can be sketched as follows. First we note that because the flow is almost parallel in the O-mesh (near the airfoil), the estimate ρw/ρu<1 applies except in a region near the leading edge, which is bounded by those points, in both the pressure and the suction sides, denoted as slimit, where ρw/ρu=1. Thus, the unknown to be calculated in this region is u, while it is w in the remaining part of the O-mesh. In each of these regions, we rewrite the continuity equation in (s,n) co-ordinates as
where xs, xn, zs, and zn are the derivatives of the physical co-ordinates, x and z, with respect to the curvilinear coordinates s and n. Now we note that this is a first order equation in the n coordinate, which can be integrated marching in n with the leap frog scheme described below and using as initial condition at the first value of n (n=1) the no slip boundary condition at the surface of the airfoil (u=w=0). s-derivatives are discretized using centered differences in interior points and forward and backward derivatives at the upper and lower limit points, respectively; n-derivatives instead are discretized using forward differences at n=1, and centered differences at n>1. According to such discretization, marching on n is made with an implicit method at n=2, and with an explicit method for n>2. Note that we are not using here forward differences to march in n using an implicit scheme because such strategy would produce an error contamination from the lateral boundaries (namely, the extreme values of s) to the interior or the domain. By construction, the resulting mass flux vector is not continuous at the extreme values of s. Thus, the mass flux must be smoothed, which is done in three steps, as follows:
Firstly it is defined the length L2 as the semi-amplitude of the interval in which the mass flux vector is going to be smoothed. After some calibration, L2=2.5% of the chord is taken (e.g., 5 nodes in the example being considered).
Two zones, [slimit−2L2, slimit] and [slimit, slimit+2 L2], are defined which will be used to smooth the horizontal and vertical mass fluxes, respectively.
The complete field is overlapped with the corrected one using the following formula
ρucorrected(s,n)=mask(s)ρuFF(s,n)+(1−mask(s))ρuintegrated(s,n),
ρwcorrected(s,n)=mask(s)ρwintegrated(s,n)+(1−mask(s))ρwFF(s,n),
where mask(s) is the sigmoidal function given in Step 5, except for the term sw+t(n), which is substituted by slimit∓L2 (the − and + signs corresponding to the horizontal and vertical mass fluxes, respectively) and the thickness, which is substituted by L2.
Step 11: Obtaining an Initial Guess of the POD Amplitudes
An initial guess (needed in the GA) of the sets of amplitudes, ai, bi, and ci, can be calculated by interpolation.
The number of modes, Ñ, which must be used for every structure in order to reconstruct the pressure over the airfoil is obtained using that criterion given in Step 9 for predicting the global root mean square error (GRMSE).
The initial guess for the GA is obtained by interpolation on the amplitudes of neighboring snapshots.
Step 12: GA Minimization of a Residual to Calculate the POD Mode Amplitudes of the Smooth Field
The unknown amplitudes ai (two sets of amplitudes, for the pressure and suction sides) are calculated upon minimization of a properly defined residual using a Genetic Algorithm (GA). Such residual is defined from the Euler equations and the boundary conditions. Using the dimensionless variables defined in Step 2, the Euler equations are written as
where the function β is given by
The boundary conditions at the free stream are
BC
1
=ρu−M ρ cos(AoA)
BC
2
=ρw−M ρ sin(AoA),
BC
3=ρ−1
BC
4
=p−1.
The residual to be minimized by the GA is
where eqi and BCi stand for the left hand sides of the equations and boundary conditions above, which (as indicated in the expression for H) are evaluated only at some points (sk,nk) and (sm,nm) of the O-mesh and the BC region (defined in Step 2), respectively; in particular, the selected points in the O-mesh are taken outside the boundary layer and not to close to the upper boundary of the O-mesh, to avoid viscous effects (not accounted for in the Euler equations) and CFD errors, respectively. Using only a small number of points, instead of all points in the O-mesh has proven to give good results, provided that the selected points include enough information on the CFD solutions and that regions with large CFD errors are excluded. The number of selected points must be just somewhat larger than the number of POD modes (four times the number of POD modes gives good results in the example considered below). The selected points can be chosen either randomly or equispaced without losing precision in the results. Here, we chose the points in the structured O-mesh as equispaced in both directions. In the n direction, we take 4 (this number has been calibrated) equispaced values of n (excluding both the boundary layer and the vicinity of the upper limit of the O-mesh, as explained above). In the s direction we take 30 (again, this number can be calibrated) equispaced points outside the SWR (defined in Step 9) to avoid that region where the considered snapshots exhibit shock waves. Thus, the total number of points to evaluate the residual in the example below is 4×30=120, instead of the 20,458 points that are present in the O-mesh, which leads to a significant CPU time saving when applying the GA.
The residual defined above is evaluated using the reconstructed solution in terms of the POD-modes associated with the CFF, using the expansions in terms of these modes given in Step 10. Note that these modes exhibit unphysical stair-like structures, which are due to the fact that these modes are linear combinations of the original snapshots, which exhibit shock waves. But these modes are used only in the region where the residual is calculated, which excluded the SWR where shock waves exist, as explained above.
Now, minimizing the residual provides the set of POD-modes for the reconstructed solution outside the shock wave region SWR. If these same values of the amplitudes are used to reconstruct the smooth field in terms of the associated smooth modes, the resulting reconstructed smooth field coincides with the complete field in the leading edge region LER, but not in the trailing edge region TER (see Step 9 for the definition of these regions) and the difference between both in the trailing edge region provides the jump across the shock wave.
Three remarks on this step are now in order:
This step provides both a reconstruction of the smooth field and the jump across the shock wave.
It is the Euler equations and not the original modified Navier-Stokes equations+turbulence model that are applied to calculate the residual. And still, the equations are applied in their differential form even though the CFD simulations that provided the snapshots could be based on a different discretization. These facts make the method independent on the possible models of turbulence/numerical stabilizers that might have been used, which is convenient in industrial applications.
Only a small number of points (less than 120) is used to evaluate the residual that is minimized by the GA, which saves CPU time without reducing the accuracy of the obtained solutions.
Step 13: GA Minimization of a Residual to Obtain the Position, the Trace, and the Internal Structure of the Shock Wave
Once the smooth part of the solution and the jumps across the shock wave have been obtained, only the trace and internal shockwave shape remain to be calculated.
Now, we use the conservative form of the Euler equations. Using the same dimensionless variables defined in Step 12 and integrating the equations in a domain Ω (which will be below a rectangular domain in the curvilinear coordinate system (s,n)), we integrate these equations and apply the divergence theorem to obtain
where the line integrals are extended to the boundary of the domain Ω, l is the arclength along the boundary, and
The contour integrals are approximated by the trapezoidal rule.
Now, the residual to be minimized by the GA is defined in terms of the right hand sides of the conservation equations above as
The contour integrals are applied over a set of closed curves that will be called cycles below. These cycles have a rectangular shape in the curvilinear (s,n) coordinates and are centered on the initial guess of the shock wave position over the wall. The aspect ratio and number of cycles depend on the structure we are calculating.
When calculating the position (see
When calculating the trace (see
When calculating the internal shape (see
Step 14: Iteration
As described above, calculation of the complete solution involves four independent minimization processes, which can be subsequently applied by the user in an iterative way until the required accuracy is reached. For instance, if the uncertainty on the initial guess of the shock wave position, sw, is not small enough, then the smooth field will be calculated with little accuracy; but after applying the minimization process over the position, a better approximation of sw, will be obtained that will allow a better calculation of the smooth field, which will allow using a smaller uncertainty interval.
The various minimization processes are applied in the following order:
Smooth Field
Position
Trace
Position
Internal shape
Position
Trace
Position
Results
To assess the behavior of the method, the aerodynamic coefficients (namely, the lift, drag, and momentum coefficients) and the Cp distribution along the chord have been reconstructed in 11 test points, listed in the following table (and shown in
The values of the Lift Coefficient CL, the Drag Coefficient CM and the Pitching Moment Coefficient CM resulting from the pressure distribution and viscous stresses on the surface of the airfoil are given in the following table, both as calculated with the method according to this invention and as resulting from CFD calculations. Note that even the drag coefficient CD is reasonably well calculated in spite of the fact that only the Euler equations have been used in our method.
Modifications may be introduced into the preferred embodiment just set forth, which are comprised within the scope defined by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
200900881 | Mar 2009 | ES | national |