public Stabilizer LoadDefaultVertical() { airfoil = Airfoil.Get("NACA0012"); span = 2.0; chord = 0.7; return(this); }
public Stabilizer LoadDefaultHorizontal() { airfoil = Airfoil.Get("NACA0012"); span = 3.2; chord = 0.4; return(this); }
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); }
public static void Add(Airfoil airfoil) { airfoils[airfoil.name] = airfoil; }