Thread: Water molecule simulation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Join Date
    May 2005
    Posts
    1,042

    Water molecule simulation

    I wrote this program as a visual aid for my engineering chemistry professor.

    It is 3 water molecules which bonds to a central +3 aluminum. I implemented it by integrating the force and torque from the coloumb forces of Hydrogen and Oxygen. It is 'correct,' except that I modified the variables such that the reaction would not happen instantaneously.

    The molecule that emerges is similar to the real thing, e.g. a central aluminum with 3 water molecules evenly spaced around it (equal angles). I didn't specifically tell it to do this, it emerges from the physics. This model limits it to a single plane.

    I plan on implementing more complex molecules/compounds.

    ihatenature.thejefffiles.com/tonadeau.zip
    Last edited by BobMcGee123; 04-29-2007 at 09:10 PM.
    I'm not immature, I'm refined in the opposite direction.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Fluid Mechanics program help
    By Hajjo in forum C Programming
    Replies: 15
    Last Post: 03-10-2008, 02:09 PM
  2. Molecule interaction simulation program
    By AdamLAN in forum C++ Programming
    Replies: 3
    Last Post: 05-12-2005, 03:09 PM
  3. water is flooding my room what should I do??
    By GanglyLamb in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 09-08-2004, 06:53 PM
  4. Water and Electricity: Common Misconception
    By Liger86 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 12-05-2003, 10:03 PM
  5. addiction to water
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 07-19-2002, 10:19 AM