Help with Newtonian Mechanics & Fluids for Game Programming

AI Thread Summary
The discussion focuses on programming a Newtonian mechanics engine for a game, specifically addressing challenges in fluid mechanics. Key topics include understanding shear stress, the significance of the fluid viscosity constant in Pa*s, and the concept of gradients and partial derivatives. Participants suggest that a deeper understanding of these concepts may require consulting fluid mechanics textbooks, such as Frank M. White's work, and utilizing online resources like HyperPhysics. The complexity of Newton's partial differential equation for Newtonian fluids is acknowledged, with an emphasis on the need for foundational knowledge. Overall, a solid grasp of fluid mechanics principles is essential for effective game programming in this area.
GoldPheonix
Messages
84
Reaction score
0
Hey, I'm working on programming a Newtonian mechanics engine (not as part of coursework, btw, for a game that I'm making).

I have some problems, however, as to how to approach fluid mechanics. I know a little bit: buoyant forces, specific gravity, and such. However, I just do not get the more complex (and hence what I need to program) equations and math for viscosity, Newtonian fluids, and such.

Could someone help me understand the basic nature of the following? (I have up to a calculus II knowledge and I know pretty much all of basic, general physics)

1. Sheer stress
2. Fluid viscosity constant --why is it in Pa*s?
3. Can someone give me a good idea of what a gradient is? I understand that mathematically it's a needed idea, and I get the concept of the partial derivative decently well (Though a little help there would be nice, too).
4. What does Newton's partial differential equation for Newtonian fluids mean in words? What does tao signify? (tao = eta*partial derivative(u) of y)
 
Physics news on Phys.org
This is usually taught as a separate semester long course, so I think it'd be hard to give a sufficiently deep and broad reply to your questions in a single thread.

If you're learning it for the first time, you'd be much better off reading a book on fluid mechanics from your library. I'd suggest the book on fluid mechanics by Frank M White
 
Not asking for in-depth stuff, just the very basics of the things asked.
 
You might find the http://hyperphysics.phy-astr.gsu.edu/hbase/fluid.html" webpage on fluid mechanics useful. Still, I strongly suggest that you'd read a fluid mech book, especially for the basics.
 
Last edited by a moderator:
I saw their entry on it, but I still don't get all the variables, what they mean, et cetera.

Wiki has the content, just not the explanation for the content.And thanks for the diagram, siddharth, it looks like their explanation will help me a bit.
 
Last edited:
Hi there, im studying nanoscience at the university in Basel. Today I looked at the topic of intertial and non-inertial reference frames and the existence of fictitious forces. I understand that you call forces real in physics if they appear in interplay. Meaning that a force is real when there is the "actio" partner to the "reactio" partner. If this condition is not satisfied the force is not real. I also understand that if you specifically look at non-inertial reference frames you can...
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top