Solve the heat equation PDE using the Implicit method in Python

  Рет қаралды 25,978

Shameel Abdulla

Shameel Abdulla

Күн бұрын

Пікірлер: 19
@leolasagne9418
@leolasagne9418 2 жыл бұрын
very nice, thank you! But isn't that the Implicit euler and not the crank-nicolson? en.wikipedia.org/wiki/Finite_difference_method
@shameelabdulla1491
@shameelabdulla1491 2 жыл бұрын
Thanks for pointing this out. Yes you are correct. I'll try to make the correction in my video. I'll work on the actual Crank Nicholson method at a later stage and post it.
@indribelu
@indribelu 2 жыл бұрын
@@shameelabdulla1491 Sir, has the video about the Nicolson Crank Meode been uploaded? I'm really waiting for your video, it's very useful and I really need to learn about it sir. Thank you
@indribelu
@indribelu 2 жыл бұрын
@Leo Lasagne sir, can you recommend a video about the nicolson crank method? I really need that. Thank you
@leolasagne9418
@leolasagne9418 2 жыл бұрын
@@indribelu sorry, sadly I don't know a Video.
@peterthomson1753
@peterthomson1753 Жыл бұрын
@@indribelu I assume you don't need this anymore, but the process fro Crank-Nickolson would be almost the same apart from the integrator solver being slightly different. You could probably google for notes on the crank nicholson solver and try changing the code yourself, this would be a great way to learn how to implement this for yourself.
@peterthomson1753
@peterthomson1753 Жыл бұрын
This is a great video. It makes the solution feel so simple, when my lecturers sometimes make it feel so hard. This will help me so much for my computational sciences revision and learning how to actually implement these solutions. Thank you!
@ngdnhtien
@ngdnhtien Жыл бұрын
For those who wonder, if one were to change the space discretization condition (dx), which would result in more (or less) grid points, simply change the multiplying factor of number of diagonal elements to, in this case, (T.shape[0]-2)*[1+2*factor] for axis 0; and sub-diagonal elements to (T.shape[0]-3)*[1+2*factor] for axis -1 and +1 when generating the A matrix. And thanks Shameel for the great video. The .copy() explanation was excellent. Was working on another problem the other day and messed up everything having no clues what was going on; now I realize it was me naively managing memory slots.
@wajahathussain2688
@wajahathussain2688 2 жыл бұрын
good job, but if the x range is 0 to 2 how we define boundary condition at 2
@shameelabdulla1491
@shameelabdulla1491 2 жыл бұрын
Since we are using the row index to refer to position, then the boundary conditions are defined at the start and end rows of the T matrix. So even in your case, it would be the same. The boundary condition at x=0 is set using T[ 0 , : ] (First row). And the boundary condition at x=2 is set using T[ -1 , : ] (Last row).
@TheDocsk8
@TheDocsk8 2 жыл бұрын
you are a fucking master....i love you man¡¡¡¡
@mustaphamus6767
@mustaphamus6767 2 жыл бұрын
Thanks for this course, i want to Ask u about -1 in boundary condition, what is thé meaning, Mus from algeria
@AJ-et3vf
@AJ-et3vf 2 жыл бұрын
Awesome video sir! Thank you!
@nedua2019
@nedua2019 2 жыл бұрын
very helpful. I have a related problem, is there a way to contact you please?
@camilorueda7235
@camilorueda7235 2 жыл бұрын
Un grande
@themater29
@themater29 2 жыл бұрын
Extremely helpful
@saltedpapaya4050
@saltedpapaya4050 2 жыл бұрын
can you share the reference? (the theory)
@yangli3932
@yangli3932 2 жыл бұрын
Awesome!
@YEEEEBOIIII6996
@YEEEEBOIIII6996 3 жыл бұрын
hello sir how do I contact you? I have more questions on similar topics do you have an email?
Solving Heat equation PDE using Explicit method in Python
15:38
Shameel Abdulla
Рет қаралды 50 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Introduction to Finite Difference Methods for Option Pricing
5:48
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 207 М.
Diffusion equation : finite difference method
21:21
Phase Field Modelling
Рет қаралды 11 М.
How to Remember Everything You Read
26:12
Justin Sung
Рет қаралды 3 МЛН
Solve 1-D heat equation (PDE) using finite difference and Crank Nicolson method in SCILAB
12:35
Practical HOPE (Experiments in physics)
Рет қаралды 14 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
PETSc Tutorial: Implicit 1D Heat Diffusion
26:31
Machine Learning & Simulation
Рет қаралды 3,7 М.
Python code Crank Nicolson Method for 1D Unsteady Heat Conduction
31:48
Pioneer of Success
Рет қаралды 3 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН