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 = "fifty"
name = "50 cc / little screamer"
category = "Two-stroke / 50 cc"
@@ -7,16 +7,19 @@ description = "Concept single / transported carb fuel"
order = 15
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.004006997
bore_mm = 40.0
carburetor_diameter_mm = 19.0
crankcase_clearance_cc = 60.10495
exhaust = "racing"
exhaust_cell_length_mm = 15.0
exhaust_duration_deg = 190.0
exhaust_width_mm = 26.54048
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 = [
[ -228.9558, 1.6102, 0 ],
[ -128.9558, 1.6102, 0 ]
]
# reed passage
[[geometry.pipes]]
index = 1
points_mm = [
[ -49.5857, 1.6102, 0 ],
[ -19.5857, 1.6102, 0 ]
]
# transfer passage
[[geometry.pipes]]
index = 2
points_mm = [
[ 19.5857, 21.1959, 0 ],
[ 23.8339, 23.9696, 0 ],
[ 27.519, 26.7484, 0 ],
[ 30.6412, 29.5324, 0 ],
[ 33.2004, 32.3215, 0 ],
[ 35.1967, 35.1159, 0 ],
[ 36.63, 37.9155, 0 ],
[ 37.5003, 40.7202, 0 ],
[ 37.8077, 43.5301, 0 ],
[ 37.5521, 46.3452, 0 ],
[ 36.7336, 49.1655, 0 ],
[ 35.352, 51.9909, 0 ],
[ 33.4076, 54.8215, 0 ],
[ 30.9001, 57.6574, 0 ],
[ 27.8297, 60.4984, 0 ],
[ 24.1963, 63.3446, 0 ],
[ 20, 66.1959, 0 ]
]
# exhaust chamber
[[geometry.pipes]]
index = 3
points_mm = [
[ 20, 75.9959, 0 ],
[ 130.844, 35.652, 0 ],
[ 186.9265, -84.6172, 0 ],
[ 106.5828, -199.3597, 0 ],
[ 10.7422, -199.3597, 0 ],
[ -134.7406, -146.4083, 0 ],
[ -311.6772, -146.4083, 0 ]
]
[[geometry.volumes]]
id = "intake_plenum"
center_mm = [ -89.2708, 1.6102, 0 ]
size_mm = [ 79.3701, 79.3701, 79.3701 ]
[[geometry.volumes]]
id = "crankcase"
center_mm = [ 0, 1.6102, 0 ]
size_mm = [ 39.1715, 39.1715, 39.1715 ]