fixed under damping inertance

This commit is contained in:
max
2026-05-09 02:29:09 +02:00
parent cf1bf30c81
commit 1489f278dc
2 changed files with 21 additions and 14 deletions

View File

@@ -56,6 +56,7 @@ namespace FluidSim.Tests
float rho0 = 101325f / (287f * 300f);
pipeSystem = new PipeSystem(neckCells, pipeStart, pipeEnd, areas, dxs, rho0, 0f, 101325f);
pipeSystem.DampingMultiplier = 500f;
// --- Boundary system ---
boundaries = new BoundarySystem(pipeSystem, maxOrifices: 1, maxOpenEnds: 1);
@@ -72,7 +73,7 @@ namespace FluidSim.Tests
areaIndex: cavityOrificeIdx,
dischargeCoeff: 0.9f,
effectiveLength: neckLength, // physical length (or L_eff)
lossCoefficient: 9000 // start with this, adjust for decay time
lossCoefficient: 7000 // start with this, adjust for decay time
);
// Open end at right side of pipe