2
votes
1answer
78 views

Simulation of fluid flow using Euler equation

I have been looking on Euler's equations for a while and can't grasp one thing. Suppose we have initial system state with volumes of fluid "hanging" in air (time is frozen and equal to zero), each of ...
3
votes
3answers
277 views

Computation theory and the simulation argument

Can physical states be treated as information (strings over some alphabet)? If (1) is true, isn't this a trivial conclusion that the universe can be simulated by a Turing machine or a cellular ...
2
votes
1answer
430 views

How is acceleration computed in the leap-frog algorithm in computer simulations of particles?

I am reading the book Computer Simulation of Liquids by Allen and Tildesley (here is another link). On page 80, the authors describe the leap-frog algorithm, which is used extensively in molecular ...
7
votes
1answer
339 views

How to simulate a crashing wave? [closed]

I'd like to create a very rough animation of a wave crashing on a beach. I'm guessing it would have to be a particle simulator, where you code in the forces between the particles and then integrate ...