Beispiel #1
0
 public Stabilizer LoadDefaultVertical()
 {
     airfoil = Airfoil.Get("NACA0012");
     span    = 2.0;
     chord   = 0.7;
     return(this);
 }
Beispiel #2
0
 public Stabilizer LoadDefaultHorizontal()
 {
     airfoil = Airfoil.Get("NACA0012");
     span    = 3.2;
     chord   = 0.4;
     return(this);
 }
Beispiel #3
0
        public void TestAirfoil()
        {
            Airfoil airfoil = Airfoil.Get("NACA0012");

            Assert.AreEqual(0.755, airfoil.CL(-165), 0.01);
            Assert.AreEqual(0.256, airfoil.CD(-165), 0.01);
            Assert.AreEqual(0.326, airfoil.CM(-165), 0.01);
        }
Beispiel #4
0
 public static void Add(Airfoil airfoil)
 {
     airfoils[airfoil.name] = airfoil;
 }