I have been trying to find the way to change the ambient temperature or density keeping the oxygen percentage fixed (21%) in a preburn type constant volume chamber but could not find in any literature.
After filling the subsequent gas by their partial pressure, let say the total pressure
is 20bar,
So for certain Oxygen Concentration(%), ρ= 22.98Kg/m3 where M=MW of Nitrogen =28...... But in reality, the mixture contains Oxygen, Nitrogen, Hydrogen, Acetylene where the major amount is Nitrogen. So, M is bit confusing then. You can change the density parameter by pressure & temperature.
The electric heater maintains ambient temperature prior to pre burn combustion and then spray combustion at your desired engine relevant condition.