News
My basil finally developed roots! I'm currently reading about quantum mechanics, ferrofluids, and language models.
Blog
[08/09/2024:] Motivating Ladder Operators II
[08/08/2024:] A Cool Way to Garden
[08/08/2024:] Life and Basil Limeade
[08/05/2024:] Motivating Ladder Operators
[08/04/2024:] Migrated to AstroJS
[07/31/2024:] The Classical in the Quantum
Notes
Working on notes on the quantum mechanics, derivatives, and uploading my previous course notes onto this blog!
Projects
Finally started a projects page! I've recently made some nice upgrades to my post component, so it looks pretty clean! ;)
🌊
I'm considering whether or not to continue this project using WebGL or Three.js.
I'm also researching methods for generating the 3D scenes I want for this project automatically.
In the meantime, I've decided to proceed with some preliminary prototypes of the other interactive parts of this project.
Orange Juice
I like orange juice. :)
Mlog
MECENG 106 Notes: Fluid Dynamics
Fall 2024
By Aathreya Kadambi
Expanding on Lectures by Professor Phil Marcus
This fall I’m taking a fluid dynamics class by Professor Phil Marcus at Berkeley! Coincidentally, I actually was really interested in his research on Jupyter’s red spot and these related problems in freshman year, although I ended up going down a different road for a while. Excited to learn fluid dynamics.
Story 1: Dimensions
Relevant lectures: Lecture 1
The lecture notes have anything you need to succeed. You are also strongly recommended to work in teams on the homework. Homework are combination of graded and self-graded. Feel free to go to any discussion section.
When you write down equations, you should keep track of the dimensions of the quanities in the equation. If you are taking the or of something, it better be dimensionless.
Dimensional analysis is very important. In fact, people were able to find the energy in the atomic bomb (which was a well-kept secret) based on the speed of the shock wave.
Dimensions are things like length, time, mass, etc.. It is important to distinguish these things from units, which we use to measure these dimensions.
Remark. I’ll leave out the examples and discussion of dimensional analysis and units and things like that, since one can find good treatment of that subject in practically any thick science textbook. One thing I will mention is that apparently there’s actually a unit of temperature called “Rankine”. I’ve never seen that before.
Story 2: Properties of Fluids
Relevant lectures: Lectures 1, 2
Our properties are going to be functions of space and time: and . Here are some important properties:
The following properties live in .
- Temperature: .
- Mass Density: . It has dimensions in MLT units.
- Pressure: . It has dimensions in MLT units.
- Velocity: . It has dimensions .
Remark. Notice how we are treating these quantities in a continuum. I was thinking about it, and I guess this means in terms of temperature for example, we can treat each particle or molecule as a Dirac function, and the temperature in a region is the expected value of the temperature in that region when one integrates. That feels somewhat nice because it gives this intutiion of temperature over a region being looking at space in a lower resolution.
In fluid dynamics, we will write the ideal gas law as:
In physics we generally use the form . So what is the relationship between these two forms? In physics one has to look up the molecular weights and stuff, and in MechE, we have to look up individual gas constants for each gas.
Ideal gas equation of state:
Story 3: Viscosity
Viscosity is about roughly how well things flow. Physically, it is a diffusion coefficient of momentum.
In fluid dynamics, we have so called boundary conditions. For a Newtonian fluid, the boundary conditions are that the fluid at any surface in the direction that is parallel to the surface must move at the same velocity as the surface. This is called the no-slip boundary condition. The zeroness of momentum diffuses into the middle so that for honey, where that diffusion would happen very quickly for example, the momentum in the middle will also be close to zero. For water on the other hand, the momentum in the middle might be high even if the momentum at the surface is zero.
So far what we have discussed is called the kinematic viscosity. There is another viscosity called dynamic viscosity, which satisfies From now on, will refer to kinematic viscosity. There is a dimensionless quantity called the Reynold’s number, defined: where we are using brackets here to indicate “characteristic values”. When , we call it laminar, when it is we call it turbulent, and in between this, we call it transitional.
For 3D flows, it is extremely difficult to make calculations in the transitional region without approximations. That’s why you need to take MECENG 106, because that is one of the hardest places to calculate flows.
Example. Consider water out of a tap. The characteristic volume and length are and , and the viscosity is . As such,
Remark. You can compute the transition point for smoke flowing up, when it transitions through different types of flow. Why do we define the Reynold’s number like that?
Story 4: Pressure
Relevant Lectures: Lecture 2
Consider an area. This vector has normal inward vector. We might write: so that the integral is A question is, if we change our orientation, then do we get a different force or something? It turns out that the magnitude is independent.
We will show this in the static case, namely where
Now let’s imagine a little piece of swiss cheese (proceeds to draw an inclined plane with angle theta).
Story : Gauss’s Law
Our MechE 106 equation which is in many cases more useful than Gauss’s law is: