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 = "yz-fat"
name = "125 / wide belly chamber"
category = "Two-stroke / 125 cc"
@@ -7,16 +7,19 @@ description = "Estimated chamber geometry / same 125 cc engine"
order = 14
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.01
bore_mm = 54.0
carburetor_diameter_mm = 38.1
crankcase_clearance_cc = 150.0
exhaust = "racing"
exhaust_cell_length_mm = 10.0
exhaust_duration_deg = 190.0
exhaust_width_mm = 36.0
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 = [
[ -235.9365, 16.1836, 0 ],
[ -135.9365, 16.1836, 0 ]
]
# reed passage
[[geometry.pipes]]
index = 1
points_mm = [
[ -56.5664, 16.1836, 0 ],
[ -26.5664, 16.1836, 0 ]
]
# transfer passage
[[geometry.pipes]]
index = 2
points_mm = [
[ 26.5664, 42.75, 0 ],
[ 30.8157, 45.5218, 0 ],
[ 34.5021, 48.2991, 0 ],
[ 37.6254, 51.0817, 0 ],
[ 40.1858, 53.8698, 0 ],
[ 42.1833, 56.6633, 0 ],
[ 43.6178, 59.4623, 0 ],
[ 44.4893, 62.2667, 0 ],
[ 44.7979, 65.0764, 0 ],
[ 44.5435, 67.8916, 0 ],
[ 43.7262, 70.7123, 0 ],
[ 42.3459, 73.5383, 0 ],
[ 40.4026, 76.3698, 0 ],
[ 37.8964, 79.2067, 0 ],
[ 34.8272, 82.0491, 0 ],
[ 31.1951, 84.8968, 0 ],
[ 27, 87.75, 0 ]
]
# exhaust chamber
[[geometry.pipes]]
index = 3
points_mm = [
[ 27, 112.25, 0 ],
[ 177.3508, 57.5268, 0 ],
[ 253.4221, -105.6086, 0 ],
[ 144.4426, -261.2475, 0 ],
[ 14.4426, -261.2475, 0 ],
[ -182.8929, -189.4233, 0 ],
[ -422.8929, -189.4233, 0 ]
]
[[geometry.volumes]]
id = "intake_plenum"
center_mm = [ -96.2515, 16.1836, 0 ]
size_mm = [ 79.3701, 79.3701, 79.3701 ]
[[geometry.volumes]]
id = "crankcase"
center_mm = [ 0, 16.1836, 0 ]
size_mm = [ 53.1329, 53.1329, 53.1329 ]