Thank you very much for this video. I learnt alot.
@ТимофейЧерников-щ2х
2 жыл бұрын
Nice. But it's more efficient to calculate next timestep using numpy, not for loops. But for a beginner it's easier to understand that way i guess
@Shreendg
Жыл бұрын
Using np.vectorize()?
@boy-sb4ef
3 ай бұрын
Hey, I had a small doubt, what if I want to apply the neumann condition at boundary, how will we apply that method
@donharrold1375
Жыл бұрын
Nice video Shameel. Looks quite like MatLab? Syntax is a bit more complicated looking but it looks like it does the same stuff?
@AJ-et3vf
2 жыл бұрын
Great video sir! Thank you!
@suriyaas4877
Жыл бұрын
Very Helpful!! Thank You
@Yash-zq8zr
Жыл бұрын
Thanks Shameel Bhai !!
@dioutoroo
6 ай бұрын
Thank you for the video!
@neranjanranaweera7411
2 жыл бұрын
Thanks a lot for this wonderful video
@Kwes09
Жыл бұрын
Could you do a video on solving the 2D heat diffusion equation? Thank you.
@edgarromeroherrera2886
11 ай бұрын
Gorgeous, thank man.
@sumankumarnayak2197
Жыл бұрын
Thank you so much sir. Great video.😊
@tahirdhool6198
Жыл бұрын
Brother what editing interface of python you are using in this video? I use IDLE but this looks more practical. Please tell me the name.
@Tommybotham
10 ай бұрын
Thank you for the video.
@compphysgeek
2 жыл бұрын
nice video. I like your coding style. A lot cleaner than mine :D
@tameraydogdu7015
Жыл бұрын
originally, factor should be equal =(nü*k)/h**2 ? (nü is thermal diffusivity) in this application we take nü = 1 right? thank u
@soumendey1889
10 ай бұрын
Thank you sir 🙏🙂
@smegala3815
Жыл бұрын
Thank you sir
@anjubedwal4065
2 жыл бұрын
Thankyou so much
@sachinrajpandey5242
Жыл бұрын
Is it possible to share your code, mine stuck at some places, also implicit and Crank Nicolson are same but you made separate videos of it? Can you please differentiate between explicit, implicit and Crank Nicolson methods?
@st3754
9 ай бұрын
sir, why did you take [-1, : ] for the boundary condition at the last point, it didn't make sense to me, can u please explain.
@st3754
9 ай бұрын
at 5:02
@luzzyrogue
2 жыл бұрын
Hello. I have asked the same fella a question with no response till today. What if the initial condition is different value as boundary condition. Take for example your initial condition function to be np.cos(pi*x), which gives 1 at 0. what would we take in solving?
@shameelabdulla1491
2 жыл бұрын
Then your boundary condition should be 1 at t=0 as well for the problem to be properly defined. The example I show here is for a simple case of constant boundary condition (infinite source or sink). This is called essential boundary conditions. You could also have natural boundary condition such as an end node with convective heat loss.
@ghufranullahkhan7479
2 жыл бұрын
Kindly make a video on 2D stress analysis of beam using FEM.
@nicolass3293
2 жыл бұрын
hi i tried to adapt it in order to solve my own problem, the thing is everything goes right when i have a curve made out of 5 points, but when i change the h step, it starts diverging, cansomeone help me pls? if not it's no problem but i just wanted a smoother curve
@shameelabdulla1491
2 жыл бұрын
The ratio of step size in the x direction (h) and in time (k) is important for stability. I didn't mention it clearly in the video. For stability you need to satisfy (1-2*factor)>=0. And the factor is k/h^2. So if you change h, you need to change k to make sure you satisfy the inequality equation mentioned above.
@nurlybekmardanov5486
2 жыл бұрын
Hello, Thank you for the video. Could you please tell how you write text, formulas and graph in notebook at the begining of the video or make tutorial how to do it?
@RG-wd2hl
Жыл бұрын
MERCI
@Ms0a9
2 жыл бұрын
I keep getting "ValueError: setting an array element with a sequence." when i try to execute de code, what should I do?
@shameelabdulla1491
2 жыл бұрын
This usually means you are trying to fit a list of values into a position that only takes one value. Remember that the loop is only calculating one value at a time, and placing it in the T matrix. Debug your code by printing the calculated value. Make sure it is not a list of values.
@pasha6098
10 ай бұрын
Many thanks for this tutorial. I need the presented file. Would you share it, please?
@0xbinarylol
2 жыл бұрын
Everything goes wrong when you change boundary condition to non zero value boundary value at left goes replaced by initial condition. Is this right or wrong.
@shameelabdulla1491
2 жыл бұрын
I think your boundary conditions and initial conditions need to be compatible. You can have non-zero boundary conditions at t=0. But then your initial conditions should reflect the same at x=0, and x=L.
@rajinfootonchuriquen
Жыл бұрын
Sines are the solution for periodic condition T(0,t)=T(L,t)=0 For non-zero boundary condition that are periodic, your function should be a constant plus a sine function. If you choose T(0,t)=T(L,t)=2 Then your initial function should be 2 + sin(x*pi\L) for example
@0xbinarylol
Жыл бұрын
@@rajinfootonchuriquen je baat
@0xbinarylol
Жыл бұрын
@@rajinfootonchuriquen and thank you
@mathematicslessonsandtutor8006
2 жыл бұрын
What of the case when the heat equation is non homogeneous? That is, the RHS is different from zero
@shameelabdulla1491
2 жыл бұрын
If it is non-homogenous, then the derivation will change. And the additional terms should show up in your index equation T[i,j]. If the boundary conditions are time-dependent, then they must be placed inside the first loop (index j for time) to be recalculated every iteration.
Пікірлер: 41