I am very impressed with your explanation. It is really helpful for all the students. I have one question. How to write a code to draw the graph for the changes in the temperature of the specific node depending on the time variation? For example, a graph of nodes T(15,32) whose x-axis is the time and y-axis is the temperature.
Thank you for your kind words. You have to form an array for T(15,32) inside loop of k=1:timesteps to store value of the specific node for each iteration. Then at the end use plot command. for (k=1:timesteps) Tn(k)= T(15,32); end plot(dt:dt:time,Tn)
@@shehzaibyk I am very impressed with your explanation. I have a question are these equation also applied to materials with default and thank you in advance sir.
Sir, I feel a little bit confused for the boundary condition in FVM in the video 9:44, I have been reading the book 《Numerical Methods for PDE_ FDM and FVM》, the boudary condtion derived from the Taylor's series is not dx/2, the author write that this assumption make the accuracy of boundary condtion different from the central volume.
For different cell sizes the value of delta_x varies. I have formulated my problem where I substituted delta_x keeping it related to the grid size. I didn't change anything in the discretized equation.
Hello, can I send a explicit formulation that I did for a node that includes both convection and insulation boundary condition? Im not sure if it is true. Thanks
Shouldn't there be only three fluxes for boundary walls 10:06..forexample for left wall there will be no flux coming from left. In code while referring to left bottom corner you used if (i==1) && (j==1) shouldn't it be (i==Ny) && (j==1)
Dear Sir, Your Matlab Code is really helpful ,but i have one project where i have to solve same type of FVM problem in System of 1st Order ODE rather than Algebraic Eqns . Could you kindly help how to do matlab code for ODEs ?
Kindly shehzaib reply me I asking about 2D fvm .. many apki coding likhi ha lkinn wo run nii ho reh error arah ha invalid statement ka ap reply kr dain kindly
Dear sir wonderful
I am very impressed with your explanation. It is really helpful for all the students. I have one question. How to write a code to draw the graph for the changes in the temperature of the specific node depending on the time variation? For example, a graph of nodes T(15,32) whose x-axis is the time and y-axis is the temperature.
Thank you for your kind words. You have to form an array for T(15,32) inside loop of k=1:timesteps to store value of the specific node for each iteration.
Then at the end use plot command.
for (k=1:timesteps)
Tn(k)= T(15,32);
end
plot(dt:dt:time,Tn)
@@shehzaibykI really appreciate your kind answer!!! As your fan, I look forward to uploading your class next time. Thank you.
Dear sir, i appriciate a lot your videos⚘.thanks you so much.
I have a question please, can i calculate the flux after running my code?
Yes you can calculate from the temperature values.
@@shehzaibyk if i have Tdown=18 Tup=20
Tleft=30 Tright =50
For the matlab code when i put the initiale conditio.
What should i put for Tinitial
Thanks
Welcome
@@shehzaibyk I am very impressed with your explanation. I have a question are these equation also applied to materials with default and thank you in advance sir.
@@brahimaddou1219 Yes but material properties are defined accordingly.
Sir, I feel a little bit confused for the boundary condition in FVM in the video 9:44, I have been reading the book 《Numerical Methods for PDE_ FDM and FVM》, the boudary condtion derived from the Taylor's series is not dx/2, the author write that this assumption make the accuracy of boundary condtion different from the central volume.
For different cell sizes the value of delta_x varies. I have formulated my problem where I substituted delta_x keeping it related to the grid size. I didn't change anything in the discretized equation.
Hello do you have any video for the same concept with implicit method or what can be done to implement implicit method ?
Yes there is, check my other videos.
FVM Implicit: ua-cam.com/video/bTmj1oxIBWs/v-deo.html
Hello, can I send a explicit formulation that I did for a node that includes both convection and insulation boundary condition? Im not sure if it is true.
Thanks
Sure send it to shehzaibyousufkhan@gmail.com
Shouldn't there be only three fluxes for boundary walls 10:06..forexample for left wall there will be no flux coming from left.
In code while referring to left bottom corner you used
if (i==1) && (j==1) shouldn't it be (i==Ny) && (j==1)
i==1 means left
j==1 means bottom
i==Nx means right
j==Ny means top
Dear Sir,
Your Matlab Code is really helpful ,but i have one project where i have to solve same type of FVM problem in System of 1st Order ODE rather than Algebraic Eqns .
Could you kindly help how to do matlab code for ODEs ?
Kindly share your problem of the 1st order ODE at shehzaibyousufkhan@gmail.com
Kindly shehzaib reply me I asking about 2D fvm .. many apki coding likhi ha lkinn wo run nii ho reh error arah ha invalid statement ka ap reply kr dain kindly
Check karen statement konse line me error aa raha hai shayad kuch missing ho
Dear Sir, please can you also give a Code for 2-D water hammer flow
Please provide the problem description to my email address.
@@shehzaibyk Please Sir, i cant retrieve your email address. can you provide it to me here please