Improve physical geometry, fluid solvers, audio, and profiling
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Engine definition. Dimensional keys state their units.
|
||||
schema_version = 1
|
||||
schema_version = 2
|
||||
id = "six-long"
|
||||
name = "3.0 litre / long-stroke inline six"
|
||||
category = "Inline six"
|
||||
@@ -7,9 +7,11 @@ description = "Unequal primaries / small junctions / staged collectors / EFI"
|
||||
order = 25
|
||||
cycle = "four_stroke"
|
||||
|
||||
[simulation]
|
||||
cells_per_meter = 20.0
|
||||
|
||||
[engine]
|
||||
bank_angle_deg = 60.0
|
||||
collector_volume_litres = 1.5
|
||||
cylinders = 6
|
||||
initial_rpm = 1400.0
|
||||
initialize_phased_charge = true
|
||||
@@ -18,7 +20,6 @@ maximum_load_torque_nm = 30.0
|
||||
minimum_substeps = 1
|
||||
phase_degrees = [0.0, 240.0, 480.0, 120.0, 600.0, 360.0]
|
||||
pipe_damping = 0.0
|
||||
plenum_volume_litres = 6.0
|
||||
starter_torque_nm = 74.93359
|
||||
throttle_diameter_mm = 65.0
|
||||
topology = "staged"
|
||||
@@ -31,18 +32,12 @@ burn_duration_deg = 60.0
|
||||
burn_start_deg = 5.0
|
||||
compression = 10.0
|
||||
energy_variation = 0.05
|
||||
exhaust_close_deg = 390.0
|
||||
exhaust_open_deg = 130.0
|
||||
exhaust_valve_count = 1
|
||||
exhaust_valve_diameter_mm = 27.52
|
||||
exhaust_valve_lift_mm = 7.740001
|
||||
fuel_lhv_j_per_kg = 4.4e+07
|
||||
heat_transfer = 100.0
|
||||
intake_close_deg = 590.0
|
||||
intake_open_deg = 340.0
|
||||
intake_valve_count = 1
|
||||
intake_valve_diameter_mm = 32.68
|
||||
intake_valve_lift_mm = 8.6
|
||||
misfire_probability = 0.0
|
||||
rod_mm = 154.8
|
||||
stroke_mm = 86.0
|
||||
@@ -101,71 +96,434 @@ system = "injection"
|
||||
|
||||
[junctions]
|
||||
h_pipe = true
|
||||
junction_volume_cc = 50.0
|
||||
|
||||
[[pipes]]
|
||||
id = "intake"
|
||||
cells = 4
|
||||
diameter_mm = 75.0
|
||||
length_mm = 200.0
|
||||
|
||||
[[pipes]]
|
||||
id = "runners"
|
||||
count = 6
|
||||
cells = 5
|
||||
diameter_mm = 35.0
|
||||
length_mm = 250.0
|
||||
|
||||
[[pipes]]
|
||||
id = "primary_1"
|
||||
cells = 11
|
||||
diameter_mm = 38.0
|
||||
length_mm = 520.0
|
||||
|
||||
[[pipes]]
|
||||
id = "primary_2"
|
||||
cells = 12
|
||||
diameter_mm = 38.0
|
||||
length_mm = 585.0
|
||||
|
||||
[[pipes]]
|
||||
id = "primary_3"
|
||||
cells = 13
|
||||
diameter_mm = 38.0
|
||||
length_mm = 650.0
|
||||
|
||||
[[pipes]]
|
||||
id = "primary_4"
|
||||
cells = 11
|
||||
diameter_mm = 38.0
|
||||
length_mm = 520.0
|
||||
|
||||
[[pipes]]
|
||||
id = "primary_5"
|
||||
cells = 12
|
||||
diameter_mm = 38.0
|
||||
length_mm = 585.0
|
||||
|
||||
[[pipes]]
|
||||
id = "primary_6"
|
||||
cells = 13
|
||||
diameter_mm = 38.0
|
||||
length_mm = 650.0
|
||||
|
||||
[[pipes]]
|
||||
id = "tailpipe_13"
|
||||
cells = 30
|
||||
diameter_mm = 60.0
|
||||
length_mm = 1500.0
|
||||
|
||||
[[pipes]]
|
||||
id = "secondary_14"
|
||||
cells = 9
|
||||
diameter_mm = 48.0
|
||||
length_mm = 420.0
|
||||
|
||||
[[pipes]]
|
||||
id = "secondary_15"
|
||||
cells = 11
|
||||
diameter_mm = 48.0
|
||||
length_mm = 540.0
|
||||
|
||||
[cam.intake]
|
||||
points = [
|
||||
[0.000, 0.000000],
|
||||
[340.000, 0.000000],
|
||||
[345.000, 0.156314],
|
||||
[350.000, 0.590029],
|
||||
[355.000, 1.248307],
|
||||
[360.000, 2.078310],
|
||||
[365.000, 3.027200],
|
||||
[370.000, 4.042138],
|
||||
[375.000, 5.070285],
|
||||
[380.000, 6.058803],
|
||||
[385.000, 6.954854],
|
||||
[390.000, 7.705600],
|
||||
[395.000, 8.258202],
|
||||
[400.000, 8.559821],
|
||||
[402.500, 8.600000],
|
||||
[527.500, 8.600000],
|
||||
[532.500, 8.443686],
|
||||
[537.500, 8.009971],
|
||||
[542.500, 7.351693],
|
||||
[547.500, 6.521690],
|
||||
[552.500, 5.572800],
|
||||
[557.500, 4.557862],
|
||||
[562.500, 3.529715],
|
||||
[567.500, 2.541197],
|
||||
[572.500, 1.645146],
|
||||
[577.500, 0.894400],
|
||||
[582.500, 0.341798],
|
||||
[587.500, 0.040179],
|
||||
[590.000, 0.000000],
|
||||
[720.000, 0.000000]
|
||||
]
|
||||
|
||||
[cam.exhaust]
|
||||
points = [
|
||||
[0.000, 0.000000],
|
||||
[130.000, 0.000000],
|
||||
[135.000, 0.130350],
|
||||
[140.000, 0.493218],
|
||||
[145.000, 1.046327],
|
||||
[150.000, 1.747401],
|
||||
[155.000, 2.554165],
|
||||
[160.000, 3.424343],
|
||||
[165.000, 4.315658],
|
||||
[170.000, 5.185836],
|
||||
[175.000, 5.992600],
|
||||
[180.000, 6.693674],
|
||||
[185.000, 7.246783],
|
||||
[190.000, 7.609651],
|
||||
[195.000, 7.740001],
|
||||
[325.000, 7.740001],
|
||||
[330.000, 7.609651],
|
||||
[335.000, 7.246783],
|
||||
[340.000, 6.693674],
|
||||
[345.000, 5.992600],
|
||||
[350.000, 5.185836],
|
||||
[355.000, 4.315658],
|
||||
[360.000, 3.424343],
|
||||
[365.000, 2.554165],
|
||||
[370.000, 1.747401],
|
||||
[375.000, 1.046327],
|
||||
[380.000, 0.493218],
|
||||
[385.000, 0.130350],
|
||||
[390.000, 0.000000],
|
||||
[720.000, 0.000000]
|
||||
]
|
||||
|
||||
[valves.intake]
|
||||
mass_g = 35.0
|
||||
spring_rate_n_per_mm = 38.0
|
||||
damping_n_s_per_m = 24.0
|
||||
seat_force_n = 75.0
|
||||
maximum_lift_mm = 15.0
|
||||
seat_restitution = 0.005
|
||||
cam_restitution = 0.01
|
||||
stop_restitution = 0.01
|
||||
|
||||
[valves.exhaust]
|
||||
mass_g = 35.0
|
||||
spring_rate_n_per_mm = 38.0
|
||||
damping_n_s_per_m = 24.0
|
||||
seat_force_n = 75.0
|
||||
maximum_lift_mm = 15.0
|
||||
seat_restitution = 0.005
|
||||
cam_restitution = 0.01
|
||||
stop_restitution = 0.01
|
||||
|
||||
[valve_sound]
|
||||
mode_hz = 3600.0
|
||||
effective_mass_g = 180.0
|
||||
radiation_area_cm2 = 10.0
|
||||
damping_ratio = 0.9
|
||||
|
||||
[[geometry.cylinders]]
|
||||
origin_mm = [ -260, 0, 0 ]
|
||||
tilt_deg = 0.0
|
||||
|
||||
[[geometry.cylinders]]
|
||||
origin_mm = [ -156, 0, 0 ]
|
||||
tilt_deg = 0.0
|
||||
|
||||
[[geometry.cylinders]]
|
||||
origin_mm = [ -52, 0, 0 ]
|
||||
tilt_deg = 0.0
|
||||
|
||||
[[geometry.cylinders]]
|
||||
origin_mm = [ 52, 0, 0 ]
|
||||
tilt_deg = 0.0
|
||||
|
||||
[[geometry.cylinders]]
|
||||
origin_mm = [ 156, 0, 0 ]
|
||||
tilt_deg = 0.0
|
||||
|
||||
[[geometry.cylinders]]
|
||||
origin_mm = [ 260, 0, 0 ]
|
||||
tilt_deg = 0.0
|
||||
|
||||
# intake
|
||||
[[geometry.pipes]]
|
||||
index = 0
|
||||
points_mm = [
|
||||
[ -512, 199.3556, -361.7999 ],
|
||||
[ -312, 199.3556, -361.7999 ]
|
||||
]
|
||||
|
||||
# runners 1
|
||||
[[geometry.pipes]]
|
||||
index = 1
|
||||
points_mm = [
|
||||
[ -260, 199.3556, -284.3999 ],
|
||||
[ -260, 199.3556, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 2
|
||||
[[geometry.pipes]]
|
||||
index = 2
|
||||
points_mm = [
|
||||
[ -156, 199.3556, -284.3999 ],
|
||||
[ -156, 199.3556, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 3
|
||||
[[geometry.pipes]]
|
||||
index = 3
|
||||
points_mm = [
|
||||
[ -52, 199.3556, -284.3999 ],
|
||||
[ -52, 199.3556, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 4
|
||||
[[geometry.pipes]]
|
||||
index = 4
|
||||
points_mm = [
|
||||
[ 52, 199.3556, -284.3999 ],
|
||||
[ 52, 199.3556, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 5
|
||||
[[geometry.pipes]]
|
||||
index = 5
|
||||
points_mm = [
|
||||
[ 156, 199.3556, -284.3999 ],
|
||||
[ 156, 199.3556, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 6
|
||||
[[geometry.pipes]]
|
||||
index = 6
|
||||
points_mm = [
|
||||
[ 260, 199.3556, -284.3999 ],
|
||||
[ 260, 199.3556, -34.4 ]
|
||||
]
|
||||
|
||||
# primary_1
|
||||
[[geometry.pipes]]
|
||||
index = 7
|
||||
points_mm = [
|
||||
[ -260, 199.3556, 43 ],
|
||||
[ -258.9279, 195.9039, 57.4758 ],
|
||||
[ -255.8981, 190.3736, 69.6486 ],
|
||||
[ -251.1903, 182.9408, 79.7072 ],
|
||||
[ -245.0842, 173.7821, 87.8407 ],
|
||||
[ -237.8593, 163.0735, 94.2378 ],
|
||||
[ -229.7954, 150.9915, 99.0876 ],
|
||||
[ -221.1722, 137.7124, 102.5789 ],
|
||||
[ -212.2693, 123.4124, 104.9007 ],
|
||||
[ -203.3664, 108.2679, 106.2418 ],
|
||||
[ -194.7432, 92.4553, 106.7912 ],
|
||||
[ -186.6793, 76.1507, 106.7377 ],
|
||||
[ -179.4545, 59.5305, 106.2704 ],
|
||||
[ -173.3483, 42.7711, 105.578 ],
|
||||
[ -168.6405, 26.0487, 104.8496 ],
|
||||
[ -165.6107, 9.5396, 104.274 ],
|
||||
[ -164.5387, -6.5798, 104.0402 ]
|
||||
]
|
||||
|
||||
# primary_2
|
||||
[[geometry.pipes]]
|
||||
index = 8
|
||||
points_mm = [
|
||||
[ -156, 199.3556, 43 ],
|
||||
[ -156, 196.0021, 56.2873 ],
|
||||
[ -156, 190.385, 67.5779 ],
|
||||
[ -156, 182.7176, 77.0291 ],
|
||||
[ -156, 173.2129, 84.798 ],
|
||||
[ -156, 162.084, 91.042 ],
|
||||
[ -156, 149.544, 95.9182 ],
|
||||
[ -156, 135.8061, 99.5838 ],
|
||||
[ -156, 121.0833, 102.1961 ],
|
||||
[ -156, 105.5888, 103.9123 ],
|
||||
[ -156, 89.5356, 104.8895 ],
|
||||
[ -156, 73.137, 105.2851 ],
|
||||
[ -156, 56.606, 105.2562 ],
|
||||
[ -156, 40.1556, 104.96 ],
|
||||
[ -156, 23.9992, 104.5538 ],
|
||||
[ -156, 8.3496, 104.1948 ],
|
||||
[ -156, -6.5798, 104.0402 ]
|
||||
]
|
||||
|
||||
# primary_3
|
||||
[[geometry.pipes]]
|
||||
index = 9
|
||||
points_mm = [
|
||||
[ -52, 199.3556, 43 ],
|
||||
[ -53.0721, 195.9039, 57.4758 ],
|
||||
[ -56.1019, 190.3736, 69.6486 ],
|
||||
[ -60.8097, 182.9408, 79.7072 ],
|
||||
[ -66.9158, 173.7821, 87.8407 ],
|
||||
[ -74.1407, 163.0735, 94.2378 ],
|
||||
[ -82.2046, 150.9915, 99.0876 ],
|
||||
[ -90.8278, 137.7124, 102.5789 ],
|
||||
[ -99.7307, 123.4124, 104.9007 ],
|
||||
[ -108.6336, 108.2679, 106.2418 ],
|
||||
[ -117.2568, 92.4553, 106.7912 ],
|
||||
[ -125.3207, 76.1507, 106.7377 ],
|
||||
[ -132.5455, 59.5305, 106.2704 ],
|
||||
[ -138.6517, 42.7711, 105.578 ],
|
||||
[ -143.3595, 26.0487, 104.8496 ],
|
||||
[ -146.3893, 9.5396, 104.274 ],
|
||||
[ -147.4613, -6.5798, 104.0402 ]
|
||||
]
|
||||
|
||||
# primary_4
|
||||
[[geometry.pipes]]
|
||||
index = 10
|
||||
points_mm = [
|
||||
[ 52, 199.3556, 43 ],
|
||||
[ 53.0721, 195.8364, 58.7577 ],
|
||||
[ 56.1019, 190.3657, 72.8486 ],
|
||||
[ 60.8097, 183.0945, 85.3623 ],
|
||||
[ 66.9158, 174.1738, 96.3887 ],
|
||||
[ 74.1407, 163.7546, 106.0175 ],
|
||||
[ 82.2046, 151.9878, 114.3382 ],
|
||||
[ 90.8278, 139.0244, 121.4408 ],
|
||||
[ 99.7307, 125.0154, 127.4148 ],
|
||||
[ 108.6336, 110.1119, 132.35 ],
|
||||
[ 117.2568, 94.4647, 136.3361 ],
|
||||
[ 125.3207, 78.2248, 139.4628 ],
|
||||
[ 132.5455, 61.5433, 141.8198 ],
|
||||
[ 138.6517, 44.5711, 143.4969 ],
|
||||
[ 143.3595, 27.4592, 144.5837 ],
|
||||
[ 146.3893, 10.3586, 145.1701 ],
|
||||
[ 147.4613, -6.5798, 145.3456 ]
|
||||
]
|
||||
|
||||
# primary_5
|
||||
[[geometry.pipes]]
|
||||
index = 11
|
||||
points_mm = [
|
||||
[ 156, 199.3556, 43 ],
|
||||
[ 156, 195.9285, 57.6414 ],
|
||||
[ 156, 190.3764, 70.9037 ],
|
||||
[ 156, 182.8848, 82.847 ],
|
||||
[ 156, 173.6392, 93.5311 ],
|
||||
[ 156, 162.8252, 103.0159 ],
|
||||
[ 156, 150.6282, 111.3615 ],
|
||||
[ 156, 137.234, 118.6277 ],
|
||||
[ 156, 122.8279, 124.8746 ],
|
||||
[ 156, 107.5956, 130.1621 ],
|
||||
[ 156, 91.7225, 134.55 ],
|
||||
[ 156, 75.3944, 138.0984 ],
|
||||
[ 156, 58.7966, 140.8673 ],
|
||||
[ 156, 42.1147, 142.9164 ],
|
||||
[ 156, 25.5343, 144.3059 ],
|
||||
[ 156, 9.2409, 145.0956 ],
|
||||
[ 156, -6.5798, 145.3456 ]
|
||||
]
|
||||
|
||||
# primary_6
|
||||
[[geometry.pipes]]
|
||||
index = 12
|
||||
points_mm = [
|
||||
[ 260, 199.3556, 43 ],
|
||||
[ 258.9279, 195.8364, 58.7577 ],
|
||||
[ 255.8981, 190.3657, 72.8486 ],
|
||||
[ 251.1903, 183.0945, 85.3623 ],
|
||||
[ 245.0842, 174.1738, 96.3887 ],
|
||||
[ 237.8593, 163.7546, 106.0175 ],
|
||||
[ 229.7954, 151.9878, 114.3382 ],
|
||||
[ 221.1722, 139.0244, 121.4408 ],
|
||||
[ 212.2693, 125.0154, 127.4148 ],
|
||||
[ 203.3664, 110.1119, 132.35 ],
|
||||
[ 194.7432, 94.4647, 136.3361 ],
|
||||
[ 186.6793, 78.2248, 139.4628 ],
|
||||
[ 179.4545, 61.5433, 141.8198 ],
|
||||
[ 173.3483, 44.5711, 143.4969 ],
|
||||
[ 168.6405, 27.4592, 144.5837 ],
|
||||
[ 165.6107, 10.3586, 145.1701 ],
|
||||
[ 164.5387, -6.5798, 145.3456 ]
|
||||
]
|
||||
|
||||
# tailpipe_13
|
||||
[[geometry.pipes]]
|
||||
index = 13
|
||||
points_mm = [
|
||||
[ 218.4202, -70, 169.5 ],
|
||||
[ 1718.4201, -70, 169.5 ]
|
||||
]
|
||||
|
||||
# secondary_14
|
||||
[[geometry.pipes]]
|
||||
index = 14
|
||||
points_mm = [
|
||||
[ -137.5798, -27.3284, 112.6045 ],
|
||||
[ -115.9354, -27.7815, 113.2086 ],
|
||||
[ -94.9697, -29.0619, 114.9159 ],
|
||||
[ -74.5859, -31.0515, 117.5686 ],
|
||||
[ -54.6869, -33.632, 121.0094 ],
|
||||
[ -35.1758, -36.6853, 125.0805 ],
|
||||
[ -15.9556, -40.0932, 129.6243 ],
|
||||
[ 3.0707, -43.7375, 134.4834 ],
|
||||
[ 22, -47.5, 139.5 ],
|
||||
[ 40.9293, -51.2625, 144.5166 ],
|
||||
[ 59.9556, -54.9068, 149.3757 ],
|
||||
[ 79.1758, -58.3147, 153.9195 ],
|
||||
[ 98.6869, -61.368, 157.9906 ],
|
||||
[ 118.5859, -63.9485, 161.4314 ],
|
||||
[ 138.9697, -65.9381, 164.0842 ],
|
||||
[ 159.9354, -67.2185, 165.7914 ],
|
||||
[ 181.5798, -67.6716, 166.3955 ]
|
||||
]
|
||||
|
||||
# secondary_15
|
||||
[[geometry.pipes]]
|
||||
index = 15
|
||||
points_mm = [
|
||||
[ 174.0108, -43.4202, 160.6401 ],
|
||||
[ 174.1004, -44.1614, 160.6706 ],
|
||||
[ 174.3536, -44.8101, 160.7569 ],
|
||||
[ 174.7471, -45.3796, 160.8911 ],
|
||||
[ 175.2574, -45.8829, 161.065 ],
|
||||
[ 175.8613, -46.3335, 161.2709 ],
|
||||
[ 176.5352, -46.7443, 161.5006 ],
|
||||
[ 177.2559, -47.1288, 161.7463 ],
|
||||
[ 178, -47.5, 162 ],
|
||||
[ 178.7441, -47.8712, 162.2536 ],
|
||||
[ 179.4648, -48.2557, 162.4994 ],
|
||||
[ 180.1387, -48.6665, 162.7291 ],
|
||||
[ 180.7426, -49.1171, 162.935 ],
|
||||
[ 181.2529, -49.6204, 163.1089 ],
|
||||
[ 181.6464, -50.1899, 163.2431 ],
|
||||
[ 181.8996, -50.8386, 163.3294 ],
|
||||
[ 181.9892, -51.5798, 163.3599 ]
|
||||
]
|
||||
|
||||
[[geometry.volumes]]
|
||||
id = "intake_plenum"
|
||||
center_mm = [ 0, 199.3556, -361.7999 ]
|
||||
size_mm = [ 624, 62.1149, 154.8 ]
|
||||
|
||||
[[geometry.volumes]]
|
||||
id = "junction_0"
|
||||
center_mm = [ -156, -25, 109.5 ]
|
||||
size_mm = [ 36.8403, 36.8403, 36.8403 ]
|
||||
|
||||
[[geometry.volumes]]
|
||||
id = "junction_1"
|
||||
center_mm = [ 156, -25, 154.5 ]
|
||||
size_mm = [ 36.8403, 36.8403, 36.8403 ]
|
||||
|
||||
[[geometry.volumes]]
|
||||
id = "junction_2"
|
||||
center_mm = [ 200, -70, 169.5 ]
|
||||
size_mm = [ 36.8403, 36.8403, 36.8403 ]
|
||||
|
||||
Reference in New Issue
Block a user