def myChordFunctionJetstream(Epsilon):
    # User-defined function describing the variation of chord as a function of
    # the leading edge coordinate

    ChordLengths = [1, 0.333]
    EpsArray = [0, 1]

    f = act.linear_interpolation(EpsArray, ChordLengths)
    return f(Epsilon)
Ejemplo n.º 2
0
def mySweepAngleFunctionAirliner(Epsilon):
    # User-defined function describing the variation of sweep angle as a function
    # of the leading edge coordinate

    SweepAngles = [90, 87, 35, 35, 35, 35, 35, 35, 35, 35, 80]

    EpsArray = []
    for i in range(0, 11):
        list.append(EpsArray, float(i)/10)
    f = act.linear_interpolation(EpsArray, SweepAngles)

    return f(Epsilon)
Ejemplo n.º 3
0
def myChordFunctionAirliner(Epsilon):
    # User-defined function describing the variation of chord as a function of
    # the leading edge coordinate

    ChordLengths = [0.5, 0.3792, 0.2867, 0.232, 0.1763, 0.1393, 0.1155, 0.093,
    0.0713, 0.055, 0.007]

    EpsArray = []
    for i in range(0, 11):
        list.append(EpsArray, float(i)/10)
    f = act.linear_interpolation(EpsArray, ChordLengths)
    return f(Epsilon)