Improve physical geometry, fluid solvers, audio, and profiling

This commit is contained in:
max
2026-10-30 18:57:56 +01:00
parent bf8621ad39
commit eb2b6366c2
130 changed files with 14649 additions and 862 deletions

View File

@@ -1,5 +1,5 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
schema_version = 2
id = "fivehundred"
name = "500 cc / big single"
category = "Two-stroke / 500 cc"
@@ -7,16 +7,19 @@ description = "Concept single / transported carb fuel"
order = 16
cycle = "two_stroke"
[simulation]
cells_per_meter = 100.0
[two_stroke]
reed_pipe_diameter_mm = 40
transfer_pipe_diameter_mm = 32
initial_rpm = 3000.0
starter_torque_nm = 8.0
maximum_load_torque_nm = 10.0
crankshaft_inertia_kg_m2 = 0.04002316
bore_mm = 86.0
carburetor_diameter_mm = 41.0
crankcase_clearance_cc = 600.3475
exhaust = "racing"
exhaust_cell_length_mm = 15.0
exhaust_duration_deg = 190.0
exhaust_width_mm = 57.15746
friction_bar = 0.4
@@ -66,3 +69,69 @@ final_drive_ratio = 3.769231
mass_kg = 170
wheel_radius_mm = 331.3
gear_ratios = [2.384615, 1.933333, 1.588235, 1.352941, 1.176471, 1.055556]
[[geometry.cylinders]]
origin_mm = [ 0, 0, 0 ]
tilt_deg = 0.0
# intake
[[geometry.pipes]]
index = 0
points_mm = [
[ -251.5498, 49.468, 0 ],
[ -151.5498, 49.468, 0 ]
]
# reed passage
[[geometry.pipes]]
index = 1
points_mm = [
[ -72.1797, 49.468, 0 ],
[ -42.1797, 49.468, 0 ]
]
# transfer passage
[[geometry.pipes]]
index = 2
points_mm = [
[ 42.1797, 91.6478, 0 ],
[ 46.452, 94.3834, 0 ],
[ 50.1614, 97.1292, 0 ],
[ 53.3081, 99.8853, 0 ],
[ 55.8919, 102.6516, 0 ],
[ 57.913, 105.4282, 0 ],
[ 59.3712, 108.215, 0 ],
[ 60.2667, 111.0122, 0 ],
[ 60.5993, 113.8195, 0 ],
[ 60.3692, 116.6372, 0 ],
[ 59.5763, 119.465, 0 ],
[ 58.2206, 122.3032, 0 ],
[ 56.302, 125.1516, 0 ],
[ 53.8207, 128.0103, 0 ],
[ 50.7766, 130.8792, 0 ],
[ 47.1697, 133.7584, 0 ],
[ 43, 136.6478, 0 ]
]
# exhaust chamber
[[geometry.pipes]]
index = 3
points_mm = [
[ 43, 192.6478, 0 ],
[ 281.7131, 105.7633, 0 ],
[ 402.492, -153.248, 0 ],
[ 229.4644, -400.3569, 0 ],
[ 23.0624, -400.3569, 0 ],
[ -290.2485, -286.3211, 0 ],
[ -671.2983, -286.321, 0 ]
]
[[geometry.volumes]]
id = "intake_plenum"
center_mm = [ -111.8648, 49.468, 0 ]
size_mm = [ 79.3701, 79.3701, 79.3701 ]
[[geometry.volumes]]
id = "crankcase"
center_mm = [ 0, 49.468, 0 ]
size_mm = [ 84.3595, 84.3595, 84.3595 ]