Ok - let's put some real figures on this to get the ball rolling...
Assume the gas concerned is air - 29 mol/g, k=1.4
Chamber A has 5g of air (0.1724 mols) in 1 litre at 1000 Kelvin.
P=nRT/V
pressure = 1.433Mpa
density = 5g/l (5kg/m3)
Chamber B has 2.4g of air (0.0827 mols) in 2...
I'm interested in modelling the effect of a chamber of ideal gas at a high pressure passing through subsequent chambers of lower pressure gas - each subsequent chamber joined to the previous via a thin plate oriface.
I'm looking at at an iterative solution (i don't do integrals) and i am...