<![CDATA[Temperature of water changes over time, as it undergoes phase transitions, when supplied with energy at a constant rate.]]> false false true true false ]]> ./addHeating/Screenshot 2021-01-29 at 12.37.48 PM (2).png ;;; DESCRIPTION_EDITOR addingHeat true false _default_ addingHeat false

Adding Heat

Introduction

The purpose of this simulation is to show how the temperature of water changes over time, as it undergoes phase transitions, when supplied with energy at a constant rate.

Description of simulation

This simluation features both a graph of temperature over time, as well as a 'world view' to facillitate the students' understanding of how the shape of the water changes as it undergoes various phase transitions. ]]>
20 10 false VARIABLE_EDITOR Var Table true false VARIABLE_EDITOR Bar_Chart true false VARIABLE_EDITOR lookang true false CODE_EDITOR Init Page true false CODE_EDITOR message true false EVOLUTION_EDITOR Evol Page true false = 0 && cur_state == 0){ //melting and Temperature above 0 oC transition_energy += dt * power //compute transition_energy if(transition_energy < mass * Lf) // if still melting change_temp = 0; // controller of temperature change else{ transition_energy = 0; // reset to zero for temperature to move up cur_state = 1; // move current state up to 1 } } else if(T >= 100 && cur_state == 1){ //boiling and Temperature above 100 oC transition_energy += dt * power if(transition_energy < mass * Lv) change_temp = 0; //phase change from water to steam else{ transition_energy = 0; // reset to 0 for T increases cur_state = 2; // set current state =2 } } if(!change_temp) //change_temp!=0 ? return; if(T <= 0 || T >= 100) //ice and steam use same c2 T += (dt * power)/(mass * c2); else // liquid state use c1 T += (dt * power)/(mass * c1); ]]> CODE_EDITOR FixRel Page true false CODE_EDITOR lookang true false 150){ //dt=0; _pause(); } ]]> LIBRARY_EDITOR Lib Page true false HTML_VIEW_EDITOR HtmlView Page true false 0 0 0 800 600 true true Elements.Panel true Elements.Panel true Elements.Panel Elements.Label Elements.Slider Elements.Panel true Elements.Panel Elements.Label Elements.Label Elements.TwoStateButton Elements.Button true Elements.Panel true Elements.DrawingPanel Elements.Image2D Elements.Text2D true Elements.DrawingPanel Elements.ShapeSet2D Elements.TextSet2D true Elements.PlottingPanel Elements.Trail2D false Elements.Panel Elements.Label Graph and Stats"]]> false Elements.Panel Elements.Label World View"]]> Elements.Panel Description

This simulation shows the 3 panels, real world (for illustration purposes), 3 bar chart of solid, liquid and gas state, and a graph of temperature as a function of time for a sample of water that starts at -20 degrees C, and has heat added to it at a constant rate.

The simulation uses constants in units of calories, because those are nice numbers for water. The specific heat of liquid water is 1 cal / (g deg. C), while the specific heat of solid or gaseous water is 0.5 cal / (g deg. C). The latent heat of fusion of water is 80 cal / g, and the latent heat of vaporisation of water is 540 cal / g.

With these numbers and the information from the graph, you should be able to figure out the rate at which energy is added to the water sample. Don't forget to be amazed by how much time the sample spends changing phase.

]]>