added 4 cyl

This commit is contained in:
max
2026-05-08 00:38:26 +02:00
parent b7a40217db
commit f275937abb
7 changed files with 374 additions and 66 deletions

View File

@@ -37,8 +37,7 @@ namespace FluidSim.Tests
private int stepCount;
// ---------- Throttle control ----------
public double Throttle { get; set; } = 0.0;
public double MaxThrottleArea { get; set; } = 3 * Units.cm2; // 2 cm²
public double MaxThrottleArea { get; set; } = 1 * Units.cm2; // 2 cm²
public override void Initialize(int sampleRate)
{
@@ -50,7 +49,7 @@ namespace FluidSim.Tests
// ---- Crankshaft (external, passed to cylinder) ----
crankshaft = new Crankshaft(600);
crankshaft.Inertia = 0.1;
crankshaft.Inertia = 0.2;
crankshaft.FrictionConstant = 2;
crankshaft.FrictionViscous = 0.04;