[CFD] Conservative, Advective & Material Derivative forms of the Navier-Stokes Equations
概要
TLDRThis talk provides an overview of the various forms of the Navier-Stokes equations and other transport equations, clarifying their differences and applications. Using a swimming pool temperature gradient as an example, the speaker explains concepts like the material derivative and the relationship between Lagrangian and Eulerian descriptions. The talk emphasizes the equivalence of different forms, including advective and conservative forms, and their significance in computational fluid dynamics (CFD). The speaker encourages viewers to understand these differences for accurate application in their work.
収穫
- 📚 Understanding different forms of Navier-Stokes equations is crucial for accurate application.
- 🌊 The swimming pool example illustrates temperature gradients and sensor movement.
- 🔄 The material derivative captures both spatial and temporal changes.
- ⚖️ Lagrangian and Eulerian forms serve different analytical purposes.
- 🔍 The conservative form is preferred in CFD for its ease of application.
- 📏 The continuity equation plays a key role in deriving relationships between forms.
- 🧮 All forms of the equations are equivalent; the choice depends on context.
- 💡 Knowing these forms enhances confidence in citing equations in research.
- 📝 The talk encourages further questions and clarifications on CFD topics.
タイムライン
- 00:00:00 - 00:05:00
The talk introduces various forms of the Navier-Stokes equations and transport equations, emphasizing the importance of understanding these differences for accurate writing in academic papers. The speaker aims to clarify these forms to prevent typographical errors in research work.
- 00:05:00 - 00:10:00
A simple example of a swimming pool with a temperature gradient is used to illustrate the concept of temperature measurement. The speaker explains how moving a temperature sensor through the pool affects the readings, highlighting the relationship between sensor movement and temperature change over time.
- 00:10:00 - 00:15:00
The discussion extends to three-dimensional movement of the sensor, leading to a formula that relates the rate of temperature change to the velocity of the sensor and the spatial temperature gradient. The speaker emphasizes the importance of the correct order of operations in vector notation for accurate calculations.
- 00:15:00 - 00:20:00
The speaker introduces the concept of the material derivative, which accounts for both spatial and temporal variations in temperature. This derivative is crucial for deriving the Navier-Stokes equations, allowing for a more straightforward approach compared to traditional methods.
- 00:20:00 - 00:25:00
The derivation of the Navier-Stokes equations is presented using the material derivative, focusing on a fluid parcel's momentum and the effects of external forces. The speaker explains how this approach simplifies the derivation process while maintaining the integrity of the equations.
- 00:25:00 - 00:32:20
The talk concludes by summarizing the equivalence of different forms of the Navier-Stokes equations, including advective and conservative forms. The speaker emphasizes the importance of understanding these forms for practical applications in computational fluid dynamics (CFD) and encourages viewers to engage with the content for further clarification.
マインドマップ
ビデオQ&A
What are the different forms of the Navier-Stokes equations?
The different forms include Lagrangian derivative form, conservative form, and advection form.
What is the material derivative?
The material derivative represents the rate of change of a quantity as measured by a moving sensor, accounting for both spatial and temporal variations.
How do the Lagrangian and Eulerian forms differ?
Lagrangian form tracks fluid parcels, while Eulerian form analyzes fixed volumes as fluid flows through them.
Why is the conservative form preferred in CFD?
The conservative form is easier to apply in finite volume methods due to its compatibility with the Divergence Theorem.
What is the significance of the temperature gradient in the example?
The temperature gradient illustrates how the measured temperature changes as a sensor moves through different temperature regions.
Can the Navier-Stokes equations be derived using the material derivative?
Yes, the material derivative allows for a quicker derivation of the Navier-Stokes equations.
What is the relationship between advective and conservative forms?
Both forms are equivalent; the choice depends on the context and method of solution.
What is the role of the continuity equation in these derivations?
The continuity equation helps simplify terms when deriving the relationship between different forms of the Navier-Stokes equations.
How can I apply these concepts in my own work?
Understanding these forms will help you accurately cite and utilize the Navier-Stokes equations in your research.
What should I do if I have more questions about CFD equations?
You can leave comments or questions for further clarification on specific topics.
ビデオをもっと見る
HOW TO START RUNNING *and actually ENJOY IT*: from someone who used to HATE it
Documentary of "TWICE 5TH WORLD TOUR 'READY TO BE' in JAPAN SPECIAL"
Ireland in 60 seconds
Sensory Processing Disorder: Occupational Therapy Demonstration
Genética 24-08 Epistasia
How This Professor Unlocked a Winning 0 DTE Futures Strategy
- 00:00:01if you're writing your thesis a
- 00:00:04conference paper or a journal paper or
- 00:00:06even just looking through the cfd user
- 00:00:08manuals you may have come across
- 00:00:10different forms of the navier Stokes
- 00:00:12equations and the other transport
- 00:00:15equations some of the Common forms which
- 00:00:17you might have seen include the
- 00:00:19lagrangian derivative form a
- 00:00:21conservative form and an advection form
- 00:00:24of the same transport equations and it's
- 00:00:27often not clear what the differences are
- 00:00:29between these different forms of the
- 00:00:31same equation
- 00:00:33what I'm going to be doing for you in
- 00:00:35this talk is going through the different
- 00:00:37forms of the transport equations so that
- 00:00:40you understand the differences between
- 00:00:41them and you can make sure you don't put
- 00:00:43any typos in your paper when you're
- 00:00:45writing it out
- 00:00:46so if you're going to be writing these
- 00:00:48equations down this talk is going to be
- 00:00:50really useful for you I'm going to go
- 00:00:52through all of the different forms sit
- 00:00:54back and let's get into the talk
- 00:00:58the easiest way to understand the
- 00:01:00different forms of the navi Stokes
- 00:01:02equations is to start with a simple
- 00:01:05example and the example I'm going to use
- 00:01:07is imagine a swimming pool or a large
- 00:01:11volume of water and this volume of water
- 00:01:15is contained in a container and for some
- 00:01:18reason which we don't need to think
- 00:01:20about
- 00:01:21the pool of water is cold at one end and
- 00:01:24hot at the other end so there's a
- 00:01:27gradient of temperature from one end to
- 00:01:29the other end of the pool I'm not
- 00:01:31considering any boundary layers heated
- 00:01:33surfaces or variation in the vertical
- 00:01:35Direction just a simple one-dimensional
- 00:01:38case where we have a cold end at one end
- 00:01:41and a hot end at the other end this is
- 00:01:44the example we're going to use for
- 00:01:45understanding the different forms of the
- 00:01:47navier Stokes equations
- 00:01:50and what I want you to think about is
- 00:01:52placing a temperature sensor of some
- 00:01:55kind like a thermometer for example in
- 00:01:58the pool at a given location
- 00:02:00and in this example the temperature of
- 00:02:03the pool itself is not varying with time
- 00:02:06so the thermometer will read a constant
- 00:02:09temperature Through Time Pool has a
- 00:02:12constant temperature of course in
- 00:02:14reality there would be some small
- 00:02:16variations in temperature around the
- 00:02:18measured value but I'm not going to be
- 00:02:20considering those today all I want you
- 00:02:22to think about is if we place the sensor
- 00:02:24somewhere in the pool the temperature
- 00:02:26will be constant with time
- 00:02:29now what happens if we move the sensor
- 00:02:33this is the key idea that I want you to
- 00:02:35think about if we take that sensor which
- 00:02:38is initially at the cold end of the pool
- 00:02:39and then move the sensor through the
- 00:02:42water to the hot end of the pool I want
- 00:02:44you to think about physically moving
- 00:02:46that sensor yourself and if we look on
- 00:02:49the screen where the data is shown for
- 00:02:51what the temperature measures we will of
- 00:02:53course see that the measured temperature
- 00:02:55increases with time because we're moving
- 00:02:58that sensor from the cold end of the
- 00:03:00pool all the way through to the hot end
- 00:03:02of the pool
- 00:03:04so even though the temperature of the
- 00:03:06pool itself is staying constant in time
- 00:03:08because we're moving the sensor through
- 00:03:11the pool the measured temperature that
- 00:03:13the sensor sees does change with time
- 00:03:17and following that same idea if we move
- 00:03:20the sensor faster so we really move it
- 00:03:23quickly through the pool the temperature
- 00:03:24measured by the sensor will change more
- 00:03:27rapidly and you can see that there in
- 00:03:29the Curve and I really want you to think
- 00:03:31about you actually doing this yourself
- 00:03:33taking the sensor moving it really fast
- 00:03:36through the pool and the temperature
- 00:03:38Trace that you'll see on the screen of
- 00:03:40the sensor is that the temperature
- 00:03:41varies more rapidly with time
- 00:03:45and we can do a similar thought exercise
- 00:03:47where if we had two pulls one which is
- 00:03:51cold at one end and hot at the other end
- 00:03:52and then we had a second pool which was
- 00:03:55a lot colder at one end and a lot hotter
- 00:03:57at the other end it has a greater
- 00:04:00spatial temperature gradient than if we
- 00:04:02move the sensor at the same speed
- 00:04:04through both of the pools of course the
- 00:04:07pool with the steeper temperature
- 00:04:08gradient is going to see a more rapid
- 00:04:11change in temperature in time as we're
- 00:04:14moving through a steeper temperature
- 00:04:16gradient and these are the key ideas
- 00:04:18that I want you to think about
- 00:04:21we can actually bring these ideas
- 00:04:23together with a very simple equation
- 00:04:25we want to be thinking about the
- 00:04:27measured rate of change of temperature
- 00:04:29so what is the gradient of temperature
- 00:04:31that's seen on the screen of the sensor
- 00:04:34as we move it through the pool well it
- 00:04:37turns out that if you really think about
- 00:04:39moving along the spatial temperature
- 00:04:42gradient in the pool at some velocity U
- 00:04:44it turns out that the rate of measured
- 00:04:48temperature change by the sensor is just
- 00:04:50going to be equal to the spatial
- 00:04:52temperature gradient dtdx multiplied by
- 00:04:56the speed U that we move through the
- 00:04:58pool and of course you can verify or
- 00:05:01check this by just looking at the units
- 00:05:03DT DT is a units of kelvins per second
- 00:05:07or degrees per second and then that's
- 00:05:09going to be equal to Velocity meters per
- 00:05:11second multiplied by the spatial
- 00:05:13temperature gradient Kelvin per meter so
- 00:05:16that's our simple formula the measured
- 00:05:18rate of change of temperature with time
- 00:05:20is going to be equal to the speed
- 00:05:21multiplied by the spatial temperature
- 00:05:23gradient
- 00:05:25now that's in one dimension but what if
- 00:05:28we took our sensor and moved it in some
- 00:05:313D Direction in the pool if we're not
- 00:05:33moving from left to right maybe we move
- 00:05:35up to down or we move diagonally can
- 00:05:38actually extend that previous equation
- 00:05:40that we had there dtdt is again going to
- 00:05:43be equal to the X component of the
- 00:05:45Velocity Vector U multiplied by DT DX
- 00:05:48and then we have the same contributions
- 00:05:51in the Y and Z directions as well but
- 00:05:55it's the same formula because of course
- 00:05:57you can verify this if you were to move
- 00:06:00parallel or move into the screen so
- 00:06:02we're not moving in the X Direction but
- 00:06:04we're moving with some velocity
- 00:06:05component V then the measured rate of
- 00:06:08change of temperature would be equal to
- 00:06:09the speed that we move in that direction
- 00:06:12multiplied by the temperature gradient
- 00:06:15in that direction as well
- 00:06:17and we can simplify this equation into
- 00:06:20Vector form by noticing of course that U
- 00:06:23V and W are the components of the
- 00:06:25Velocity gradient and we can rewrite
- 00:06:26this as the dot product of the Velocity
- 00:06:29vector and the temperature gradient
- 00:06:32Vector there DT DX dtdy and DT DZ and we
- 00:06:37can also simplify this by rewriting in
- 00:06:39Vector notation using bold U for the
- 00:06:42velocity Vector nabla for the gradient
- 00:06:45vector and then t for the temperature
- 00:06:47field
- 00:06:48so this is our formula equation four the
- 00:06:52measured rate of change of temperature
- 00:06:54on the screen of the sensor is going to
- 00:06:56be equal to the dot product U Dot nabla
- 00:06:59and then multiplied by the temperature
- 00:07:01gradient the temperature field there and
- 00:07:04I wanted to make a quick side point here
- 00:07:06to be very careful with this formula
- 00:07:08that you have the order of the dot
- 00:07:10product the correct way round because of
- 00:07:12course the Divergence of the Velocity
- 00:07:15field nabla.u if you have an
- 00:07:17incompressible flow that's going to be
- 00:07:19equal to zero so this formula is not
- 00:07:22correct you have to make sure to use
- 00:07:24equation four the velocity Vector is
- 00:07:26being we're taking the dot product of
- 00:07:28that with the gradient which is applied
- 00:07:30to the temperature field
- 00:07:32so take care to get the order of the
- 00:07:34operations the right way around there
- 00:07:38now carrying on with this simple example
- 00:07:40we are going to be building towards some
- 00:07:42important formulas soon now let's
- 00:07:44consider the case where we have the
- 00:07:46sensor at a fixed location in the pool
- 00:07:48but the temperature of the pool is
- 00:07:50varying in time so there is some time
- 00:07:52variation in that sensor even if we
- 00:07:55don't move it
- 00:07:57of course if we do both if we have a
- 00:08:00background temperature field that does
- 00:08:01vary in time and we're also moving
- 00:08:04through a spatial temperature gradient
- 00:08:06then we're going to get both of these
- 00:08:08contributions which may look something
- 00:08:10like this diagram here
- 00:08:12and both of these contributions so the
- 00:08:15background variation of the temperature
- 00:08:17in time and the movement through the
- 00:08:19spatial temperature gradient are both
- 00:08:21going to contribute to the measured rate
- 00:08:24of change of temperature so what we see
- 00:08:27on the screen of the sensor is going to
- 00:08:29have both of these contributions one and
- 00:08:32two
- 00:08:32and to make it absolutely clear of the
- 00:08:35difference between the rate of change of
- 00:08:37temperature measured on the screen and
- 00:08:39the rate of change of temperature of the
- 00:08:42background flow itself I've introduced
- 00:08:44this new notation Capital DT by by
- 00:08:48Capital DT this is new notation to make
- 00:08:51it clear that we've got both
- 00:08:52contributions
- 00:08:54and this new notation for the time
- 00:08:56derivative is sometimes called the
- 00:08:58material derivative or the lagrangian
- 00:09:00derivative you can find it described in
- 00:09:03many different ways on the internet but
- 00:09:05the trick and the way to think about
- 00:09:07this new derivative is it's the
- 00:09:09temperature gradient in time measured by
- 00:09:12a moving sensor so we move a sensor
- 00:09:15through a spatial gradient
- 00:09:17that's the temperature that's seen by
- 00:09:19the sensor and this is not the same as
- 00:09:21the change in the background temperature
- 00:09:23in time that's the way to think about
- 00:09:25this and it's called the lagrangian
- 00:09:28derivative because we're moving with the
- 00:09:30object we're not in an inertial or fixed
- 00:09:33reference frame outside of the object
- 00:09:37now that derivation that we've seen
- 00:09:39there is actually very useful for us and
- 00:09:43the reason that it's useful is we can
- 00:09:45use it to derive The navier Stokes
- 00:09:47equations now the most common derivation
- 00:09:50of the navi Stokes equations that you've
- 00:09:51probably seen is the derivation where we
- 00:09:54use a fixed volume and fluid passes
- 00:09:56through it but actually we can do a much
- 00:09:59quicker derivation of the navi Stokes
- 00:10:01equations using this idea of the
- 00:10:03material derivative
- 00:10:05and that's what I'm going to show you in
- 00:10:07the next section we're then going to
- 00:10:09build later to look at the different
- 00:10:11forms of the navierstopes equations and
- 00:10:13ultimately I'm going to show you that
- 00:10:15all of the forms are consistent and we
- 00:10:17have the same equation and you're going
- 00:10:19to understand the differences between
- 00:10:20the two
- 00:10:22so how do we go about this quick and
- 00:10:24easy derivation of the navi Stokes
- 00:10:26equations what I want you to do is to
- 00:10:28consider a parcel of fluid and what I
- 00:10:31mean by a parcel of fluid is a group of
- 00:10:34fluid molecules all together you can
- 00:10:36imagine this as drawing an imaginary box
- 00:10:38around a group of fluid molecules and
- 00:10:43this group of fluid molecules has a mass
- 00:10:45m
- 00:10:46and what I want you to imagine is this
- 00:10:48parcel of fluid moving at some velocity
- 00:10:51U we're going to be following along with
- 00:10:53this parcel of fluid that moves at some
- 00:10:55velocity U
- 00:10:57now if we think of Newton's laws of
- 00:10:59motion of course if there are if there's
- 00:11:01no net external force acting on that
- 00:11:04parcel of fluid molecules it will
- 00:11:06continue to move with the same momentum
- 00:11:09however if there is a net external force
- 00:11:13acting on this parcel of fluid molecules
- 00:11:15that can be from the surrounding fluid
- 00:11:18or it could be an external Force like
- 00:11:19gravity for example then the momentum of
- 00:11:22the fluid parcel will change and the
- 00:11:25rate of change of its momentum will be
- 00:11:27equal to the net external force and of
- 00:11:29course that's Newton's second law and
- 00:11:32the key I want you to think about here
- 00:11:33is because we're moving with the part of
- 00:11:36the parcel we're moving along with it
- 00:11:37we're going to be using the material
- 00:11:39derivative here capital D by capital d t
- 00:11:45and the advantage of using this approach
- 00:11:47in our quick and easy derivation of the
- 00:11:50navier Stokes equations is that the mass
- 00:11:53of our parcel of fluid doesn't change
- 00:11:56now if you think about for example a
- 00:11:58flow field that may be heated there may
- 00:12:00be some heaters in the flow field the
- 00:12:02density of the parcel may change as the
- 00:12:05fluid thermally expands when it's heated
- 00:12:07so it's density and its volume may
- 00:12:09change but we're still considering that
- 00:12:11same mass or the same group of fluid
- 00:12:14molecules that are moving through the
- 00:12:16domain so its mass doesn't change we're
- 00:12:18not adding or subtracting any molecules
- 00:12:20from our parcel
- 00:12:22and what that means is that we can
- 00:12:23simplify our equation and we can take
- 00:12:26the mass outside of the lagrangian
- 00:12:29derivative term
- 00:12:30and that allows us to arrive at equation
- 00:12:32six
- 00:12:34and this is a very important equation
- 00:12:37and what we could do of course is we
- 00:12:40could solve that equation directly we
- 00:12:43could integrate the equation in time and
- 00:12:45the solution of that equation which we
- 00:12:48could calculate with some formula like
- 00:12:50this if we were using an explicit Euler
- 00:12:53method for the derivative it would tell
- 00:12:55us how the velocity of that parcel of
- 00:12:58fluid molecules varies in time as it
- 00:13:01moves along its trajectory
- 00:13:03and integrating that equation directly
- 00:13:06is actually the approach that's used in
- 00:13:08lagrangian particle tracking so all it's
- 00:13:11telling us is how the velocity of that
- 00:13:12parcel varies in time but that's not
- 00:13:15actually what we want to do here we
- 00:13:17don't want to know how the velocity of
- 00:13:20that parcel of fluid varies in time we
- 00:13:22want the navier Stokes equations that
- 00:13:24are going to be applicable to the entire
- 00:13:26fluid domain so we want the variation in
- 00:13:29space as well as time so we're going to
- 00:13:32have to do a little bit more work
- 00:13:33but I just wanted to make you aware that
- 00:13:35you could integrate this equation
- 00:13:37directly and if you did just integrating
- 00:13:39in time that would give you the
- 00:13:41lagrangian particle tracking solution
- 00:13:44of course we want the solution on a
- 00:13:46fixed mesh and the solution on a fixed
- 00:13:49mesh of course is where we take our
- 00:13:52fluid domain and we divide it up into
- 00:13:54fixed volumes of a certain size and
- 00:13:57fluid Moves In and Out of the volumes
- 00:13:59across the faces and these volumes of
- 00:14:02course these fluid volumes have a
- 00:14:04constant volume but they may have a
- 00:14:06variable Mass so it's a different way
- 00:14:08around to the lagrangian particle
- 00:14:10tracking the density of the fluid coming
- 00:14:12in and out may change and so the mass
- 00:14:14may change in time as well
- 00:14:18now
- 00:14:19what we want to do is ultimately we need
- 00:14:22to change between the lagrangian form
- 00:14:25and this form on a fixed mesh and it
- 00:14:28turns out of course the navier Stokes
- 00:14:30equations are the same and they're
- 00:14:32identical no matter which derivation you
- 00:14:35use whether you use the lagrangian
- 00:14:37derivation or if you just do the
- 00:14:39standard derivation of the naviostopes
- 00:14:41equations considering a fixed mesh where
- 00:14:43you consider the change in the velocity
- 00:14:45between the faces and shrink the
- 00:14:47incremental volume to zero both of these
- 00:14:50are going to lead to the same form of
- 00:14:51the navi Stokes equations and that's
- 00:14:53what I'm going to show but for now we're
- 00:14:55going to carry on with this lagrangian
- 00:14:56form and then we're going to shift back
- 00:14:59to the form for a fixed mesh later on
- 00:15:03and the first thing we're going to do
- 00:15:04pushing on is we're going to note that
- 00:15:07the navier Stokes equations in their
- 00:15:09traditional form are written per unit
- 00:15:10volume they all have all the terms have
- 00:15:13units of force per unit volume so what
- 00:15:15we're going to do is divide both sides
- 00:15:16of our equations by the volume of this
- 00:15:18cell
- 00:15:19and ultimately this means that when we
- 00:15:21have the full form of the navi Stokes
- 00:15:23equations we can integrate it over the
- 00:15:25volume of different cells and that will
- 00:15:27allow us to write our equations in a
- 00:15:30discrete algebraic form that can be
- 00:15:32solved by a computer
- 00:15:33so we've divided both sides by the
- 00:15:35volume of the cell
- 00:15:37and the next thing that's commonly done
- 00:15:39in the derivation of the Navigator
- 00:15:40Stokes equations is to separate the
- 00:15:43force acting on the volume into two
- 00:15:45different contributions the first
- 00:15:48contribution are the forces or the
- 00:15:50stresses acting on the surface of the
- 00:15:53parcel I've shown these in red and then
- 00:15:55the second contribution are the
- 00:15:57components acting on the body or acting
- 00:15:59on the volume and you can think of the
- 00:16:01components acting on the volume as
- 00:16:03forces like gravity which acts on the
- 00:16:05physical volume of the body and then the
- 00:16:07surface forces will come from things
- 00:16:09like pressure and shear stress acting on
- 00:16:12the surface and it's common in the
- 00:16:14derivation of the naryostokes equations
- 00:16:16to separate the net force acting on the
- 00:16:19parcel into these two different
- 00:16:20contributions
- 00:16:22and how the contributions normally work
- 00:16:24we normally have the Divergence of the
- 00:16:26stress tensor that's the first term
- 00:16:28which represents the surface forces
- 00:16:31acting on the surface of the body and
- 00:16:33then I'm using a lowercase f to denote
- 00:16:36all the body forces from gravity and
- 00:16:38other forces
- 00:16:40and in this form you may have seen this
- 00:16:43form of the navier Stokes equations
- 00:16:45before and technically this is the
- 00:16:48cauchy form of the momentum equations
- 00:16:50it's not the full navier Stokes
- 00:16:53equations yet and in order to arrive at
- 00:16:55the full manostokes equations we'd need
- 00:16:57to use a constitutive relationship for
- 00:16:59the shear stresses for the stresses and
- 00:17:01separate them out into pressure and
- 00:17:03shear stress contributions but I'm not
- 00:17:06going to do that here today I'm going to
- 00:17:08move on from this form and focus on the
- 00:17:10other terms in the equation
- 00:17:13so what we can do now is we've actually
- 00:17:16got the final form of the equation we
- 00:17:19need but this is valid for the moving
- 00:17:22parcel so we're moving with the parcel
- 00:17:24if we integrate this equation directly
- 00:17:27that will give us the velocity of the
- 00:17:29parcel itself as we move through the
- 00:17:32domain but what we want to do is switch
- 00:17:34from that lagrangian description to an
- 00:17:37eulerian description or a description
- 00:17:39where we have the fixed volume and fluid
- 00:17:41flows through it and it turns out we can
- 00:17:44do that easily by just using the
- 00:17:46definition of the material derivative
- 00:17:48and expanding that term on the left hand
- 00:17:51side d u d t
- 00:17:53and what you can see now is that by
- 00:17:55expanding the material derivative we've
- 00:17:58got the variation of the background flow
- 00:18:00field in time that's that first
- 00:18:02contribution and we've also got the
- 00:18:05advective contribution so as the
- 00:18:07velocity of the fluid is moving momentum
- 00:18:10through the domain that's this second
- 00:18:12term the advection or convection term
- 00:18:14and this varies in space so if we were
- 00:18:18to solve this form of the equation we'd
- 00:18:21have to integrate in space as well as
- 00:18:23time and that's why this form of the
- 00:18:27navi Stokes equations would will allow
- 00:18:30us to calculate the variation of the
- 00:18:32velocity and momentum in the entire
- 00:18:35fluid domain and this is actually what
- 00:18:37we want we're going to be integrating in
- 00:18:39space as well as in time
- 00:18:42and what I really want you to notice
- 00:18:44from this is that actually this form of
- 00:18:47the navierstopes equations is identical
- 00:18:49to this form of the navier Stokes
- 00:18:52equations if the equations are identical
- 00:18:54The navier Stokes equations is uniformly
- 00:18:56the same regardless of how we choose to
- 00:18:58write it but the difference between the
- 00:19:00lagrangian and the eulerian description
- 00:19:03is how we choose to solve it in the
- 00:19:05lagrangian form we just integrate this
- 00:19:07directly whereas in the eulerian form we
- 00:19:10actually expand and then we consider the
- 00:19:13space and the time variations when we
- 00:19:15solve so those forms of the navi Stokes
- 00:19:18equations are identical and the material
- 00:19:20derivative is a very convenient way of
- 00:19:23getting to the navi Stokes equations
- 00:19:25quickly without having to consider
- 00:19:27incremental volumes and variations over
- 00:19:29faces and shrinking the volume down to
- 00:19:31an infinitesimal volume it's a very
- 00:19:33convenient and easy derivation there
- 00:19:37but what I'm going to move on to now is
- 00:19:39show you two further forms of the navier
- 00:19:41Stokes equations which are equivalent to
- 00:19:44the the form that we've seen before and
- 00:19:46you'll also see these cropping up in the
- 00:19:48literature when you look at the
- 00:19:49different forms of the navier Stokes
- 00:19:51equations but it's important to remember
- 00:19:52that all of these forms are identical
- 00:19:55and that's the key takeaway from this
- 00:19:57talk the form that you choose to use
- 00:19:59depends on the form which is most useful
- 00:20:01to you and what you're trying to do
- 00:20:04and to show you the difference between
- 00:20:06the advective form and the conservative
- 00:20:08form we're going to be looking at the
- 00:20:10left hand side of the equation here the
- 00:20:13terms that are underlined with the
- 00:20:15underbrace there and because I'm only
- 00:20:17going to be looking at the left hand
- 00:20:18side of the equation for the rest of
- 00:20:20this talk we don't really need to
- 00:20:22consider the right hand side anymore and
- 00:20:24so I'm just going to combine those
- 00:20:25together into the net external force
- 00:20:27factor F over V and for you following
- 00:20:30along if you're writing the equations
- 00:20:32down and trying this for yourself you
- 00:20:34can go with either of these forms or you
- 00:20:36can even use a constitutive relationship
- 00:20:39for the shear stress if you want and
- 00:20:40write the full navier Stokes equations
- 00:20:43on the right hand side with the shear
- 00:20:45stress and the pressure if you want
- 00:20:47the analysis will be the same I'm just
- 00:20:49going to be using this compact form
- 00:20:51because it makes the terms easier to
- 00:20:53manage and navigate
- 00:20:55now let's look at the advective form and
- 00:20:58the conservative form
- 00:21:00equation 11 is what we've been using so
- 00:21:03far this is the form that arises when we
- 00:21:05take the derivation of the naviest Oaks
- 00:21:07equations regardless of if we use a
- 00:21:09lagrangian type derivation or if we use
- 00:21:12an eulerian type derivation which I
- 00:21:14haven't used here we arrive at this form
- 00:21:16of the navi Stokes equations and this is
- 00:21:18commonly called the advective form or
- 00:21:20the convective form of the navi Stokes
- 00:21:22equations and the reason for that is
- 00:21:24this term here represents the advection
- 00:21:27of or the movement of momentum through
- 00:21:30the domain by the velocity field itself
- 00:21:33so this is representing momentum
- 00:21:36but what we would like to do is rewrite
- 00:21:38this equation in conservative form and
- 00:21:42conservative form is the form you can
- 00:21:43see there in equation 12. and what
- 00:21:46differences do you notice well in the
- 00:21:49conservative form all of the variables
- 00:21:51so rho U and rho uu they appear inside
- 00:21:55the operator whether that be the time
- 00:21:58derivative or the Divergence operator
- 00:22:00these operators operate on all of the
- 00:22:03variables you can see there we don't
- 00:22:05have any variables outside being
- 00:22:07multiplied we don't have a density
- 00:22:09outside and we don't have a velocity
- 00:22:10outside either
- 00:22:13so all of the variables are written in
- 00:22:15conservative form and the reason that we
- 00:22:18want to do that is it actually makes
- 00:22:20things a lot easier when we apply the
- 00:22:22finite volume method because we can
- 00:22:24apply the Divergence Theorem to these
- 00:22:26terms but I'm not going to be going into
- 00:22:28that in this lecture in this lecture all
- 00:22:30I want you to do is appreciate the
- 00:22:32difference between the advective form of
- 00:22:34the left hand side and the conservative
- 00:22:37form of the right hand side of the left
- 00:22:38hand side they are slightly different
- 00:22:41but of course as we've seen so far in
- 00:22:44this talk these forms are equivalent and
- 00:22:47we can use either
- 00:22:48but how can we show that this new
- 00:22:51conservative form is actually equivalent
- 00:22:53to the advective form that we've been
- 00:22:55using so far
- 00:22:56we're going to have to do a derivation
- 00:23:00and if you've attempted this derivation
- 00:23:02before or if you've searched for it on
- 00:23:04the internet the key to the derivation
- 00:23:06to showing that the advective and
- 00:23:08conservative forms are the same is to
- 00:23:10actually start with the conservative
- 00:23:12form and work backwards it's a lot
- 00:23:14easier to do it that way
- 00:23:15and what I'm going to do in this talk is
- 00:23:18to again start with the conservative
- 00:23:20form and work backwards but I'm only
- 00:23:22going to take the X component of the
- 00:23:24navi Stokes equations so lowercase U I'm
- 00:23:27going to be using rather than uppercase
- 00:23:28U and I'm only going to be doing it in
- 00:23:312D so considering the X and the Y
- 00:23:33components of the equation and if you
- 00:23:36want to do this yourself you can
- 00:23:37consider all three components and you
- 00:23:39can do in 3D if you want but for showing
- 00:23:41the equivalent you only really need to
- 00:23:43do it in 2D with the X components of the
- 00:23:45navi Stokes equations
- 00:23:47so the X component is equation 14.
- 00:23:50notice that we're using lowercase U for
- 00:23:53the X component of the Velocity field
- 00:23:54and in the uh the Divergence term here
- 00:23:58the first velocity U is lowercase
- 00:24:01because we're considering the U momentum
- 00:24:03equation but of course to evaluate the
- 00:24:06Divergence nabla dot this needs to be a
- 00:24:08vector quantity which is why we've still
- 00:24:11got the velocity Vector here but the
- 00:24:14term that's being moved by the flow is
- 00:24:17the U component of the momentum and the
- 00:24:19force again lowercase f we're only
- 00:24:22considering the X component of the force
- 00:24:24Vector because this is the momentum
- 00:24:26balance or conservation of momentum in
- 00:24:29the X Direction only
- 00:24:31and for the derivation how do we do it
- 00:24:33the easy way to do it is to expand the
- 00:24:36Divergence operator so replacing nablo
- 00:24:39with d by DX and D by d y and when you
- 00:24:42expand the terms out you see you've got
- 00:24:43d by DX of rho uu and D by d y of rho UV
- 00:24:47so these are the two terms
- 00:24:50and then what we can do is use the
- 00:24:52product rule and remember that the
- 00:24:54product rule in mathematics for example
- 00:24:56if we take this first term the rate of
- 00:24:59change of row u in time that becomes
- 00:25:01equal to rho d u d t plus u d rho DT
- 00:25:05that's the product rule when we're
- 00:25:07taking the derivative of two variables
- 00:25:09multiplied together
- 00:25:10and we can also apply the product rule
- 00:25:12to the D by DX term which gives us rho u
- 00:25:15d u d x plus u d rho u by DX and the
- 00:25:19same for the Y term as well
- 00:25:21and then what we're going to do is
- 00:25:23collect all of the common terms together
- 00:25:25so all of the terms that are multiplied
- 00:25:28by rho you can see we've got one here
- 00:25:30rho Duda DT and then rho u d u d x and
- 00:25:34then another one here rho v d u d y and
- 00:25:37collect those together in this first
- 00:25:38bracket and then the second bracket I'm
- 00:25:41going to collect all the terms together
- 00:25:42that are multiplied by lowercase U so I
- 00:25:45can see I've got a D rho DT here a d rho
- 00:25:48u by DX here and a d rho v by d y there
- 00:25:51so I've used the product rule and then
- 00:25:53collected all the terms together and if
- 00:25:55you need to write these down for your
- 00:25:57for yourself at home go ahead and do
- 00:25:58that it will help with your
- 00:26:00understanding
- 00:26:01and then what I'm going to do is
- 00:26:02reintroduce nabla so reintroduce the
- 00:26:05gradient operator and just looking at
- 00:26:08these you can see where the gradient
- 00:26:09operator is going to come in we've got a
- 00:26:11d by DX here a d by d y so it's going to
- 00:26:14be a gradient operator here and we've
- 00:26:16got a d by DX here and a d by d y here
- 00:26:19but you'll notice that the gradient
- 00:26:20operator here is applied to row u and
- 00:26:22rho v whereas over here it's applied to
- 00:26:25U
- 00:26:26so what does that mean
- 00:26:28when we reintroduce the gradient
- 00:26:29operator we arrive at this equation
- 00:26:31equation 19 and you can see
- 00:26:34the first bracket is still here
- 00:26:36pre-multiplied by row and the second
- 00:26:38bracket is here pre-multiplied by U
- 00:26:41and the key to this derivation to
- 00:26:43showing that the advective form and the
- 00:26:45conservative form are equivalent is to
- 00:26:47recall that the continuity equation so
- 00:26:49conservation of mass is given by
- 00:26:52equation 20 and this is valid for
- 00:26:54compressible and incompressible flows
- 00:26:57and you'll notice looking back at
- 00:26:59equation 19 that this second bracket is
- 00:27:02actually equal to the continuity
- 00:27:03equation so this entire second bracket
- 00:27:06is actually equal to zero we get rid of
- 00:27:08it completely and that allows us to
- 00:27:11arrive at just the first bracket which
- 00:27:13is the advective form of the navi Stokes
- 00:27:16equations so we started with this term
- 00:27:19in the Box here this was the convective
- 00:27:22form uh sorry the conservative form and
- 00:27:25we've shown that that's equal to the
- 00:27:26advective form
- 00:27:28so both the conservative form and the
- 00:27:31advective form and the lagrangian form
- 00:27:35of the navi Stokes equations are all
- 00:27:38equivalent all of these equations are
- 00:27:40the same form of the navier Stokes
- 00:27:43equations but we've just Rewritten them
- 00:27:45slightly by using different operators
- 00:27:47and rearranging the terms you can use if
- 00:27:50you write your own if you write your own
- 00:27:53papers and manuscripts and you're citing
- 00:27:56The navier Stokes equations any three of
- 00:27:58these forms of the left hand side of the
- 00:28:00navi Stokes equations they're all
- 00:28:02equivalent they all mean the same thing
- 00:28:04but the difference is what we choose to
- 00:28:07use them for and if we're going to be
- 00:28:10doing lagrangian particle tracking then
- 00:28:12we would probably take this form of the
- 00:28:14equation and integrate it directly in
- 00:28:17time
- 00:28:18now if we're using the finite volume
- 00:28:20method to solve the navi Stokes
- 00:28:22equations then we would take the
- 00:28:24conservative form which is at the bottom
- 00:28:26the reason that we do that is it's
- 00:28:28easier to apply the Divergence Theorem
- 00:28:30in the finite volume method to this to
- 00:28:33this form because all of the terms in
- 00:28:35the equation are inside or being
- 00:28:38operated on their respective derivatives
- 00:28:42so those are the different forms of the
- 00:28:44navier Stokes equations hopefully now
- 00:28:47you can see that these forms are unified
- 00:28:48and all represent the same equation it
- 00:28:51only depends on what you choose to do
- 00:28:53with them and actually it turns out
- 00:28:55these two different forms the
- 00:28:57conservative form and the objective form
- 00:28:59also appear in the other transport
- 00:29:01equations as well
- 00:29:03and if you think about for example the
- 00:29:05the equation for enthalpy
- 00:29:08um the enthalpy equation may look
- 00:29:10something like this equation 26 written
- 00:29:13in advective form once again you can see
- 00:29:15you've got rho multiplied by DH DT plus
- 00:29:19u dot nabla h this is an adjective form
- 00:29:23and that's going to be equal to we have
- 00:29:26the conduction or diffusion term on the
- 00:29:28right hand side and sources of enthalpy
- 00:29:30as well and that form is of course
- 00:29:33equivalent to a conservative form where
- 00:29:36we could rewrite it with the rate of
- 00:29:38change in time of rho h plus nabla dot
- 00:29:41rho uh there as well so you can quite
- 00:29:44clearly see that for these transport
- 00:29:45equations we can write them in advective
- 00:29:47form or conservative form they both
- 00:29:50represent the same equation and actually
- 00:29:52for the enthalpy equation you could go
- 00:29:55through the same derivation that I just
- 00:29:56went through for the navi Stokes
- 00:29:58equations and you have to use all the
- 00:30:00same techniques so start with the
- 00:30:02convective form work backwards use the
- 00:30:04product rule and then use the continuity
- 00:30:06equation to cancel out some of those
- 00:30:08terms and you can show that the
- 00:30:10objective form and the conservative form
- 00:30:12are the same but hopefully taking this
- 00:30:14forward you can see that actually when
- 00:30:17cfd codes in the cfd user manuals for
- 00:30:20example present the different forms of
- 00:30:22the navier Stokes equations they are
- 00:30:24equivalent but the conservative form is
- 00:30:26more useful because it allows us to
- 00:30:28apply the Divergence Theorem in the
- 00:30:30finite volume method
- 00:30:33so just a quick summary to wrap up
- 00:30:34everything I've talked about today the
- 00:30:36material derivative or lagrangian
- 00:30:38derivative which is capital of d by DT
- 00:30:41you can think of that as the measured
- 00:30:44rate of change moving with a sensor so
- 00:30:47you're moving with a parcel of fluid or
- 00:30:49a thermometer in a swimming pool and
- 00:30:51you're looking at how the temperature
- 00:30:52changes with time on a screen
- 00:30:55that's what this material derivative
- 00:30:57represents it's really useful for us
- 00:30:59because we can use it to do a quick
- 00:31:01derivation of the navierstopes equations
- 00:31:04which is a lot more compact than a
- 00:31:07derivation in eulerian form we have to
- 00:31:09consider the different surfaces of an
- 00:31:11infinitesimal volume
- 00:31:13and we can convert readily from the
- 00:31:15lagrangian to look to the eulerian form
- 00:31:17of the equation just by expanding the
- 00:31:20definition of the material derivative
- 00:31:21and we can do that for the navierstopes
- 00:31:23equations or for any other transport
- 00:31:26equation as well the equations
- 00:31:27themselves are the same and represent
- 00:31:30the same conservation properties and
- 00:31:34those are some very useful different
- 00:31:36forms which you can use to represent it
- 00:31:41so that brings me to the end of the talk
- 00:31:43I'm really hoping at the end of this
- 00:31:45talk that you're clear on the
- 00:31:47differences between the different forms
- 00:31:49of the navier Stokes equations and other
- 00:31:51transport equations and you can use this
- 00:31:54in your own work when you're reciting or
- 00:31:56recalling the equations and have the
- 00:31:58confidence that you know the differences
- 00:32:00between the different forms of the
- 00:32:02equations
- 00:32:03if you found this talk useful let me
- 00:32:05know in the comments section and let me
- 00:32:06know if there are any other parts of the
- 00:32:08notation or equations that are commonly
- 00:32:10used in cfd that you'd like to see
- 00:32:12explained in more detail
- 00:32:15and thank you all very much for watching
- 00:32:17and I'll see you in the next video
- Navier-Stokes
- transport equations
- material derivative
- Lagrangian
- Eulerian
- advective form
- conservative form
- CFD
- temperature gradient
- continuity equation