1
00:00:01,220 --> 00:00:08,930
Now what we are going to do is to solve the 2D burgers equation before we actually start solving it.

2
00:00:08,930 --> 00:00:15,620
Let's look a little bit on the equation and just understand the terms that we need to consider.

3
00:00:15,830 --> 00:00:19,040
Of course, this time the solution will be.

4
00:00:20,530 --> 00:00:23,770
The numerically finite difference, however.

5
00:00:25,300 --> 00:00:27,340
In later stages.

6
00:00:27,340 --> 00:00:30,760
We will solve the using pens.

7
00:00:30,760 --> 00:00:35,350
But first let's try deal with a 2D equation.

8
00:00:35,560 --> 00:00:40,780
So in here what we can see is we have two equations actually.

9
00:00:40,780 --> 00:00:49,270
The first one is du dt, which is basically the change, the temporal difference, the change of U in

10
00:00:49,270 --> 00:01:01,320
relation to temperature to sorry, the time and the other term is multiplied u d u d which is the spatial.

11
00:01:03,220 --> 00:01:13,030
Well, the spatial component in which you will change with x plus v, d, u d y, in which also u will

12
00:01:13,030 --> 00:01:14,440
change with y.

13
00:01:14,800 --> 00:01:22,600
So this is the first one is in the horizontal direction and the second equation is in the vertical direction.

14
00:01:22,600 --> 00:01:25,220
So we call it u v.

15
00:01:25,710 --> 00:01:32,380
Now, after that, we have new this one, which is the diffusion coefficient.

16
00:01:32,910 --> 00:01:35,460
The kinematic diffusion coefficient.

17
00:01:35,910 --> 00:01:44,910
The main thing like it's just shows how strong this diffusion or we can control how strong the diffusion

18
00:01:44,910 --> 00:01:48,030
is from this factor.

19
00:01:49,510 --> 00:01:54,410
And so after that we have it will be multiplied by a.

20
00:01:55,650 --> 00:02:01,110
The second derivative of U with X and the second derivative of U with Y.

21
00:02:01,140 --> 00:02:10,560
So basically, this is the the the U in the X direction, and the other one is the V, which is the

22
00:02:10,560 --> 00:02:12,780
velocity in the Y direction.

23
00:02:12,870 --> 00:02:15,450
And we can see it in here.

24
00:02:15,450 --> 00:02:23,490
Basically it's the same thing like DV become DV over dt du over d x become dv over d dx plus dv over

25
00:02:23,490 --> 00:02:23,850
dy.

26
00:02:23,880 --> 00:02:28,290
Just look into or like notice this u is still here.

27
00:02:28,290 --> 00:02:31,260
Become here and here is going to be the same.

28
00:02:31,260 --> 00:02:32,190
This is going to be same.

29
00:02:32,190 --> 00:02:35,280
The only thing will change is this component.

30
00:02:35,490 --> 00:02:39,510
And it goes like all the way.

31
00:02:39,510 --> 00:02:47,040
Basically the same thing in the end is everything will change with v over d, v over d.

32
00:02:47,160 --> 00:02:55,140
The diffusion coefficient Nu is considered to be like similar in both x and y direction.

33
00:02:55,140 --> 00:03:00,420
If we don't want to do that, we have to, you know, like we have a coefficient for this and coefficient

34
00:03:00,430 --> 00:03:00,810
for this.

35
00:03:01,030 --> 00:03:03,820
If this is the same then it will be we just put it here.

36
00:03:05,010 --> 00:03:11,970
Okay, so this is how the burgers equation are going to work and the components of the burgers equation.

37
00:03:11,970 --> 00:03:15,030
How can we make it into a code?

38
00:03:15,060 --> 00:03:21,270
So in order to do so, let's write a code related with burgers equations.

39
00:03:21,270 --> 00:03:23,640
We can start by writing.

40
00:03:23,670 --> 00:03:27,510
The name of this file is Burgers.

41
00:03:28,550 --> 00:03:31,370
Uh, 2D and Main.

42
00:03:31,370 --> 00:03:34,310
I like to call Main because it is always.

43
00:03:35,150 --> 00:03:36,570
Because I have many files.

44
00:03:36,570 --> 00:03:46,280
It's and it's kind of nice thing to have in programming main to know which is the main file.

45
00:03:46,550 --> 00:03:55,370
So import also like we call the now the first thing is we call the A libraries.

46
00:03:55,370 --> 00:03:56,780
We need numpy.

47
00:03:57,780 --> 00:04:01,890
As imp import.

48
00:04:02,690 --> 00:04:04,280
Matplot.

49
00:04:05,180 --> 00:04:05,900
Lip.

50
00:04:06,830 --> 00:04:14,580
Dot pyplot as plt import seaborn.

51
00:04:14,600 --> 00:04:18,320
Although I don't think we will use Seaborn anyway.

52
00:04:18,680 --> 00:04:20,230
It's nice.

53
00:04:21,450 --> 00:04:23,640
And shift enter.

54
00:04:24,120 --> 00:04:27,450
So after that, we need to start.

55
00:04:28,540 --> 00:04:33,310
Uh, well, the post-processing we need to set the problem that we have.

56
00:04:33,310 --> 00:04:42,560
And to do so, we have to consider a n t, which is the number of time step we can consider.

57
00:04:42,820 --> 00:04:52,750
N t equals 500 and x equals 51 and y equals 51.

58
00:04:53,370 --> 00:04:58,080
And C equals one.

59
00:04:59,510 --> 00:05:02,000
And she will be.

60
00:05:06,730 --> 00:05:08,320
I think it's.

61
00:05:08,350 --> 00:05:09,790
No, we don't need this.

62
00:05:10,240 --> 00:05:11,920
This is not needed.

63
00:05:12,220 --> 00:05:15,880
And u equals a point one.

64
00:05:16,490 --> 00:05:25,040
And d t equals because we don't have C, we have new the diffusive term and actually we're not really

65
00:05:25,040 --> 00:05:30,410
using two diffusion like in different directions.

66
00:05:30,410 --> 00:05:33,170
So this is why it's I got confused a little bit.

67
00:05:33,320 --> 00:05:41,450
So here we have in new is 0.1 and 0.001 for the time step.

68
00:05:41,750 --> 00:05:45,650
So this is going to be time step and this is 500.

69
00:05:45,650 --> 00:05:48,080
So 500 multiplied.

70
00:05:48,080 --> 00:05:51,620
This one, it will be well, just.

71
00:05:52,750 --> 00:05:54,850
A 0.5 second.

72
00:05:55,130 --> 00:05:56,060
0.5 second.

73
00:05:56,080 --> 00:05:56,290
Yeah.

74
00:05:56,290 --> 00:06:03,850
So so it will it's not so much time for this, but of course, this is kind of we're not really care

75
00:06:03,850 --> 00:06:06,970
about the dimensions, we're just numerically solving the things.

76
00:06:06,970 --> 00:06:13,240
But of course, when you deal with a real numerical problem, we have to be very careful about the dimensions

77
00:06:13,240 --> 00:06:16,330
and the common sense of what we are calculating.

78
00:06:16,330 --> 00:06:22,690
But as we learned the numerical things, it's okay, we just write something and we solve the equation.

79
00:06:23,530 --> 00:06:28,330
So D, x A and x minus one.

80
00:06:29,620 --> 00:06:38,680
Divided by two because our domain is going to be from 0 to 2, and in Y, it's going to be another from

81
00:06:38,680 --> 00:06:49,360
0 to 2 and again in X and Y minus one divided by the whole domain like length.

82
00:06:50,850 --> 00:06:52,530
And now X.

83
00:06:53,820 --> 00:06:58,880
We start, we will start making the domain we have.

84
00:06:58,890 --> 00:07:07,170
So the first thing is we need a Or we can just put it here like this and shift enter and then we start

85
00:07:07,170 --> 00:07:08,280
defining the domain.

86
00:07:08,280 --> 00:07:22,770
So np dot line space and from 0 to 2 and we have an x steps and x steps 51 means we have actually 50

87
00:07:23,040 --> 00:07:24,930
until 50 steps.

88
00:07:25,170 --> 00:07:29,820
So here we have the line step and equals.

89
00:07:30,480 --> 00:07:31,500
Here in.

90
00:07:33,080 --> 00:07:39,950
Dot line space also from 0 to 2 and in Y.

91
00:07:41,300 --> 00:07:41,700
Yep.

92
00:07:42,620 --> 00:07:43,460
So.

93
00:07:44,090 --> 00:07:45,530
This is a.

94
00:07:46,510 --> 00:07:57,310
Is just going to to make a basically a list, a list like this will show that will have these line spaces

95
00:07:57,310 --> 00:07:59,320
starting from 0 to 2.

96
00:07:59,560 --> 00:08:02,870
Now, what we need to do is we need to make a grid.

97
00:08:02,890 --> 00:08:11,380
So in order to to do that, like basically 51 by 51 a grid, we.

98
00:08:12,770 --> 00:08:14,870
This is going to be our grid.

99
00:08:15,790 --> 00:08:18,120
And we can initiate it.

100
00:08:18,720 --> 00:08:19,500
Zero.

101
00:08:20,860 --> 00:08:24,670
In X and in Y.

102
00:08:26,430 --> 00:08:30,330
Shift into an X0.

103
00:08:32,590 --> 00:08:33,070
Yeah.

104
00:08:33,610 --> 00:08:35,980
So now what we have is.

105
00:08:36,920 --> 00:08:47,750
A we have a 51 rows and every row will have 51 components so we can see this shape.

106
00:08:48,390 --> 00:08:49,410
Shape.

107
00:08:49,990 --> 00:08:51,190
Is 51 by 51.

108
00:08:51,190 --> 00:08:54,250
So now we have a rather than.

109
00:08:55,260 --> 00:08:57,960
Only like a line.

110
00:08:58,090 --> 00:09:00,600
In both cases we will have now a mesh.

111
00:09:01,140 --> 00:09:04,230
Of course, this is just a placeholder.

112
00:09:04,230 --> 00:09:05,190
It's not going.

113
00:09:05,190 --> 00:09:09,450
We didn't really populate it with actual numbers.

114
00:09:09,450 --> 00:09:13,620
Of course, it's the type of it is numpy array, as we already use numpy.

115
00:09:13,890 --> 00:09:18,810
So now what we need to do is we need to a placeholder for everything else.

116
00:09:19,200 --> 00:09:27,090
And the reason I'm doing this because we have to be careful when we are making the placeholders and

117
00:09:27,090 --> 00:09:28,620
when we are populating them.

118
00:09:29,010 --> 00:09:34,470
So here you in sorry, in X or in y.

119
00:09:34,470 --> 00:09:35,820
In x in no problem.

120
00:09:35,820 --> 00:09:37,380
Like we can we can do it.

121
00:09:37,470 --> 00:09:39,780
And here.

122
00:09:40,630 --> 00:09:45,520
Actually this one, the sign convention in this code is in Y in X.

123
00:09:45,640 --> 00:09:47,650
This is better in Y.

124
00:09:47,650 --> 00:09:47,980
In x.

125
00:09:47,980 --> 00:09:49,930
Anyway, it's not going to be different.

126
00:09:50,170 --> 00:09:52,960
They are the same, but just in case.

127
00:09:53,320 --> 00:09:54,730
So you.

128
00:09:56,400 --> 00:10:06,210
We initiated U and V, and this is the going to be the speed at the time step we are dealing with.

129
00:10:06,300 --> 00:10:13,560
But we need a placeholder for the time step one time step before because the method we are using is

130
00:10:13,560 --> 00:10:14,640
explicit method.

131
00:10:14,800 --> 00:10:17,430
We're actually calculating every time step.

132
00:10:17,430 --> 00:10:23,280
So we take the time step and we calculate the the next time step.

133
00:10:23,280 --> 00:10:30,570
The scheme is going to be central difference scheme and basically we will compute everything in terms

134
00:10:30,570 --> 00:10:36,560
of the previous time and we will update the solution for the next time step.

135
00:10:36,570 --> 00:10:43,290
So this is called a explicit.

136
00:10:43,590 --> 00:10:51,570
The other option is called implicit in which we consider the time is another vector and we solve all

137
00:10:51,570 --> 00:10:55,770
the time steps together by converging into, we call it implicit methods.

138
00:10:55,770 --> 00:11:00,430
It's another we have iterations that we need kind of like to reduce the loss.

139
00:11:00,580 --> 00:11:01,480
So.

140
00:11:02,230 --> 00:11:04,690
Yeah, this is basically what we are doing.

141
00:11:04,960 --> 00:11:06,440
What we are doing.

142
00:11:06,460 --> 00:11:08,620
Just just a side note.

143
00:11:08,800 --> 00:11:15,940
So u v u n which is the previous, um, space holder.

144
00:11:15,940 --> 00:11:18,910
We keep it here and.

145
00:11:19,650 --> 00:11:21,210
Also you.

146
00:11:23,250 --> 00:11:28,710
V in which is the previous space, is also here.

147
00:11:29,820 --> 00:11:32,730
F is going to be the actual.

148
00:11:32,730 --> 00:11:37,110
So this is the time step, the next time step or yeah, the next time step.

149
00:11:37,110 --> 00:11:43,380
This is the previous time step and it's or this is yeah this is the the current time step, the one

150
00:11:43,380 --> 00:11:53,010
we are calculating this is the one be be before it and this one is going to be the, the one in which

151
00:11:53,010 --> 00:11:55,860
we will save all our solutions.

152
00:11:55,860 --> 00:11:59,610
So again, zeros, but we need to consider the time.

153
00:11:59,610 --> 00:12:07,200
So we say NY and X, so this one we have in T and in T, I think we already identified it.

154
00:12:07,200 --> 00:12:08,040
500.

155
00:12:08,040 --> 00:12:09,000
Yes, this one.

156
00:12:09,000 --> 00:12:12,120
So yeah, this is the.

157
00:12:12,900 --> 00:12:19,890
Basically the the placeholder for the U and V, the solution at the end.

158
00:12:20,100 --> 00:12:26,430
Again burgers equation we need to solve u and v, we already have x and y and we need to solve u and

159
00:12:26,430 --> 00:12:26,570
v.

160
00:12:26,580 --> 00:12:29,850
So this is u v u.

161
00:12:30,000 --> 00:12:39,690
The previous time step and the basically the we save this the solution and then shift enter just a problem

162
00:12:39,690 --> 00:12:40,290
here zero.

163
00:12:40,300 --> 00:12:44,280
Sorry I always forget to put s.

164
00:12:45,280 --> 00:12:45,610
Now.

165
00:12:45,610 --> 00:12:48,220
It's okay if you want to see the shape.

166
00:12:48,250 --> 00:12:49,030
Of course.

167
00:12:49,030 --> 00:12:50,230
Shape.

168
00:12:50,230 --> 00:12:52,210
It will be 51 by 51.

169
00:12:52,210 --> 00:12:57,130
And this one, the placeholder, it will be a little bit bigger.

170
00:12:57,130 --> 00:13:00,880
Or like one dimension bigger, which is we will have 500.

171
00:13:00,880 --> 00:13:04,840
So it will be this array.

172
00:13:06,530 --> 00:13:08,750
So now.

173
00:13:09,970 --> 00:13:13,870
Pretty much we are defined our problem.

174
00:13:13,870 --> 00:13:18,640
But what we need to do is we need initial condition and boundary condition.

175
00:13:18,670 --> 00:13:25,000
Now, the boundary condition, we will keep updating the boundary, basically not allowing the solver

176
00:13:25,000 --> 00:13:30,670
to update the boundary points at when we are doing the solving loop.

177
00:13:30,670 --> 00:13:33,370
So this is where we are going to put the boundary condition.

178
00:13:33,370 --> 00:13:37,810
But what we can do now is to set the initial conditions.

179
00:13:37,810 --> 00:13:40,570
To do that, we start.

180
00:13:42,020 --> 00:13:43,490
A basically.

181
00:13:44,140 --> 00:13:45,220
We take.

182
00:13:45,860 --> 00:13:47,090
We need you.

183
00:13:47,140 --> 00:13:47,720
V.

184
00:13:49,540 --> 00:13:55,210
This one, which is the current time and we need.

185
00:13:57,820 --> 00:13:59,140
Even this one.

186
00:13:59,710 --> 00:14:01,750
So how we can initiate it?

187
00:14:01,750 --> 00:14:03,040
It's, um.

188
00:14:04,180 --> 00:14:05,950
Or let's start by.

189
00:14:07,440 --> 00:14:11,190
By first populating everything with ones.

190
00:14:11,340 --> 00:14:18,750
So the reason is what we need to do is we need, um, we need this.

191
00:14:18,930 --> 00:14:20,370
I'll just put it this.

192
00:14:20,370 --> 00:14:22,730
This is going to be our initial condition.

193
00:14:22,740 --> 00:14:24,630
It's the whole domain.

194
00:14:25,820 --> 00:14:33,800
Will be like this with all the domain will have a speed of one in you and one in V.

195
00:14:33,830 --> 00:14:38,960
However, we will have a little bit higher speed in here or not a little bit.

196
00:14:38,990 --> 00:14:40,500
We will put it as five.

197
00:14:40,520 --> 00:14:43,100
So here we will have five.

198
00:14:43,130 --> 00:14:45,860
So our domain will will basically look like this.

199
00:14:45,860 --> 00:14:47,150
Here is one.

200
00:14:47,240 --> 00:14:50,660
And of course, this is in you.

201
00:14:52,160 --> 00:14:53,150
I put it.

202
00:14:55,170 --> 00:14:55,710
You.

203
00:14:55,710 --> 00:15:01,020
All of this is the direction of speed is one, except this area.

204
00:15:01,020 --> 00:15:09,180
It will have a high speed, which is like a five.

205
00:15:09,920 --> 00:15:11,380
So this is what we are going to do.

206
00:15:11,390 --> 00:15:14,090
So the first thing is we will put everything is one.

207
00:15:14,180 --> 00:15:18,110
And to do so, we just put np.ones.

208
00:15:18,110 --> 00:15:24,200
So this is our current time and here we will put everything.

209
00:15:24,200 --> 00:15:27,290
So even all the time steps will be one.

210
00:15:27,950 --> 00:15:38,420
Or you can just put this one to be zero or just we populate specific like specific, uh, the just only

211
00:15:38,420 --> 00:15:40,250
the zero, the initial condition.

212
00:15:40,250 --> 00:15:46,010
But anyway, we will update everything and here it's, it's easier to do it like this, although we

213
00:15:46,010 --> 00:15:51,740
are rewriting this component, but it's not a problem.

214
00:15:51,740 --> 00:15:58,940
The reason I did like this is to show that there are we we always start with putting the place and later

215
00:15:58,940 --> 00:16:00,920
we have to identify the initial condition.

216
00:16:00,920 --> 00:16:09,080
So this is but of course, if you did like this, you just all of them ones you can put this and this

217
00:16:09,230 --> 00:16:10,740
ones from the beginning.

218
00:16:10,740 --> 00:16:14,160
But yeah, it's it's it's up to you.

219
00:16:14,160 --> 00:16:27,600
So the first thing is we put it everything is ones and what we need is we need to, we need to to have

220
00:16:27,900 --> 00:16:30,300
the you.

221
00:16:32,150 --> 00:16:33,770
From Integer.

222
00:16:35,890 --> 00:16:38,650
0.75 over.

223
00:16:39,550 --> 00:16:40,190
D.

224
00:16:41,860 --> 00:16:49,300
Basically the location is going to be from 0.7 5 to 1.1.

225
00:16:49,300 --> 00:16:50,380
.25.

226
00:16:50,560 --> 00:16:53,800
This is where the location of the high speed.

227
00:16:55,090 --> 00:16:56,950
And integer.

228
00:16:58,750 --> 00:17:01,480
1.25.

229
00:17:01,480 --> 00:17:10,030
We divide by D plus one because the way the python works, it will start from zero.

230
00:17:10,030 --> 00:17:19,900
So we need to accommodate this one and everything has to be of course, integer So all of this location.

231
00:17:22,420 --> 00:17:23,320
And.

232
00:17:24,120 --> 00:17:26,460
The same thing with.

233
00:17:27,360 --> 00:17:28,980
The other direction.

234
00:17:28,980 --> 00:17:32,430
So this is the X and this is the Y.

235
00:17:32,460 --> 00:17:35,640
What is going to be this one is going to be.

236
00:17:36,480 --> 00:17:37,360
A five.

237
00:17:38,410 --> 00:17:39,910
Same thing here.

238
00:17:43,090 --> 00:17:43,930
The.

239
00:17:44,880 --> 00:17:49,140
X, Y, and it's good.

240
00:17:50,070 --> 00:17:51,540
The last thing we need.

241
00:17:55,340 --> 00:17:55,970
And.

242
00:18:02,400 --> 00:18:02,940
But.

243
00:18:02,940 --> 00:18:03,450
Oh, sorry.

244
00:18:03,450 --> 00:18:04,320
We need here.

245
00:18:04,320 --> 00:18:06,240
We need to add only.

246
00:18:07,190 --> 00:18:07,820
Zero.

247
00:18:11,160 --> 00:18:12,300
And shift enter.

248
00:18:12,690 --> 00:18:18,690
So what we did is we first assign everything to be one.

249
00:18:18,810 --> 00:18:25,770
And then the initial condition, which is this is our current because we'll start calculating from the

250
00:18:25,770 --> 00:18:26,640
first one.

251
00:18:26,730 --> 00:18:30,840
We put it as like basically the initial condition.

252
00:18:30,840 --> 00:18:41,790
And here the computation for this thing, like for the, the placeholder for um, for our whole computation,

253
00:18:42,270 --> 00:18:50,010
we set it to be this much of course another way, like we don't really care because we will rewrite

254
00:18:50,010 --> 00:18:54,090
everything we can just put it like this or sorry, like.

255
00:18:54,090 --> 00:18:54,630
Like this.

256
00:18:54,630 --> 00:18:56,010
Like this.

257
00:18:56,010 --> 00:19:01,470
And it will work because we now overwrite everything all the solution to be initial condition.

258
00:19:01,470 --> 00:19:06,540
But as we said this one and will be updated later.

259
00:19:06,540 --> 00:19:08,290
So you do whatever you want.

260
00:19:08,310 --> 00:19:14,380
I will just put it in a simple way like zero, but it will work.

261
00:19:14,380 --> 00:19:15,970
Like wherever it is, it will.

262
00:19:15,970 --> 00:19:17,980
It will it will work just fine.

263
00:19:18,970 --> 00:19:21,370
Last, let's see our initial condition.

264
00:19:21,370 --> 00:19:28,510
So we just want to plot the thing x y equals numpy.

265
00:19:29,730 --> 00:19:32,550
Dot, mish mish.

266
00:19:35,790 --> 00:19:37,980
I just want to take some space here.

267
00:19:39,720 --> 00:19:41,190
Mish grid.

268
00:19:42,440 --> 00:19:43,250
Great.

269
00:19:43,280 --> 00:19:46,400
And we have X and Y.

270
00:19:46,970 --> 00:19:48,350
Just a little here.

271
00:19:51,920 --> 00:19:54,440
And plt dot.

272
00:19:55,380 --> 00:19:55,860
Figures.

273
00:19:55,860 --> 00:19:59,760
So this is just a little bit, um, boring thing.

274
00:19:59,760 --> 00:20:02,220
Like we just need to.

275
00:20:03,270 --> 00:20:03,960
The plot things.

276
00:20:03,960 --> 00:20:07,140
But anyway, like it's a course for all levels.

277
00:20:07,140 --> 00:20:08,550
So please.

278
00:20:09,840 --> 00:20:16,650
Consider some other people might find it easier to actually we explain everything.

279
00:20:17,400 --> 00:20:19,650
So we have the contour.

280
00:20:21,220 --> 00:20:25,000
Contour equals plt dot.

281
00:20:27,710 --> 00:20:28,640
Contour.

282
00:20:30,160 --> 00:20:30,790
If.

283
00:20:31,610 --> 00:20:32,360
X.

284
00:20:33,480 --> 00:20:34,230
Why?

285
00:20:35,140 --> 00:20:36,100
And.

286
00:20:37,360 --> 00:20:38,080
You.

287
00:20:38,080 --> 00:20:38,890
Everything.

288
00:20:39,220 --> 00:20:40,060
Everything.

289
00:20:41,200 --> 00:20:49,900
A map is, of course, many ways to show the the numbers or like the colors.

290
00:20:51,000 --> 00:20:51,450
Peel.

291
00:20:52,140 --> 00:20:52,860
This is Jet.

292
00:20:52,890 --> 00:20:53,970
It is the one.

293
00:20:53,970 --> 00:20:57,450
We usually like it as engineers.

294
00:20:58,440 --> 00:21:00,510
PLT title.

295
00:21:01,780 --> 00:21:02,410
The scientists.

296
00:21:02,410 --> 00:21:05,860
Of course you solution.

297
00:21:07,740 --> 00:21:09,110
Plot X.

298
00:21:10,190 --> 00:21:11,060
Label.

299
00:21:12,480 --> 00:21:17,700
And this is going to be X and Y label will be Y.

300
00:21:22,150 --> 00:21:24,580
Just we add lasting.

301
00:21:26,210 --> 00:21:30,680
Colors bar equals BLT.

302
00:21:30,710 --> 00:21:32,090
We need to add the legend.

303
00:21:33,090 --> 00:21:35,160
Colour bar.

304
00:21:38,310 --> 00:21:38,820
Gunter.

305
00:21:40,920 --> 00:21:41,580
This code.

306
00:21:41,580 --> 00:21:44,760
Last code is just to add the legend.

307
00:21:46,100 --> 00:21:46,850
Label.

308
00:21:51,990 --> 00:21:53,610
I don't know where we call it.

309
00:21:54,630 --> 00:21:57,060
You skill.

310
00:21:59,190 --> 00:22:00,970
Contours, Matlab.

311
00:22:22,520 --> 00:22:23,420
Colors.

312
00:22:26,010 --> 00:22:26,760
Another buck.

313
00:22:30,010 --> 00:22:30,520
Okay.

314
00:22:30,520 --> 00:22:32,410
So this is.

315
00:22:32,410 --> 00:22:33,400
You have it.

316
00:22:33,430 --> 00:22:37,060
Everything is here is one you can see here.

317
00:22:37,060 --> 00:22:42,420
And this area is going to be the high speed part.

318
00:22:42,430 --> 00:22:45,160
So you is going to be five.

319
00:22:46,260 --> 00:22:48,630
Same thing to do to see the.

320
00:22:48,810 --> 00:22:50,880
Of course, this is only with you.

321
00:22:50,910 --> 00:22:59,550
What we need also to see is the V, so we just change V here and just write it nicely.

322
00:22:59,550 --> 00:23:06,570
V Here your solution becomes v solution small little v we used and.

323
00:23:07,520 --> 00:23:11,600
So you this is better use Molotov just to be.

324
00:23:13,960 --> 00:23:21,760
And this is you scale, this is you and this is now the scale and this is the solution.

325
00:23:21,760 --> 00:23:25,840
So this is the the direction.

326
00:23:25,840 --> 00:23:32,650
So the of course, the speed means like it will go in the X direction one and Y direction one.

327
00:23:32,680 --> 00:23:36,100
That means the the total velocity will go like this.

328
00:23:36,130 --> 00:23:42,370
Of course, if you want to just you calculate the velocity from this from these two components.

329
00:23:42,610 --> 00:23:56,770
So this way we already finished the first part of our class, which is mainly writing post-processing

330
00:23:56,770 --> 00:24:02,350
the 2D burgers equation and next step we need to solve it.

331
00:24:02,350 --> 00:24:05,860
And after that of course, the post-processing part.
