Aerodynamic potential-flow code

From testwiki
Jump to navigation Jump to search

In fluid dynamics, aerodynamic potential flow codes or panel codes are used to determine the fluid velocity, and subsequently the pressure distribution, on an object. This may be a simple two-dimensional object, such as a circle or wing, or it may be a three-dimensional vehicle.

A series of singularities as sources, sinks, vortex points and doublets are used to model the panels and wakes. These codes may be valid at subsonic and supersonic speeds.

History

Early panel codes were developed in the late 1960s to early 1970s. Advanced panel codes, such as Panair (developed by Boeing), were first introduced in the late 1970s, and gained popularity as computing speed increased. Over time, panel codes were replaced with higher order panel methods and subsequently CFD (Computational Fluid Dynamics). However, panel codes are still used for preliminary aerodynamic analysis as the time required for an analysis run is significantly less due to a decreased number of elements.

Assumptions

These are the various assumptions that go into developing potential flow panel methods:

However, the incompressible flow assumption may be removed from the potential flow derivation leaving:

  • Potential flow (inviscid, irrotational, steady) 2ϕ=0

Derivation of panel method solution to potential flow problem

  • From Small Disturbances
(1M2)ϕxx+ϕyy+ϕzz=0 (subsonic)
V(𝐅)dV=S𝐅𝐧dS
  • Let Velocity U be a twice continuously differentiable function in a region of volume V in space. This function is the stream function ϕ.
  • Let P be a point in the volume V
  • Let S be the surface boundary of the volume V.
  • Let Q be a point on the surface S, and R=|PQ|.

As Q goes from inside V to the surface of V,

  • Therefore:
Up=14πV(2𝐔R)dVQ
14πS(𝐧𝐔R)dSQ
+14πS(𝐔𝐧1R)dSQ

For :2ϕ=0, where the surface normal points inwards.

ϕp=14πS(𝐧ϕUϕLR𝐧(ϕUϕL)1R)dSQ

This equation can be broken down into both a source term and a doublet term.

The Source Strength at an arbitrary point Q is:

σ=𝐧(ϕUϕL)

The Doublet Strength at an arbitrary point Q is:

μ=ϕUϕL

The simplified potential flow equation is:

ϕp=14πS(σRμ𝐧1R)dS

With this equation, along with applicable boundary conditions, the potential flow problem may be solved.

Required boundary conditions

The velocity potential on the internal surface and all points inside V (or on the lower surface S) is 0.

ϕL=0

The Doublet Strength is:

μ=ϕUϕL
μ=ϕU

The velocity potential on the outer surface is normal to the surface and is equal to the freestream velocity.

ϕU=V𝐧

These basic equations are satisfied when the geometry is a 'watertight' geometry. If it is watertight, it is a well-posed problem. If it is not, it is an ill-posed problem.

Discretization of potential flow equation

The potential flow equation with well-posed boundary conditions applied is:

μP=14πS(V𝐧R)dSU+14πS(μ𝐧1R)dS
  • Note that the dSU integration term is evaluated only on the upper surface, while th dS integral term is evaluated on the upper and lower surfaces.

The continuous surface S may now be discretized into discrete panels. These panels will approximate the shape of the actual surface. This value of the various source and doublet terms may be evaluated at a convenient point (such as the centroid of the panel). Some assumed distribution of the source and doublet strengths (typically constant or linear) are used at points other than the centroid. A single source term s of unknown strength λ and a single doublet term m of unknown strength λ are defined at a given point.

σQ=i=1nλisi(Q)=0
μQ=i=1nλimi(Q)

where:

si=ln(r)
mi=

These terms can be used to create a system of linear equations which can be solved for all the unknown values of λ.

Methods for discretizing panels

  • constant strength - simple, large number of panels required
  • linear varying strength - reasonable answer, little difficulty in creating well-posed problems
  • quadratic varying strength - accurate, more difficult to create a well-posed problem

Some techniques are commonly used to model surfaces.[1]

  • Body Thickness by line sources
  • Body Lift by line doublets
  • Wing Thickness by constant source panels
  • Wing Lift by constant pressure panels
  • Wing-Body Interface by constant pressure panels

Methods of determining pressure

Once the Velocity at every point is determined, the pressure can be determined by using one of the following formulas. All various Pressure coefficient methods produce results that are similar and are commonly used to identify regions where the results are invalid.

Pressure Coefficient is defined as:

Cp=ppq=pp12ρV2=ppγ2pM2

The Isentropic Pressure Coefficient is:

Cp=2γM2((1+γ12M2[1|V|2|V|2])γγ11)

The Incompressible Pressure Coefficient is:

Cp=1|V|2|V|2

The Second Order Pressure Coefficient is:

Cp=1|V|2+M2u2

The Slender Body Theory Pressure Coefficient is:

Cp=(2u+v2+w2)

The Linear Theory Pressure Coefficient is:

Cp=2u

The Reduced Second Order Pressure Coefficient is:

Cp=1|V|2

What panel methods cannot do

  • Panel methods are inviscid solutions. You will not capture viscous effects except via user "modeling" by changing the geometry.
  • Solutions are invalid as soon as the flow changes locally from subsonic to supersonic (i.e. the critical Mach number has been exceeded) or vice versa.

Potential flow software

Template:See also

Name License Lan Operating system Geometry import Meshing Body Representation Wake model Developer
Linux OS X Microsoft Windows Structured Unstructured Hybrid
Aeolus ASP Template:Proprietary Java / Fortran Template:Yes Template:Yes Template:Yes Quadrilaterals Aeolus Aero Sketch Pad
CMARC Template:Proprietary C Template:Yes Template:Yes Template:URL, AeroLogic, based on PMARC-12
DesignFOIL Template:Proprietary Template:No Template:Yes Template:URL, DreeseCode Software LLC
FlightStream Template:Proprietary Fortran / C++ Template:Yes CAD, Discrete Template:Yes Template:Yes Solids Research in Flight Company
HESS Template:Proprietary Douglas Aircraft Company
LinAir Template:Proprietary Template:Yes Desktop Aeronautics
MACAERO Template:Proprietary McDonnell Aircraft
NEWPAN Template:Proprietary C++ Template:Yes Template:Yes Template:Yes Flow Solutions Ltd.
Tucan Template:Free VB.NET/C#.NET Template:Yes (Console) Template:Yes STL Template:Yes Quadrilaterals & triangles Free G. Hazebrouck & contributors
QBlade Template:Free C/C++ Template:Yes TU Berlin
Quadpan Template:Proprietary Lockheed
PanAir a502 Template:Free Fortran Template:Yes Template:Yes Template:Yes Template:URL, Boeing?
PANUKL Template:Proprietary C++/Fortran Template:Yes Template:Yes NX - partially Template:Yes Quadrilaterals Warsaw University of Technology, Template:URL exports data to Template:URL and to Calculix
PMARC Template:URL Fortran 77 Template:Yes Template:Yes Template:Yes NASA, descendant of VSAERO
VSAero Template:Proprietary Template:Yes Template:URL
Vortexje Template:Free C++ Template:Yes Baayen & Heinz GmbH
XFOIL Template:Free Fortran Template:Yes Template:Yes Template:Yes Template:URL
XFLR5 Template:Free C/C++ Template:Yes Template:URL
VSPAERO Packaged with OpenVSP Template:Free C++ Template:Yes Template:Yes Template:Yes Template:Yes Polygons, typically quad & tri dominated Free & rigid Template:URL
MachLine Template:Free Fortran Template:Yes untested untested STL, VTK, TRI Template:Yes Solid bodies using surface tris Rigid Utah State University AeroLab Template:URL Template:URL

See also

Notes

Template:Reflist

References

  1. Section 7.6