Question

In: Physics

I'd like to create a very rough animation of a wave crashing on a beach. I'm...

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 forward in time. I've done similar things, like simulations of charged particles, but there the forces are pretty straightforward, whereas here I guess I'd have to account for 1) tides 2) gravity 3) water surface tension. These seem like widely different forces acting on different scales. I don't even know where to begin. Any hints or links to papers related to this topic?

Solutions

Expert Solution

This is, no doubt, one of the biggest challenges for realistic simulations: waves crashing, hair moving under wind and whatever other movement involving turbulence will be hard to solve.

Though it is true that one can solve the equations of motion for each individual particle in a 'molecular dynamics' fashion, that is just infeasible for a system that goes beyond a few million particles. What can be done instead is to solve the equations of motion for the fluid by coarse graining the whole liquid as a homogeneous material (solving Navier-Stokes equations) but, again, if the simulation involves turbulence the equations become very time consuming.

The big question is how accurate you need your results to be: if the idea is to make it look pretty and somewhat real there are a couple of models - mainly for graphical processors (gpu) - that can be used to simulate waves. There is a really nice (and recent) overview on the subject at Science called "Computation Physics in Film". I think it will answer most of your remaining questions.


Related Solutions

Over and over I'm getting into the same trouble, so I'd like to ask for some...
Over and over I'm getting into the same trouble, so I'd like to ask for some help. I need to solve some basic electrodynamics problem, involving magnetic fields, moving charges or currents. But I forgot all this rules about "where the magnetic field should go if the current flows up". I vaguely remember that it about hands or fingers or books or guns, and magnetic field should go somewhere along something, while current should flow along something else... But it...
I'm looking to study for my theory of computation exam, so I'd like you to write...
I'm looking to study for my theory of computation exam, so I'd like you to write a sample problem and answer it based on the topic below. If you also wouldn't mind, could you also explain what you're doing. "Use subset construction to convert an NFA to a DFA"
I'm looking to study for my theory of computation exam, so I'd like you to write...
I'm looking to study for my theory of computation exam, so I'd like you to write a sample problem and answer it based on the topic below. If you also wouldn't mind, could you also explain what you're doing. "Given a language, find a number of strings that are pairwise distinguishable with respect to the language. For each pain of strings, find a distinguisher."
Ruby programming I'd like you to create the class Holiday as described below. An object of...
Ruby programming I'd like you to create the class Holiday as described below. An object of class Holiday represents a holiday during a calendar year. This class has three private member variables: - mName, a string, representing the name of the holiday - mDay, an integer, representing the day of the month of the holiday - mMonth, a string, representing the month the holiday is in Create this class in the file Holiday.rb. Put your main driver code in the...
i'd like to get extra practice for a class. Create 5 multiple-choice questions covering 5 different...
i'd like to get extra practice for a class. Create 5 multiple-choice questions covering 5 different respiratory disorders. Pick 5 from the following list. Respiratory failure Asthma COPD Cystic Fibrosis Pneumonia TB Influenza. label the correct answer, & explain why
This question has been answered already however, I'd like some new examples. Task: In C#, create...
This question has been answered already however, I'd like some new examples. Task: In C#, create a minimum of three try/catch statements that would handle potential input errors. Thank you.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT