00:00:01
let's start a discussion with vector
00:00:03
calculus
00:00:03
vector calculus is very useful in fluid
00:00:06
mechanics
00:00:07
it helps us to identify how the flows
00:00:11
move from point a to point b
00:00:14
to do that uh let's
00:00:18
uh before we do anything else let's
00:00:21
let's def let's have uh less to feel
00:00:23
that um
00:00:26
let's give some definitions here
00:00:31
the first definition is what happens
00:00:34
when we differentiate
00:00:35
a vector
00:00:45
differentiation
00:00:48
of a vector
00:01:00
okay so let's consider a vector
00:01:04
of the following form let's suppose i
00:01:07
have a vector
00:01:09
uh a okay this vector
00:01:12
a is a function of uh
00:01:16
the magnitude a and it's in the
00:01:18
direction
00:01:20
unit direction e t let's suppose that
00:01:23
both functions of time
00:01:25
so that means that if i want to take the
00:01:28
differentiation of
00:01:29
a respect to t
00:01:33
using the chain the the chain rule
00:01:36
you know this will be the derivative of
00:01:39
a respect to t
00:01:41
times to second term
00:01:45
plus a times
00:01:48
the derivative of e respect to time
00:01:51
okay this is this term right here
00:01:54
represents the change in magnitude
00:02:07
this represents change in direction
00:02:19
okay so basically each one of these
00:02:22
terms
00:02:23
have their own representation right okay
00:02:26
let's suppose we have various cases
00:02:30
just for sake of this exercise
00:02:33
let's say your vector a is a function of
00:02:36
time
00:02:39
and you have another vector b that's a
00:02:42
function of time
00:02:44
you have a sorry vector b is a function
00:02:48
of time we have vector c
00:02:50
that's a function of time as well
00:02:53
let's suppose you have another vector u
00:02:56
that's uh
00:02:56
that's also this is just a constant
00:03:00
and it's a it's it's a function of time
00:03:03
okay so we have those
00:03:05
this definition so if i wanted to do
00:03:09
uh the derivative let's say
00:03:12
of u times a remember this is a scalar
00:03:17
it's a function of time just a scalar so
00:03:19
if i use the chain rule
00:03:20
this is d u d t
00:03:24
times a plus
00:03:27
u d a dt
00:03:30
however since this is a scalar
00:03:34
but it is a function of time so this
00:03:36
remains there if it was not a function
00:03:38
of time that this term would go to zero
00:03:41
if i was going to take the derivative of
00:03:43
time
00:03:44
of a dot product let's say dot product
00:03:48
of a with
00:03:49
dot product of b then it applies the
00:03:52
same rule
00:03:53
is a dot product of a respect to time
00:03:57
times dot b
00:04:00
plus a don't forget the dots there's a
00:04:04
dot product there
00:04:06
then the dot product of b respect to
00:04:09
time
00:04:11
if i'm going to do the cross product the
00:04:13
cross product works same
00:04:16
cross product is if you have a and you
00:04:18
want to take the cross product
00:04:20
with a respect to b then that would be
00:04:24
the uh the derivative of the vector a
00:04:29
cross product b plus
00:04:33
b uh sorry a
00:04:37
cross product the derivative of b
00:04:39
respect to time
00:04:41
okay so many of these chain rules apply
00:04:44
as
00:04:44
we are used to applying them
00:04:48
okay uh so these terms becomes very
00:04:51
useful and very handy as we are
00:04:53
moving on right so another thing that's
00:04:56
very useful
00:04:57
to understand if i have the vector a
00:05:01
now let's express the full vector a
00:05:03
that's a function of time
00:05:05
and let's say this is a function of a1
00:05:08
e1 everything is a function of time
00:05:12
e 2 e 2
00:05:14
[Music]
00:05:16
sorry a 3 e 3
00:05:20
and i want to take the derivative of a
00:05:24
with respect to time that would give me
00:05:27
the derivative of
00:05:28
a1 respect to time
00:05:31
e1 plus
00:05:35
derivative of uh
00:05:38
times a this is a vector don't know this
00:05:41
is a scalar sorry
00:05:43
a1 times derivative of
00:05:46
e1 respect to time note that if these
00:05:50
were
00:05:50
not functions of time that this term
00:05:53
will go to zero
00:05:55
okay so going to the next term that will
00:05:58
be this term
00:05:59
will be plus da2
00:06:03
respect to time e2
00:06:07
plus a2
00:06:11
d2 respect to time
00:06:15
okay
00:06:18
so if you go to the last term becomes
00:06:22
then
00:06:24
plus derivative for 3
00:06:29
respect to time e3
00:06:33
plus a 3 derivative of
00:06:36
e3 respect to time
00:06:40
so this is what your differentiation
00:06:42
will look like
00:06:43
this is a quick review of your calculus
00:06:45
for inner bacterial notation okay
00:06:48
so um the couple more
00:06:52
if you're working a cylinder coordinate
00:06:54
in cylindrical coordinates that becomes
00:06:56
very useful and we use this
00:06:58
a lot because the fluids are many times
00:07:02
circular and cylindrical approximation
00:07:06
and
00:07:06
spherical approximation become very
00:07:08
handy
00:07:09
um so the cylindrical coordinates
00:07:14
tell me the following okay so
00:07:18
let's suppose i have a vector and
00:07:21
this vector uh this small variation of
00:07:25
this vector respect to time
00:07:27
with respect to position is given by
00:07:30
the following r d theta
00:07:35
theta plus d theta
00:07:38
d theta times z okay dz
00:07:42
times z okay so now
00:07:45
let's take a position vector
00:07:56
and
00:08:10
yeah okay
00:08:13
so i have y i have x
00:08:17
and now i'm going to have
00:08:20
i'm looking from top and i have a
00:08:23
rotation
00:08:24
that looks something like this okay it's
00:08:27
a perfect circle
00:08:29
and now uh i got the position here
00:08:37
at theta okay
00:08:40
but then i have another position here
00:08:43
and another moment that is
00:08:46
d theta okay so
00:08:49
we know that both are r but this is the
00:08:52
same radius the radius doesn't change
00:08:56
and this direction um let's change the
00:08:59
colors here
00:09:02
so this direction coming in this coming
00:09:05
in this direction
00:09:07
is e r okay and we can call this
00:09:11
a remember just because the direction is
00:09:13
going to change the magnitude is still
00:09:15
one
00:09:16
let's put this prime then what you have
00:09:20
is
00:09:21
you you have a vector that here that's
00:09:23
perpendicular to this
00:09:26
and 90 degrees have another vector
00:09:28
that's perpendicular to this and 90
00:09:30
degrees
00:09:33
and this is um the direction
00:09:36
e theta this is the direction
00:09:39
e theta but it's different because a
00:09:42
different location
00:09:44
okay and we are doing all this rotation
00:09:46
about this point let's call it the point
00:09:48
a point oh i'm sorry so
00:09:53
if i want to know the change between
00:09:56
this
00:09:57
the change that's happening here the
00:09:59
theta okay
00:10:00
this what is this guy over here so
00:10:03
what happens is you can show
00:10:07
that delta e theta
00:10:10
okay is going to equal to your final e
00:10:14
theta
00:10:15
this vector minus this vector minus
00:10:19
prime minus e theta
00:10:22
okay but that is nothing else
00:10:26
then if you use your uh
00:10:29
the rules of the arc right that says
00:10:32
this distance
00:10:33
is equal to r times theta so
00:10:36
and it will be uh minus
00:10:40
d theta e r
00:10:44
so your d theta if i'm actually going to
00:10:47
take a
00:10:48
a very s small differential
00:10:56
is equal to minus theta
00:11:00
er okay so
00:11:04
what what this is uh this relationship
00:11:08
is very useful
00:11:09
um and also and then the same manner
00:11:13
you can show that dr er
00:11:17
is also equal to d theta
00:11:21
e theta okay you can show that i'm not
00:11:24
going to go into the whole derivation
00:11:25
here
00:11:26
uh you can also show that
00:11:29
a differentiation of the e c the
00:11:33
c uh will be
00:11:35
[Music]
00:11:36
theta but since i can say e z
00:11:40
and take the cross product of z is the
00:11:42
same vector
00:11:44
so that will give me equal to zero
00:11:47
okay uh so those are some
00:11:51
uh concepts that just to tell you how it
00:11:54
works
00:11:57
now uh let's consider the following case
00:12:01
let's consider i have a velocity
00:12:04
okay now this velocity is a function of
00:12:07
x y
00:12:11
z and time and i want to find the
00:12:14
acceleration
00:12:16
okay so let's suppose i want to find a
00:12:18
small
00:12:20
variation of this a small variation of
00:12:23
this
00:12:24
is uh equal to using the chain rule will
00:12:27
be a variation of b
00:12:29
respect to x d of x
00:12:33
plus the partial variation of b
00:12:36
respect to y d y
00:12:39
plus partial respect to
00:12:43
v respect to z dz
00:12:47
plus partial resp uh uh
00:12:50
derivative respect to v respect to t
00:12:54
dt okay
00:12:58
so uh pay close attention here now
00:13:01
so what happens here is um
00:13:05
but we are doing this this whole thing i
00:13:08
can divide this by
00:13:09
t on both sides
00:13:13
so let's let's put this in a different
00:13:15
color
00:13:17
so this is divided by dt this is divided
00:13:21
by dt
00:13:22
divided by dt divided by
00:13:25
dt divided by dt and note that dt
00:13:29
over dt this is going to be one so
00:13:32
your entire equation then for your
00:13:35
acceleration
00:13:37
is actually equal to the variation
00:13:41
that the the partial derivative of v
00:13:44
respect to t okay plus
00:13:48
partial derivative of v
00:13:53
um v respect to x
00:13:56
what is that that's just nothing else
00:13:58
than your component in u
00:14:00
remember that the whole thing here i can
00:14:03
also write it at
00:14:04
in terms of u i plus
00:14:08
v j plus w
00:14:12
k okay well these are the various
00:14:14
components
00:14:15
x y and z and they all can be a function
00:14:17
of x y and z
00:14:19
so i can say this is
00:14:22
uh this so
00:14:25
this right here is nothing else than
00:14:28
u this is nothing else than b
00:14:32
this is nothing i'm sorry okay they're
00:14:34
related to this
00:14:35
this is nothing else than w then
00:14:38
really what you're really having is u
00:14:42
velocity respect to x
00:14:45
plus v velocity respect to
00:14:49
y plus w velocity
00:14:53
respect to z okay
00:14:56
so this is what we call local divert
00:15:00
this is called the local derivative
00:15:07
this is called the convective derivative
00:15:18
okay and a very convenient manner to
00:15:23
write this
00:15:24
is in terms of the gradient operator so
00:15:27
let's define what the gradient operator
00:15:29
does
00:15:30
so there is the gradient
00:15:33
operator
00:15:38
okay the gradient operator says
00:15:42
your delta is equal to i
00:15:46
times partial of x plus
00:15:49
j this is unit vector
00:15:53
partial of y plus
00:15:56
k partial of z
00:16:00
okay that's th this is what your vector
00:16:03
is going to look like so
00:16:04
how does this work if i take this vector
00:16:08
and i um multiply by a scalar fee
00:16:12
right what i am saying is that what you
00:16:16
end up
00:16:16
is v times dx
00:16:20
in the eye v
00:16:24
times of uh sorry let's write it in the
00:16:27
same form right you're just applying
00:16:30
to this you're taking applying this
00:16:32
operators
00:16:33
that's what you're doing
00:16:43
okay so
00:16:46
that's what this really means now what
00:16:49
if this was a
00:16:50
vector right now when i have a vector i
00:16:52
cannot multiply a vector but i can take
00:16:54
a dot product of a vector
00:16:56
so let's suppose i take i have a
00:16:59
velocity field
00:17:01
and i call this velocity field
00:17:07
u i plus
00:17:10
v j plus w
00:17:14
k and then what if i take
00:17:18
let's do it two different ways what
00:17:20
happens if i take this
00:17:21
dot delta right if i
00:17:24
take this dot delta note one note
00:17:28
exactly what's going to happen this side
00:17:30
over here
00:17:31
is um you're taking the dot product
00:17:36
of u v and w
00:17:41
and then on this side you're taking the
00:17:43
dot product
00:17:44
of partial respect to x
00:17:49
partial respective y
00:17:53
partial respect to z so
00:17:56
what's really going to happen here is
00:17:59
dot product
00:18:00
so you you're taking this dot product
00:18:02
the result of this
00:18:04
is nothing else than the multiplication
00:18:06
of
00:18:07
this first times x so this is what you
00:18:10
end up with
00:18:11
partial of x plus
00:18:15
v times partial of y
00:18:19
plus w times partial of z
00:18:22
and you can immediately see what's
00:18:25
happening here right
00:18:27
you can see that this is not on this
00:18:29
side it's actually only before
00:18:31
so this is saying that any operator you
00:18:35
want to apply to this
00:18:36
then we'll actually go to that okay for
00:18:39
instance let me explain this
00:18:41
let's suppose i wanted to say i'm going
00:18:44
to write it right here
00:18:45
this dot this
00:18:48
times v so you know because applied v
00:18:52
you take this whole thing and you apply
00:18:55
feed to it and applying feed to it is
00:18:58
saying you're applying
00:19:00
feed to all of this so this is u partial
00:19:03
of
00:19:03
phi respect to x plus
00:19:07
b partial of phi respect to y
00:19:11
plus w partial of
00:19:14
phi respect to z
00:19:17
okay so that's what this means now if i
00:19:20
do it the
00:19:21
other way around and if i said now i'm
00:19:24
going to take this
00:19:26
i'm going to take another dot product
00:19:28
let's see what happens then
00:19:30
so what happens if i say i want to take
00:19:33
this
00:19:34
and i want to take this dot product but
00:19:37
then once i take the dot product i want
00:19:39
to multiply this times my
00:19:41
velocity vector v now see what happens
00:19:45
so if i did that then basically you're
00:19:48
taking this
00:19:49
this expression right here
00:19:53
that's the first expression so it says
00:19:56
u partial of x
00:20:01
plus v partial of
00:20:05
plus w partial of
00:20:09
z all of this
00:20:13
and i'm going to multiply b so when i do
00:20:16
this
00:20:17
then you basically end up with u
00:20:21
partial of x times v
00:20:24
plus v
00:20:26
[Music]
00:20:28
partial of y respect to v
00:20:32
plus w partial of v
00:20:35
respect to z and
00:20:38
uh note now that this term right
00:20:41
here that i just derived for you
00:20:45
is actually identically equal to this
00:20:47
term that we have here
00:20:49
right so in general
00:20:52
what we could do is we could say your
00:20:56
acceleration vector will be nothing else
00:21:00
than the
00:21:01
derivative of v respect to t
00:21:04
plus your velocity vector
00:21:09
take uh
00:21:13
dot with your gradient vector
00:21:17
multiplied by v and that's what this is
00:21:19
going to equal to
00:21:20
the beauty of expressing it like this
00:21:23
now my delta
00:21:24
operator can be anything my delta
00:21:26
operator i could express it in terms of
00:21:28
cartesian coordinates
00:21:30
in terms of um
00:21:34
sorry uh i can express it in terms of
00:21:36
cartesian coordinates
00:21:38
i can express that in terms of um
00:21:42
excellent degree coordinates uh i could
00:21:45
have
00:21:46
expressed that in spherical coordinate
00:21:48
for instance
00:21:49
your del operator in cylindrical
00:21:52
coordinates
00:21:54
is actually looks like this
00:21:59
cylindrical coordinate this operator
00:22:02
will be e r
00:22:06
partial of r plus
00:22:10
e theta don't forget this one over
00:22:14
r that's often skipped out and forgotten
00:22:19
plus e z
00:22:22
partial of z okay
00:22:25
so you can see that this is more general
00:22:28
and can apply to
00:22:29
any type of problem which is very very
00:22:32
convenient with stuff that we do
00:22:35
okay so uh
00:22:38
given this fact we got some another
00:22:42
property that's very useful
00:22:44
then um what happens if i say
00:22:47
v cross product
00:22:50
of a a vector a let's say okay
00:22:54
so i'm taking the cross product now the
00:22:56
other way around if i
00:22:57
did that then what you happen is i have
00:23:01
various solutions right if i'm working
00:23:03
in now let's say
00:23:05
a uh cartesian coordinates
00:23:14
then you will end up with a
00:23:17
x x
00:23:22
a y respect to y
00:23:26
a z respect to z
00:23:30
okay uh
00:23:33
in in cylindrical coordinates
00:23:45
in cylindrical coordinates you will end
00:23:48
up with 1 over
00:23:49
r partial of r
00:23:52
a r divided by r
00:23:56
plus 1 over r partial of theta
00:24:01
respect to theta plus partial of
00:24:04
a z respect to z
00:24:08
okay now if i want to do the
00:24:11
cross product of this a del operator
00:24:15
what we call this we
00:24:18
we actually call we have a name for this
00:24:21
we call this the divergence
00:24:24
of a okay now if you want to call
00:24:27
to find the curl okay this is very
00:24:30
important especially
00:24:32
when we start doing rotational fluids
00:24:35
you take the cross product of this
00:24:38
then it becomes very interesting as well
00:24:41
when is cartesian
00:24:46
your cartesian coordinates look like
00:24:48
this
00:24:54
i j
00:24:58
k partial of
00:25:01
x partial of
00:25:04
y partial of z
00:25:09
a x a y
00:25:12
a z these are the components of this
00:25:14
vector
00:25:15
okay now if i did this in
00:25:19
cylindrical coordinates
00:25:26
in cylindrical coordinates uh my cross
00:25:29
product will look like
00:25:31
look as follows take one over r
00:25:34
outside this integral outside the
00:25:38
uh the determinant
00:25:42
r times theta don't forget is r
00:25:45
e e z
00:25:48
partial of r partial of theta
00:25:54
partial of z then you have
00:25:57
a r r time e theta
00:26:01
part r times e z a z
00:26:04
sorry okay so you got several cases
00:26:07
depending on
00:26:08
the the coordinate system that we
00:26:11
actually working with
00:26:15
okay so
00:26:23
it should be obvious that
00:26:26
if you take the dot product of this will
00:26:29
not be equal to
00:26:31
eight a dot product of this
00:26:35
e also if i take this cross product of
00:26:38
a will not be the same as taking a
00:26:42
the cross product of delta okay those
00:26:45
are two different properties
00:26:47
and you get two different answers let's
00:26:49
apply some of the concepts to some
00:26:51
problems
00:26:52
and see how this actually pans out