fixed under damping inertance
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user