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 = "rb26"
|
||||
name = "RB26-inspired / 2.6 inline six NA"
|
||||
category = "Inline six"
|
||||
@@ -7,9 +7,11 @@ description = "Unequal primaries / small junctions / staged collectors / EFI"
|
||||
order = 24
|
||||
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 = 64.21635
|
||||
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 = 132.66
|
||||
stroke_mm = 73.7
|
||||
@@ -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, 169.6989, -361.8 ],
|
||||
[ -312, 169.6989, -361.8 ]
|
||||
]
|
||||
|
||||
# runners 1
|
||||
[[geometry.pipes]]
|
||||
index = 1
|
||||
points_mm = [
|
||||
[ -260, 169.6989, -284.4 ],
|
||||
[ -260, 169.6989, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 2
|
||||
[[geometry.pipes]]
|
||||
index = 2
|
||||
points_mm = [
|
||||
[ -156, 169.6989, -284.4 ],
|
||||
[ -156, 169.6989, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 3
|
||||
[[geometry.pipes]]
|
||||
index = 3
|
||||
points_mm = [
|
||||
[ -52, 169.6989, -284.4 ],
|
||||
[ -52, 169.6989, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 4
|
||||
[[geometry.pipes]]
|
||||
index = 4
|
||||
points_mm = [
|
||||
[ 52, 169.6989, -284.4 ],
|
||||
[ 52, 169.6989, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 5
|
||||
[[geometry.pipes]]
|
||||
index = 5
|
||||
points_mm = [
|
||||
[ 156, 169.6989, -284.4 ],
|
||||
[ 156, 169.6989, -34.4 ]
|
||||
]
|
||||
|
||||
# runners 6
|
||||
[[geometry.pipes]]
|
||||
index = 6
|
||||
points_mm = [
|
||||
[ 260, 169.6989, -284.4 ],
|
||||
[ 260, 169.6989, -34.4 ]
|
||||
]
|
||||
|
||||
# primary_1
|
||||
[[geometry.pipes]]
|
||||
index = 7
|
||||
points_mm = [
|
||||
[ -260, 169.6989, 43 ],
|
||||
[ -258.9425, 166.7079, 55.9219 ],
|
||||
[ -255.954, 162.0061, 66.9219 ],
|
||||
[ -251.3103, 155.731, 76.1501 ],
|
||||
[ -245.2874, 148.0196, 83.7568 ],
|
||||
[ -238.161, 139.0093, 89.8919 ],
|
||||
[ -230.207, 128.8373, 94.7057 ],
|
||||
[ -221.7012, 117.6409, 98.3485 ],
|
||||
[ -212.9196, 105.5573, 100.9702 ],
|
||||
[ -204.138, 92.7238, 102.7211 ],
|
||||
[ -195.6323, 79.2776, 103.7514 ],
|
||||
[ -187.6783, 65.3559, 104.2112 ],
|
||||
[ -180.5519, 51.0961, 104.2507 ],
|
||||
[ -174.5289, 36.6354, 104.02 ],
|
||||
[ -169.8852, 22.111, 103.6693 ],
|
||||
[ -166.8968, 7.6602, 103.3488 ],
|
||||
[ -165.8393, -6.5798, 103.2085 ]
|
||||
]
|
||||
|
||||
# primary_2
|
||||
[[geometry.pipes]]
|
||||
index = 8
|
||||
points_mm = [
|
||||
[ -156, 169.6989, 43 ],
|
||||
[ -156, 166.8166, 54.605 ],
|
||||
[ -156, 162.0189, 64.6276 ],
|
||||
[ -156, 155.4836, 73.1827 ],
|
||||
[ -156, 147.389, 80.3855 ],
|
||||
[ -156, 137.9129, 86.3509 ],
|
||||
[ -156, 127.2335, 91.194 ],
|
||||
[ -156, 115.5287, 95.0298 ],
|
||||
[ -156, 102.9766, 97.9735 ],
|
||||
[ -156, 89.7552, 100.14 ],
|
||||
[ -156, 76.0426, 101.6444 ],
|
||||
[ -156, 62.0167, 102.6017 ],
|
||||
[ -156, 47.8557, 103.1269 ],
|
||||
[ -156, 33.7375, 103.3352 ],
|
||||
[ -156, 19.8401, 103.3415 ],
|
||||
[ -156, 6.3417, 103.261 ],
|
||||
[ -156, -6.5798, 103.2085 ]
|
||||
]
|
||||
|
||||
# primary_3
|
||||
[[geometry.pipes]]
|
||||
index = 9
|
||||
points_mm = [
|
||||
[ -52, 169.6989, 43 ],
|
||||
[ -53.0575, 166.7079, 55.9219 ],
|
||||
[ -56.046, 162.0061, 66.9219 ],
|
||||
[ -60.6896, 155.731, 76.1501 ],
|
||||
[ -66.7126, 148.0196, 83.7568 ],
|
||||
[ -73.839, 139.0093, 89.8919 ],
|
||||
[ -81.793, 128.8373, 94.7057 ],
|
||||
[ -90.2988, 117.6409, 98.3485 ],
|
||||
[ -99.0804, 105.5573, 100.9702 ],
|
||||
[ -107.8619, 92.7238, 102.7211 ],
|
||||
[ -116.3677, 79.2776, 103.7514 ],
|
||||
[ -124.3217, 65.3559, 104.2112 ],
|
||||
[ -131.4481, 51.0961, 104.2507 ],
|
||||
[ -137.4711, 36.6354, 104.02 ],
|
||||
[ -142.1148, 22.111, 103.6693 ],
|
||||
[ -145.1033, 7.6602, 103.3488 ],
|
||||
[ -146.1607, -6.5798, 103.2085 ]
|
||||
]
|
||||
|
||||
# primary_4
|
||||
[[geometry.pipes]]
|
||||
index = 10
|
||||
points_mm = [
|
||||
[ 52, 169.6989, 43 ],
|
||||
[ 53.0575, 166.6343, 57.2699 ],
|
||||
[ 56.046, 161.9975, 70.224 ],
|
||||
[ 60.6896, 155.8982, 81.9166 ],
|
||||
[ 66.7126, 148.446, 92.4023 ],
|
||||
[ 73.839, 139.7507, 101.7358 ],
|
||||
[ 81.793, 129.9218, 109.9715 ],
|
||||
[ 90.2988, 119.0691, 117.164 ],
|
||||
[ 99.0804, 107.3023, 123.3678 ],
|
||||
[ 107.8619, 94.731, 128.6374 ],
|
||||
[ 116.3677, 81.465, 133.0275 ],
|
||||
[ 124.3217, 67.6138, 136.5926 ],
|
||||
[ 131.4481, 53.2872, 139.3871 ],
|
||||
[ 137.4711, 38.5949, 141.4657 ],
|
||||
[ 142.1148, 23.6465, 142.8829 ],
|
||||
[ 145.1033, 8.5517, 143.6932 ],
|
||||
[ 146.1607, -6.5798, 143.9512 ]
|
||||
]
|
||||
|
||||
# primary_5
|
||||
[[geometry.pipes]]
|
||||
index = 11
|
||||
points_mm = [
|
||||
[ 156, 169.6989, 43 ],
|
||||
[ 156, 166.7349, 56.0518 ],
|
||||
[ 156, 162.0093, 68.1017 ],
|
||||
[ 156, 155.6694, 79.1718 ],
|
||||
[ 156, 147.8627, 89.284 ],
|
||||
[ 156, 138.7365, 98.4604 ],
|
||||
[ 156, 128.4383, 106.7232 ],
|
||||
[ 156, 117.1154, 114.0943 ],
|
||||
[ 156, 104.9152, 120.5959 ],
|
||||
[ 156, 91.9852, 126.25 ],
|
||||
[ 156, 78.4727, 131.0786 ],
|
||||
[ 156, 64.5251, 135.1038 ],
|
||||
[ 156, 50.2899, 138.3477 ],
|
||||
[ 156, 35.9144, 140.8323 ],
|
||||
[ 156, 21.546, 142.5797 ],
|
||||
[ 156, 7.3321, 143.612 ],
|
||||
[ 156, -6.5798, 143.9512 ]
|
||||
]
|
||||
|
||||
# primary_6
|
||||
[[geometry.pipes]]
|
||||
index = 12
|
||||
points_mm = [
|
||||
[ 260, 169.6989, 43 ],
|
||||
[ 258.9425, 166.6343, 57.2699 ],
|
||||
[ 255.954, 161.9975, 70.224 ],
|
||||
[ 251.3103, 155.8982, 81.9166 ],
|
||||
[ 245.2874, 148.446, 92.4023 ],
|
||||
[ 238.161, 139.7507, 101.7358 ],
|
||||
[ 230.207, 129.9218, 109.9715 ],
|
||||
[ 221.7012, 119.0691, 117.164 ],
|
||||
[ 212.9196, 107.3023, 123.3678 ],
|
||||
[ 204.138, 94.731, 128.6374 ],
|
||||
[ 195.6323, 81.465, 133.0275 ],
|
||||
[ 187.6783, 67.6138, 136.5926 ],
|
||||
[ 180.5519, 53.2872, 139.3871 ],
|
||||
[ 174.5289, 38.5949, 141.4657 ],
|
||||
[ 169.8852, 23.6465, 142.8829 ],
|
||||
[ 166.8968, 8.5517, 143.6932 ],
|
||||
[ 165.8393, -6.5798, 143.9512 ]
|
||||
]
|
||||
|
||||
# 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, 169.6989, -361.8 ]
|
||||
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