Yes, there is a mathematical proof that why s should be less than half, but it is hard to explain in comment, maybe I can explain in the beginning of next video
@@abolfazlmahmoodpoor_ That would be great! I really want to know the idea behind it. Thank you so much for the response. Your videos are amazing! They saved my days!
Hello teacher! Let's say I had the initial condition UN(x,0)=25°C with boundary conditions non-homogeneous: UN(L,t)=500°C and UN(0,t)=100°C. How would I define this in the program? If I do: UN=zeros(nx,nt); UN(:,1)=25; UN(1,:)=100; UN(end,:)=500; Would it be correct? I need this for a university program
@@abolfazlmahmoodpoor_ tic clc clear all nx=100; #pontos na malha de espaço nt=500; #pontos na malha de tempo alfa=17.094*10^-6; L=0.5; #final da barra tf=50; #tempo final t0=0; #tempo incial L0=0; #inicio da barra
@@toufeeqsiddique7520 It's possible to solve with other method like finite element method, but in any nonlinear case you should linearize the equation some how.
Hello sir i want to descritize équation of mass transfert called solution-diffusion with finite différence method J=- A∆C this for soluté transport J=-B(∆p-∆π) this for solvent transport( water)
In one sense it is one dimensional in space, you are absolutely right, if we consider time as another dimension, it is two dimensional, just two variables, one space another time
Shiva, It is too complicated to explain in a comment :D, try to simplify problem for yourself. It depends on boundary and initial conditions. You can solve it even analytically. I will try to make a video about it
In order to find error you need to have analytical solution, if you don't have it, you should know every thing about parameters and conditions that reduce calculation's error. Honestly I didn't saw this equation. But in future I will try to provide a video on this topic.
I''m really thankful for all of your videos. very nicely explained everything. please upload more videos
Nice work. But I am confused as I think the x and y axis should be swaped with each other and it would also make more sense
Thanks sir, got same question today in assignment :)
Can you say something about Allen Cheng scheme? And about flux boundary conditions, when derivatives is used?
Welcome back bro
Thank you so much for the video. If possible, could you explain why when s
Yes, there is a mathematical proof that why s should be less than half, but it is hard to explain in comment, maybe I can explain in the beginning of next video
@@abolfazlmahmoodpoor_ That would be great! I really want to know the idea behind it. Thank you so much for the response. Your videos are amazing! They saved my days!
@@wcaleb5891 check this out please t.me/Abolfazl_Mahmoodooor
Excellent 👍👍
thank you so much
sir, how to solve 1d transient heat conduction problem having non-dimenssionlized GE. ?
Very interesting
Can you explain for Roshental's equation in matlab sir? thanks
Hello teacher! Let's say I had the initial condition UN(x,0)=25°C with boundary conditions non-homogeneous: UN(L,t)=500°C and UN(0,t)=100°C. How would I define this in the program? If I do:
UN=zeros(nx,nt);
UN(:,1)=25;
UN(1,:)=100;
UN(end,:)=500;
Would it be correct? I need this for a university program
I think yes, these definitions for BCs and IC are true
@@abolfazlmahmoodpoor_
tic
clc
clear all
nx=100; #pontos na malha de espaço
nt=500; #pontos na malha de tempo
alfa=17.094*10^-6;
L=0.5; #final da barra
tf=50; #tempo final
t0=0; #tempo incial
L0=0; #inicio da barra
dx=(L-L0)/(nx-1);
dt=(tf-t0)/(nt-1);
#FO
Respect sir were you not used boundary conditions in the numerical solution?
As I remember I used
Hi ,,
How to solve the same equation if there's a term infront of Uxx( right hand sight of the equation) like = C^a ?
If C^a is known just insert the value of C^a at each point of mesh grid to calculations.
@@abolfazlmahmoodpoor_ does C^a make the equation nonlinear?
@@toufeeqsiddique7520 If C^a is linear no, if it is so, yes. Moreover, try to make your PDE in dimensionless form to avoid numerical instability.
@@abolfazlmahmoodpoor_ so the basis to solve this equation in finite difference method for both linear and nonlinear is same?
@@toufeeqsiddique7520 It's possible to solve with other method like finite element method, but in any nonlinear case you should linearize the equation some how.
Hello sir i want to descritize équation of mass transfert called solution-diffusion with finite différence method
J=- A∆C this for soluté transport
J=-B(∆p-∆π) this for solvent transport( water)
can u solve this equation using implicit method and crank nicolson method
Hi, I have a question is the crank nicolson scheme has the same step?
Actually, I am trying to solve heat equation by using Crank nicolson method and I need your support
Best Regards
In crank- nicolson scheme qurant number (s factor in video) could be one and the code will be stable.
سلام عالیه
Thank you, kindly do thet of 3d.
How would we solve the same problem using backward difference instead ?
You need to solve a system of algebric equations, usually through the Gauss-Seidel Method.
Sir it is one dimensional heat equations
In one sense it is one dimensional in space, you are absolutely right, if we consider time as another dimension, it is two dimensional, just two variables, one space another time
what to do if we want to do for 2d unsteady?
with x , y,and t
Shiva, It is too complicated to explain in a comment :D, try to simplify problem for yourself. It depends on boundary and initial conditions. You can solve it even analytically. I will try to make a video about it
@@abolfazlmahmoodpoor_ thanks
Welcom
Need Fokker Planck equation solution finite difference and how to find errors geometrical and graphical
In order to find error you need to have analytical solution, if you don't have it, you should know every thing about parameters and conditions that reduce calculation's error. Honestly I didn't saw this equation. But in future I will try to provide a video on this topic.