NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
June 16, 2021, 08:41:33 am

"If I have a thousand ideas and only one turns out to be good, I am satisfied." ..."Alfred Nobel(1833-1896, Swedish inventor, chemist, philanthropist)"

 Pages: [1]   Go Down
 Author Topic: Thermal dynamic processes: isobaric, isochoric, isothermal, adiabatic processes  (Read 291349 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message on: February 14, 2008, 10:48:11 am »

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list

A thermodynamic process may be defined as the energetic evolution of a thermodynamic system proceeding from an initial state to a final state. Paths through the space of thermodynamic variables are often specified by holding certain thermodynamic variables constant.
The pressure-volume conjugate pair is concerned with the transfer of mechanical or dynamic energy as the result of work.

* An isobaric process occurs at constant pressure (P=constant). An example would be to have a movable piston in a cylinder, so that the pressure inside the cylinder is always at atmospheric pressure, although it is isolated from the atmosphere. In other words, the system is dynamically connected, by a movable boundary, to a constant-pressure reservoir.
The work done by the isobaric process is $\Delta W=\int P dV=P\int dV=P(V_f-V_i)= P \Delta V$

* An isochoric process is one in which the volume is held constant (V=constant), meaning that the work done by the system will be zero. It follows that, for the simple system of two dimensions, any heat energy transferred to the system externally will be absorbed as internal energy. An isochoric process is also known as an isometric process or an isovolumetric process. An example would be to place a closed tin can containing only air into a fire. To a first approximation, the can will not expand, and the only change will be that the gas gains internal energy, as evidenced by its increase in temperature and pressure. Mathematically, δQ = dU. We may say that the system is dynamically insulated, by a rigid boundary, from the environment.

The temperature-entropy conjugate pair is concerned with the transfer of thermal energy as the result of heating.

* An isothermal process occurs at a constant temperature (T=constant). An example would be to have a system immersed in a large constant-temperature bath. Any work energy performed by the system will be lost to the bath, but its temperature will remain constant. In other words, the system is thermally connected, by a thermally conductive boundary to a constant-temperature reservoir.
For ideal gas: $\Delta W=\int P dV=\int \frac{nRT}{V}dV=nRT \int \frac{dV}{V}=nRT ln \frac{V_f}{V_i}$
$\Delta U=\int n C_v dT=n C_v\Delta T$.
$\Delta Q=\Delta U-\Delta W=n C_v\Delta T- nRT ln \frac{V_f}{V_i}$

* An adiabatic process is a process in which there is no energy added or subtracted from the system by heating or cooling (δQ=0). For a reversible process, this is identical to an isentropic process. We may say that the system is thermally insulated from its environment and that its boundary is a thermal insulator. If a system has an entropy which has not yet reached its maximum equilibrium value, the entropy will increase even though the system is thermally insulated.
δQ=dU- δW=0 so dU=δW.
 The first law of thermaldynamically state: The internal energy change is equal to the heat absorbed minus the work done.$\Delta U= \Delta Q -\Delta W$isothermal process: $\Delta U=0$, so $\Delta Q =\Delta W$ adiabatic process: $\Delta Q=0$, so $\Delta U =\Delta W$ isochoric process: $\Delta W=0$, so $\Delta U =\Delta Q$ net incoming change= how much you earn -  how much you spend  if net incoming change=0, how much you spend=how much you earnif how much you earn=0, net incoming change= how much you spend (-)if how much you spend=0, net incoming change= how much you earn (+)

The following let you play with different processes:
The work done, heat transfer, internal energy as well as entropy change will be shown when you change parameter with slider bar.

The following is a flash animation for a carnot cycle.
http://www.phy.ntnu.edu.tw/ntnujava/swf/thermal628carnot.swf

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
 Logged
jmscott
Newbie

Offline

Posts: 2

 « Embed this message Reply #1 on: October 15, 2008, 10:36:38 pm »

Professor Hwang,
I would like to download this applet, but there does not seem to be the option to download it. Could you help me know how I can download this applet? It is likely right in front of me and I cannot see it. Thank you.
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #2 on: October 15, 2008, 11:14:14 pm »

It is fixed now. Thank you!
 Logged
lookang
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #3 on: October 16, 2008, 12:41:50 pm »

Hi prof!

if i make some small changes n post back the xml file, would it be okay with you to recompile it and re post it as the top applet?

i feel kind of weird if i were to post it again under the community board especially it the changes are cosmetic.

This is a good applet. I can feel the usefulness and i can also customized it to suit my learners.

unfortunately i didn't find it when i was teaching from 2000-2007,

strange i didn't see this before.

thanks for all your "free to remix" applets!

You should create a pay-pal button for donations to show appreciation, judging by the number of grateful teachers( i am ONE too) and students here thanking you, you can get some funding for your other expenses. LOL.

 « Last Edit: October 16, 2008, 12:57:31 pm by lookang » Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #4 on: October 16, 2008, 01:04:18 pm »

If you upload xml files to any server (for example the account I gave you at our server) and make link to the xml file.
You can upload xml file to the server and user will be able to download updated files.
If you really need it, I can try to modify the code so that:
File will be replaced when the same filename was attached.

I have been working on project related to open source. I do not need money from users. User can have better use of his/her own money. What I enjoy most are feedbacks/suggestions from users. :-)
 *** There are 1 more attached files. You need to login to acces it! Logged
lookang
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #5 on: October 16, 2008, 01:16:40 pm »

If you upload xml files to any server (for example the account I gave you at our server) and make link to the xml file.
You can upload xml file to the server and user will be able to download updated files.
If you really need it, I can try to modify the code so that:
File will be replaced when the same filename was attached.

Better not modify, sounds dangerous if i upload wrongly and the version i use in EJS4.0, may cause some problems as u are using EJS 3.47 i think.

I will just upload the xml for your consideration and post in the community board if i think i should
 Logged
glebbugrov
Newbie

Offline

Posts: 2

 « Embed this message Reply #6 on: November 20, 2008, 07:20:35 pm »

Dear Sir!
I tried thermalPVT applet and find out that during adiabatic process dU=0, dW=0 and T=const.
Is it true?
Best regards,
As. professor, Ph.D., Gleb E. Bugrov.

 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #7 on: November 22, 2008, 08:54:27 am »

Woop! Sorry, it is a bug. I forgot to re-calculate pressure P. so that it was not changed.
It is fixed now.
Thank you!
 Logged
glebbugrov
Newbie

Offline

Posts: 2

 « Embed this message Reply #8 on: November 24, 2008, 04:35:05 pm »

Sorry, but again during adiabatic process dU=0, dW=0 and T=const.
 Logged
lookang
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #9 on: November 24, 2008, 04:47:55 pm »

i see the problem now......

In thermodynamics, an adiabatic process or an isocaloric process is a thermodynamic process in which no heat is transferred to or from the working fluid.

so delta Q = 0.

1st law thermodynamic is delta U = delta Q - delta W , where W is work done by gas.

so delta U = 0 - delta W  imply delta U = - delta W

i did notice the applet is wrong cos
T = constant, which should not be.
i did a simple calculation, PV = uRT,

i notice the u (number of moles of gas) is different/changing if i vary the slider at the bottom "volume".

but if i vary the slider on the right, it is correct!!

maybe to solve the control error, disable the slider "VOLUME" when adiabatic is "TRUE"
 « Last Edit: November 24, 2008, 05:03:11 pm by lookang » Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #10 on: November 24, 2008, 08:31:29 pm »

I move T=P*V/nR; from initialize page to constraint page.
The above prolem should be fixed now. (Temperature was not updated in adiabatic process).
Thank you!
 Logged
lookang
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #11 on: November 25, 2008, 08:11:40 am »

Excellent applet Prof, Hwang!

thanks for your invaluable quality physics applets.

 Logged
mirlinda
Newbie

Offline

Posts: 3

 « Embed this message Reply #12 on: September 30, 2009, 06:40:18 pm »

Dear Proffesor,

I use your applets for some experiments qith students in high school.

But I need the interface in my language, wish I can modify it using EJS (as you told me in one of my prevoius posts).

But with the Thermal dynamic processes (.jar)  EJS model  modified, I can not package in export folder of EJS.

It appears the following error, HOW CAN I FIX IT?

Warning. Syntax error or custom page chinese:
Sourced file: inline evaluation of:   public void zh_tw () {  l_play="¼½©ñ";  l_init="²M°£";//ªì©l¤Æ";  l_rese . . . '' Token Parsing Error: Lexical error at line 16, column 18.  Encountered: "=" (61), after : "\"\u00a8t\u00b2\u00ce\u00a7@\u00a5\\": <at unknown location>

Generating simulation file thermalPVT...
C:\EJS_4.2\output\users\m.ebibi\thermalPVT.java:241: illegal escape character
l_dw="ﾨtﾲￎﾧ@ﾥ\=0.0 J";  // > Custom.chinese:16

Thank you very much for your help,

Mirlinda

^
1 error
Compilation produced an error![/b][/b][/i]
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #13 on: September 30, 2009, 08:32:41 pm »

The chinese tab in the custom page under model is my own way to translate strings into Chinese.
You can remove
Code:
public void zh_tw(){
... // and every code in between
}

but you also need to remove
Code:
if(type.equals("zh_tw"))zh_tw();

Then, it should work fine. The problem might due to the Chinese character code in the program, and you java version (OS) did not recognize it.
 Logged
koclup1580
watchlist
Newbie

Offline

Posts: 16

 « Embed this message Reply #14 on: December 29, 2012, 01:24:18 pm »

thank
 Logged
 Pages: [1]   Go Up
"If I have a thousand ideas and only one turns out to be good, I am satisfied." ..."Alfred Nobel(1833-1896, Swedish inventor, chemist, philanthropist)"