cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Gas work and pressure

ErkiLeitaru
1-Visitor

Gas work and pressure

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.

5 REPLIES 5

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

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.

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! 😉

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

Announcements

Top Tags