How to use this calculator
Predict equilibrium temperature and pressure when an insulated valve connects two rigid tanks containing ideal gases.
- Enter Tank 1 initial pressure (Pa), Tank 1 volume (m³), Tank 1 temperature (K), Species 1 molar cv (J/mol/K), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Adiabatic connection of two rigid gas tanks explained
How the calculation works
ni=piVi/(RTi); Tf=Σni cvi Ti/Σni cvi; pf=(n₁+n₂)RTf/(V₁+V₂).
Conserve moles and internal energy over the combined tank volumes. Unlike a simple partial-pressure calculation, unequal initial temperatures and molar heat capacities determine the final temperature.
The energy balance applies the first law to a closed system; the calculator assumes the combined tanks are adiabatic, rigid, and reach one equilibrium temperature. OpenStax first law of thermodynamics.
Set up the calculation
p1— Tank 1 initial pressure (Pa)- Initial absolute pressure in tank 1, in pascals.
V1— Tank 1 volume (m³)- Rigid internal volume of tank 1, in cubic metres.
T1— Tank 1 temperature (K)- Initial absolute temperature in tank 1, in kelvins.
cv1— Species 1 molar cv (J/mol/K)- Constant molar heat capacity at constant volume for the gas in tank 1, in J/(mol·K).
p2— Tank 2 initial pressure (Pa)- Initial absolute pressure in tank 2, in pascals.
V2— Tank 2 volume (m³)- Rigid internal volume of tank 2, in cubic metres.
T2— Tank 2 temperature (K)- Initial absolute temperature in tank 2, in kelvins.
cv2— Species 2 molar cv (J/mol/K)- Constant molar heat capacity at constant volume for the gas in tank 2, in J/(mol·K).
Limits of this model
Rigid insulated tanks, negligible valve and tank-wall energy, no reaction, ideal gases with constant molar cv. The gas species can differ.
Check this example
Tank 1 initial pressure (Pa) = 200000; Tank 1 volume (m³) = 0.2; Tank 1 temperature (K) = 400; Species 1 molar cv (J/mol/K) = 20.8; Tank 2 initial pressure (Pa) = 100000; Tank 2 volume (m³) = 0.3; Tank 2 temperature (K) = 280; Species 2 molar cv (J/mol/K) = 12.47.
- Final equilibrium temperature: 353.066388 K
- Final absolute pressure: 146270.36069 Pa
- Species 1 mole fraction: 0.482759
Connect a 0.2 m³ tank at 200 kPa and 400 K to a 0.3 m³ tank at 100 kPa and 280 K, with molar cv values 20.8 and 12.47 J/mol/K. Adiabatic equilibration gives 353.066 K and 146.270 kPa; unequal heat capacities prevent simple averaging.
Reading the outputs
Outputs final uniform temperature, combined-tank absolute pressure and the mole fraction originating in tank 1.
Frequently asked questions
Why is final temperature not a volume average?
Stored energy depends on mole amounts and cv, so those are the weights.
Do the tanks have to contain the same gas?
No. Enter separate molar cv values; no chemical reaction is included.
Is final pressure an arithmetic mean?
Only special equal-temperature cases reduce to a volume-weighted pressure.
How do I use the Adiabatic connection of two rigid gas tanks calculator?
Enter Tank 1 initial pressure (Pa), Tank 1 volume (m³), Tank 1 temperature (K), Species 1 molar cv (J/mol/K), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Adiabatic connection of two rigid gas tanks?
Tank 1 initial pressure (Pa) = 200000; Tank 1 volume (m³) = 0.2; Tank 1 temperature (K) = 400; Species 1 molar cv (J/mol/K) = 20.8; Tank 2 initial pressure (Pa) = 100000; Tank 2 volume (m³) = 0.3; Tank 2 temperature (K) = 280; Species 2 molar cv (J/mol/K) = 12.47. Final equilibrium temperature: 353.066388 K Final absolute pressure: 146270.36069 Pa Species 1 mole fraction: 0.482759 Connect a 0.2 m³ tank at 200 kPa and 400 K to a 0.3 m³ tank at 100 kPa and 280 K, with molar cv values 20.8 and 12.47 J/mol/K. Adiabatic equilibration gives 353.066 K and 146.270 kPa; unequal heat capacities prevent simple averaging.
Read our calculation methodology.