Good video! Can you make a video of this problem with a second and third order boundary condition in spherical coordinates? It would be an interesting approach for the heat conduction
Please help me sir I don't understand how to change the program, for example, the initial temperature of the rod is 25oC I'm working on my final project and need to know about it Thank you
In the matlab script the Array T is the temperature at nodes. T[0] is temperature at zeroth node... Initially temperature at all nodes is zero except at end nodes., Where it is 100. As time progresses the T is updated. For giving 25 deg as initial condition put T[2:end-1]=25 The above line should be added after the line, "T=zeros(1,nx) ;" in the script. ;
This equation models the physical phenomenon of diffusion, I mean spreading of a particular parameter (dependent variable) from higher concentration zones to lower concentration zone. Here I took an example of heat Diffusion,the parameter is temperature. We can also model diffusion of ink in water, then the parameter will be concentration of ink.
Thank you. This equation is a generalized 1D diffusion equation: (du/dt)=k* (d2u/dx2) Heat equation is also a Diffusion equation. So you can use the same Numerical Strategy as explained in this video. You need to modify the Matlab Script so that the initial conditions, Coefficient - "k" , and the end conditions are implemented as per the given data.
Very good video, the best I've seen on the topic, deserves more views!
Thank you.
Best video on the subject good job man
Awesome video! I was looking for a more general version with a source function g.
Good job 👍. Your script is perfect
Good video! Can you make a video of this problem with a second and third order boundary condition in spherical coordinates? It would be an interesting approach for the heat conduction
Please help me sir
I don't understand how to change the program, for example, the initial temperature of the rod is 25oC
I'm working on my final project and need to know about it
Thank you
Hey, did you get how to do it?
In the matlab script the Array T is the temperature at nodes. T[0] is temperature at zeroth node...
Initially temperature at all nodes is zero except at end nodes., Where it is 100. As time progresses the T is updated.
For giving 25 deg as initial condition put
T[2:end-1]=25
The above line should be added after the line, "T=zeros(1,nx) ;" in the script.
;
nice. how can I implement the same problem but on one end with neumann B.C dt/dx=0 at x=o
That's a nice video
Where we use the 1D diffusion eq on it application or for what purpose?
This equation models the physical phenomenon of diffusion, I mean spreading of a particular parameter (dependent variable) from higher concentration zones to lower concentration zone. Here I took an example of heat Diffusion,the parameter is temperature. We can also model diffusion of ink in water, then the parameter will be concentration of ink.
Good keep it up
How to solve the equation if it contains the source term as well?
The source term add Just one more line in the code
thanks ever so much it was nice script. but does it work for this du/dt=k, d2u/dx2
u(x,t=0)=h(1-(x/l)square)
u(x-l)-u(x=-l)-0
Thank you.
This equation is a generalized 1D diffusion equation: (du/dt)=k* (d2u/dx2)
Heat equation is also a Diffusion equation.
So you can use the same Numerical Strategy as explained in this video.
You need to modify the Matlab Script so that the initial conditions, Coefficient - "k" , and the end conditions are implemented as per the given data.
@@TheTechHans I send you an email can you respond pls. I did send it to the email address on RUclips.
how do I update the time step?
See 3:53
hello dear..do u paidwork ?
Yes I do work for pay. It depends on the kind of work, pay and time schedules.
Thanks sir, can you send me your mail please ?
@@TheTechHans are sure that's the right mail ?