Sam Kennedy
EF1
I've been wanting to create a simple weather simulator for a while, but I'm not really sure on how to approach this.
I was thinking of having three 3d arrays, one would hold the temperature of each segment of air, one would hold humidity, and the last pressure. I have no idea how these elements would interact though. I was thinking about using the ideal gas equation, but I could only really use that to simulate how the volume of a parcel of air changes with temperature, pressure and humidity.
Has anyone attempted anything similar, or have any idea on how I could begin writing this program?
Cheers,
-Sam Kennedy
I was thinking of having three 3d arrays, one would hold the temperature of each segment of air, one would hold humidity, and the last pressure. I have no idea how these elements would interact though. I was thinking about using the ideal gas equation, but I could only really use that to simulate how the volume of a parcel of air changes with temperature, pressure and humidity.
Has anyone attempted anything similar, or have any idea on how I could begin writing this program?
Cheers,
-Sam Kennedy