Class NACA6Series

  • All Implemented Interfaces:
    Airfoil, java.io.Serializable
    Direct Known Subclasses:
    NACA63Series, NACA64Series, NACA65Series, NACA66Series, NACA67Series, NACA6ASeries

    public abstract class NACA6Series
    extends java.lang.Object
    implements Airfoil

    This class represents an arbitrary NACA 6 or 6*A series airfoil section such as a NACA 63-020 airfoil.

    Ported from FORTRAN "NACA6.FOR" to Java by: Joseph A. Huwaldt, June 3, 2010

    Original FORTRAN "NACA4" code had the following note:

             AUTHORS - Charles L.Ladson and Cuyler W. Brooks, NASA Langley
                       Liam Hardy, NASA Ames
                       Ralph Carmichael, Public Domain Aeronautical Software
             Last FORTRAN version:  23Nov96  2.0   RLC
    
             NOTES - This program has also been known as LADSON and SIXSERIES and
                     as SIXSERIE on systems with a 8-letter name limit.
             REFERENCES-  NASA Technical Memorandum TM X-3069 (September, 1974),
                          by Charles L. Ladson and Cuyler W. Brooks, Jr., NASA Langley Research Center.
    
                          "Theory of Wing Sections", by Ira Abbott and Albert Von Doenhoff.
      

    Modified by: Joseph A. Huwaldt

    Version:
    September 15, 2012
    Author:
    Joseph A. Huwaldt Date: June 3, 2010
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NACA6Series​(double CLi, double thickness, double length)
      Create a NACA 6 series airfoil with the specified parameters.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.awt.geom.Point2D> getCamber()
      Returns a list of points containing the camber line of the airfoil.
      java.util.List<java.awt.geom.Point2D> getLower()
      Returns a list of points containing the abscissas (X coordinate) and ordinates (Y coordinate) of the points defining the lower surface of the airfoil.
      java.util.List<java.lang.Double> getLowerYp()
      Returns a list containing the slope (dy/dx) of the lower surface of the airfoil at each ordinate.
      abstract java.lang.String getProfile()
      Returns a String that represents the profile type of this airfoil.
      java.util.List<java.awt.geom.Point2D> getUpper()
      Returns a list of points containing the abscissas (X coordinate) and ordinates (Y coordinate) of the points defining the upper surface of the airfoil.
      java.util.List<java.lang.Double> getUpperYp()
      Returns a list containing the slope (dy/dx) of the upper surface of the airfoil at each ordinate.
      java.lang.String toString()
      Returns a string representation of this airfoil (the NACA designation of this airfoil).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NACA6Series

        public NACA6Series​(double CLi,
                           double thickness,
                           double length)
        Create a NACA 6 series airfoil with the specified parameters.
        Parameters:
        CLi - Design lift coefficient (e.g.: 63-206 has CLi = 0.2).
        thickness - The thickness to chord ratio (e.g.: 0.20 ==> 20% t/c).
        length - The chord length.
    • Method Detail

      • getUpper

        public java.util.List<java.awt.geom.Point2D> getUpper()
        Returns a list of points containing the abscissas (X coordinate) and ordinates (Y coordinate) of the points defining the upper surface of the airfoil.
        Specified by:
        getUpper in interface Airfoil
      • getLower

        public java.util.List<java.awt.geom.Point2D> getLower()
        Returns a list of points containing the abscissas (X coordinate) and ordinates (Y coordinate) of the points defining the lower surface of the airfoil.
        Specified by:
        getLower in interface Airfoil
      • getCamber

        public java.util.List<java.awt.geom.Point2D> getCamber()
        Returns a list of points containing the camber line of the airfoil.
        Specified by:
        getCamber in interface Airfoil
      • getUpperYp

        public java.util.List<java.lang.Double> getUpperYp()
        Returns a list containing the slope (dy/dx) of the upper surface of the airfoil at each ordinate.
        Specified by:
        getUpperYp in interface Airfoil
      • getLowerYp

        public java.util.List<java.lang.Double> getLowerYp()
        Returns a list containing the slope (dy/dx) of the lower surface of the airfoil at each ordinate.
        Specified by:
        getLowerYp in interface Airfoil
      • toString

        public java.lang.String toString()
        Returns a string representation of this airfoil (the NACA designation of this airfoil).
        Overrides:
        toString in class java.lang.Object
      • getProfile

        public abstract java.lang.String getProfile()
        Returns a String that represents the profile type of this airfoil.