Skip to main content
1-Visitor
August 28, 2011
Question

Gas work and pressure

  • August 28, 2011
  • 3 replies
  • 4211 views

Hi, I want to simulate gas work and expansion in cylinder - piston system. The enery nor temperature is not constant and I am in trouble putting gas work into differential equation. Please look at the file (Mathcad 15). I extracted only the question, leaving the diff equs out.

The work done depends on the position of the piston and pressure, which also depends on the position and so on. Quite a mess.

3 replies

23-Emerald I
August 28, 2011

One additional problem is that your ideal gas equation is not valid unless the process is adiabatic, and yours isn't.

1-Visitor
August 29, 2011

Hi, why you say it is not valid? As I imagine it, it is valid in every calculation cycle if gas temperature is correctly calculated at each step.

23-Emerald I
August 29, 2011

Erki Leitaru wrote:

Hi, why you say it is not valid? As I imagine it, it is valid in every calculation cycle if gas temperature is correctly calculated at each step.

I apologise! You're right, I don't know what I was smoking! 😉

1-Visitor
August 30, 2011

Ok, found the answer. The solution is to take a break for a couple of days and relax.

24-Ruby IV
August 30, 2011