kioko-propellers / code /main.data
armeldm's picture
Move samples to dataset/, junction kernel wording, CC BY-NC 4.0 license
fac742a verified
Raw History Blame Contribute Delete
2.15 kB
//all measures in mm and degrees
use profile::inputs::{propeller_span, number_blades, trailing_thickness}
use profile::inputs::{x0_front, x1_front, x2_front, x3_front, x4_front, y0a_front, y1a_front, y2a_front, y3a_front, y4a_front}
use profile::inputs::{x0_chord, x1_chord, x2_chord, x3_chord, x4_chord, y0a_rear, y1a_rear, y2a_rear, y3a_rear, y4a_rear}
use profile::inputs::{a0_angle_attack, a0_angle_trailing, a0_leading, a0_thickness, a0_trail}
use profile::inputs::{a1_angle_attack, a1_angle_trailing, a1_leading, a1_thickness, a1_trail}
use profile::inputs::{a2_angle_attack, a2_angle_trailing, a2_leading, a2_thickness, a2_trail}
use profile::inputs::{a3_angle_attack, a3_angle_trailing, a3_leading, a3_thickness, a3_trail}
propeller_span = Generator(250, 600)
number_blades = Generator(4, 6).with_stride(1)
x0_chord = Generator(40, 100)
x1_chord = Generator(50, 200)
x2_chord = Generator(50, 300)
x3_chord = Generator(50, 300)
x4_chord = Generator(30, 100)
x0_front = Generator(-80, 50)
x1_front = Generator(-100, 80)
x2_front = Generator(-100, 100)
x3_front = Generator(-100, 100)
x4_front = Generator(-100, 100)
y0a_front = Generator(0.2, 0.5)
y1a_front = Generator(0.2, 0.8)
y2a_front = Generator(0.2, 1.5)
y3a_front = Generator(0.15, 1.0)
y4a_front = Generator(0.1, 0.5)
y0a_rear = Generator(-0.5, -0.2)
y1a_rear = Generator(-0.8, -0.2)
y2a_rear = Generator(-1.5, -0.2)
y3a_rear = Generator(-1.0, -0.15)
y4a_rear = Generator(-0.5, -0.1)
a0_angle_attack = Generator(-20, 20)
a0_angle_trailing = Generator(0, 50)
a0_leading = Generator(0.1, 0.5)
a0_thickness = Generator(0.2, 0.6)
a0_trail = Generator(0.2, 1.5)
a1_angle_attack = Generator(-20, 20)
a1_angle_trailing = Generator(0, 50)
a1_leading = Generator(0.1, 0.5)
a1_thickness = Generator(0.2, 0.6)
a1_trail = Generator(0.2, 1.5)
a2_angle_attack = Generator(-20, 20)
a2_angle_trailing = Generator(0, 50)
a2_leading = Generator(0.1, 0.5)
a2_thickness = Generator(0.2, 0.5)
a2_trail = Generator(0.2, 1.5)
a3_angle_attack = Generator(-20, 20)
a3_angle_trailing = Generator(0, 50)
a3_leading = Generator(0.1, 0.5)
a3_thickness = Generator(0.2, 0.5)
a3_trail = Generator(0.2, 1.5)