Tuesday, February 26, 2013

Using Energy2D to simulate Trombe walls


A Trombe wall is a sun-facing wall separated from the outdoors by glass and an air space. It consists a solar absorber (such as a dark surface) and two vents for air in the house to circulate through the space and carry the solar heat to warm the house up. In a way, a Trombe wall is like a machine that uses air as a convey belt of thermal energy harvested from the sun. Trombe walls are very simple and easy to make and are sometimes used in passive solar green buildings.


Hiding sophisticated power of computational fluid dynamics behind a simple graphical user interface, our Energy2D software can easily simulate how a Trombe wall works. The two images in this blog post show screenshots of a Trombe wall simulation and its closeup version. You can play the simulation on this page and download the models there. If you open the models using Energy2D, you should be able to see how easy it is to tweak the models and create realistic heat flow simulations.

Solar chimneys operate based on similar principles. Energy2D should be able to simulate solar chimneys as well. Perhaps this would be a good challenge to you. (I will post a solar chimney simulation later if I figure out how to do it.)

Tuesday, February 12, 2013

A mixed-reality gas lab

In his Critique of Pure Reason, the Enlightenment philosopher Immanuel Kant asserted that “conception without perception is empty, perception without conception is blind. The understanding can intuit nothing, the senses can think nothing. Only through their unison can knowledge arise.” More than 200 years later, his wisdom is still enlightening our NSF-funded Mixed-Reality Labs project.

Mixed reality (more commonly known as augmented reality) refers to the blending of real and virtual worlds to create new environments where physical and digital objects co-exist and interact in real time to provide user experiences that are impossible in only real or virtual world. Mixed reality provides a perfect technology to promote the unison of perception and conception. Perception happens in the real world, whereas conception can be enhanced by the virtual world. Knitting the real and virtual worlds together, we can build a pathway that leads perceptual experiences to conceptual development.

We have developed and perfected a prototype of mixed reality for teaching the Kinetic Molecular Theory and the gas laws using our Frame technology. This Gas Frame uses three different types of sensors to translate user inputs into changes of variables in a molecular simulation on the computer: A temperature sensor is used to detect thermal changes in the real world and then change the temperature of the gas molecules in the virtual world; a gas pressure sensor is used to detect gas compression or decompression in the real world and then change the density of the gas molecules in the virtual world; a force sensor is used to detect force changes in the real world and then change the force on a piston in the virtual world. Because of this underlying linkage with the real world through the sensors, the simulation appears to be "smart" enough to detect user actions and react in meaningful ways accordingly.

Each sensor is attached to a physical object installed along the edge of the computer screen (see the illustration above). The temperature sensor is attached to a thermal contact area made of highly conductive material, the gas pressure sensor is attached to a syringe, and the force sensor is attached to a spring that provides some kind of force feedback. These three physical objects provide the real-world contextualization of the interactions. In this way, the Gas Frame not only produces an illusion as if students could directly manipulate tiny gas molecules, but also creates a natural association between microscopic concepts and macroscopic perception. Uniting the actions of students in the real world and the reactions of the molecules in the virtual world, the Gas Frame provides an unprecedented way of learning a set of important concepts in physical science.

Pilot tests of the Gas Frame will begin at Concord-Carlisle High School this week and, collaborating with our project partners Drs. Jennie Chiu and Jie Chao at the University of Virginia, unfold at several middle schools in Virginia shortly. Through the planned sequence of studies, we hope to understand the cognitive aspects of mixed reality, especially on whether perceptual changes can lead to conceptual changes in this particular kind of setup.

Acknowledgements: My colleague Ed Hazzard made a beautiful wood prototype of the Frame (in which we can hide the messy wires and sensor parts). The current version of the Gas Frame uses Vernier's sensors and a Java API to their sensors developed primarily by Scott Cytacki. This work is made possible by the National Science Foundation.

Saturday, February 2, 2013

A petition for Java to Oracle from more than 15,000 people

Java is a programming language used by millions of developers and a software platform used by hundreds of millions of users. It has been one of the top three computer languages since it was born. More recently, it has become the sole language for creating Android apps and its adoption is exploding in mobile computing as the Android market grows: As of October 2012, there have been over 700,000 apps in the Android Market, rivaling (and expected to surpass) the number of apps in the Apple Store (see a Financial Times report in December 2012).

Java has become a community asset, not a tool for making money to pay for someone's islands and yachts. Unfortunately, its original creator, Sun Microsystems, has gone out of business. Its current owner, Oracle Corporation, decided that it can make a few pennies from each user by turning the Java installer into a piece of foistware that gives users unwanted software such as the Ask Toolbar. This action effectively jeopardizes an excellent computer technology like Java by lowering it to the same level of notorious adware that nobody wants.

My colleague Saeid Nourian has started a change.org petition to ask Oracle to stop this bundling. In about a week, more than 10,000 people from all over the world have signed the petition. The goal of the petition, however, is to collect 250,000 signatures.

Thursday, January 17, 2013

Constructive chemistry funded by the National Science Foundation

One of the most effective pedagogies in science education is to challenge students to design and construct something that performs a function, solves a problem, or proves a hypothesis. Learning by design is a very compelling way of engaging students to learn science profoundly. Given the extensive incorporation and emphasis of engineering design across disciplines in the Next Generation Science Standards, design-based learning will only grow more important in US science education.

The problem, however, is that many science concepts are related to things that are too small, too big, too complex, too expensive, or too dangerous to be built in the classroom realistically. (If you are a LEGO fan, you may argue that LEGO can be used to build anything, but most LEGO models simulate the appearance but not the function -- a LEGO bike probably cannot roll and LEGO molecules probably do not assemble themselves. To scientists and engineers, functions are all that matters.)

Three approaches of using science models.
A good solution is to have students design computer models that work in cyberspace. This virtualization allows students to take on any design challenge without regard to the expense, hazard, and scale of the challenge. If the computer modeling environment is supported by computational science derived from fundamental laws, it will have the predictive power that permits anyone to design and test any model that falls within the range governed by the laws. Software systems that provide user interfaces for designing, constructing, testing, and evaluating solutions iteratively can potentially become powerful learning systems as they create an abundance of opportunities to motivate students to learn and apply the pertinent science concepts actively. This is the vision of "Constructive Science" that I had dreamed about almost four years ago. This constructive approach opens up a much larger learning space that can result in deeper and broader learning--beyond simply observing and interacting with existing science simulations that were created to assist teaching and learning.

This dream got a shot in the arm today by a small grant awarded by the National Science Foundation. This TUES Type-1 grant will support a collaboration with Bowling Green State University and Dakota County Technical College to pilot test the idea of "Constructive Chemistry" at the college level. Choosing chemistry as a test bed to explore this Constructive Science approach is most appropriate, as chemistry is all about atoms and molecules that are just too small to make any design-based learning option other than computational modeling viable. Decades of research in computational chemistry has developed the computational power needed to make the science right. We believe that using these computational methods should yield chemistry simulations that are sufficiently authentic for teaching and learning.