Hi Tanmay , i was searching for cfd videos from 1 week and suddenly i came across your channel. I literally like your way of teaching . Before watching your videos i was thinking the cfd with matlab is not my cup of tea .But your videos have cleared many of my doubts . Just a bid thanks for uploading such productive videos
You are an excellent teacher, those lessons are amazing, will you do some C++ applied to CFD in the future? Also i'm really looking forward to the course you do on Peric's book, thanks a lot.
Hi Tanmay, could you please explain when you're using '-' and when '='? It's confusing for me while practicing the code you're showing. But you're explanation is very impressive. I always struggled with CFD. Now I am hoping that I will be able to understand when I will complete the series. Thanks a lot man!
Most of the time, it should be =. The display resolution is creating that problem of squeezed symbols. I've shared the link to all my codes in a later video. The initial few videos are a bit confusing to exactly read my screen but it would be resolved in the videos you'll watch later.
Hello, the link in description for fluid mechanics course appears broken. Can you please give us a new link? Your videos are very good and I would like to learn fluid mechanics from a good teacher like you.
Dear Raghu, Since not many had joined the course, therefore I didn't put further efforts towards it. Also, for some reason, the website had pulled itself off, therefore you might not even see the webpage.
Hi Tanmay. Thanks for the great videos and easy explanations. I have one doubt here. The iterations that you are updating in the first for loop will basically increment for each value of y(i). That is if I divide my domain into 1000 parts, updating the 1000 y(i)s for the first time would cause the iterations to be 1000 after first loop. But is that what an iteration means? Like I would think 'one' iteration to be the combined task of updating all the y(i) values once. So I think the iteration should be incremented once for every loop of the while block. Please let me know if this is a correct line of thinking. Thanks again.
Hi Palash, You're right, great catch! One iteration is equivalent to updating the values of y at all the grid points. This mistake has been identified later in the videos and corrected accordingly. Tanmay
@@TanmayAgrawal7 Thanks for the reply! I would be glad to connect with you. I work on CFD with Boeing currently and would be willing to connect on LinkedIn if you are up. www.linkedin.com/in/palash-waghmare-81953a96 Cheers!
hello sir can you suggest me for solving a example 4.2 and example 5.1 using the MATLAB from the book An Introduction to Computational Fluid Dynamics THE FINITE VOLUME METHOD H K Versteeg and W Malalasekera
thank u tanmay for sharing your knowledge. the underscores and other symbols in matlab are not visible sometime. is it possible to see code as text file
Hi Tanmay, Great teaching. Love to learn Fundamentals of Fluid Mechanics. But given link seems not working. App gets installed but gets stuck on welcome page. Please upload videos on youtube or please make them available on some reliable platform. Thank you again.
Hi Vinayak! Thank you for your kind comments. I've started the same series here: th-cam.com/video/33Mhsnm78M0/w-d-xo.html Hopefully more videos would come out soon.
Personally,I haven't come across a textbook that deals specifically with unstructured meshes. The book by Versteeg presents some details on 2D unstructured mesh that you can find in the description.
Hi sir, What is the exact meaning of Domain size and it can be anything else than 1? If not possible explain via comment then if possible then you can provide some link of any video or any website which could be help, then it would be great. Thanks.
Hi Sarthak, Usually in CFD, domain is normalized (non-dimensionalized) - all length, velocity and time scales. So it is a common practice to have the NORMALIZED domain size as unity. However, it need not be if you are solving the equations in physical units.
Hi Tanmay The code you explained is not running. Could you rectify the problem? clear all close all clc n_points=5; dom_size=1; h=dom_size/(n_points-1); %% Initializing the problem y(1)=0; Y(n_points)=1; y_new(1)=0; y_new(n_points)=1; error_mag=1; error_req=0.0000001; iterations=0; %% calculations while error_mag>error_req for i=2:(n_points-1) y_new(i)=0.5.*(y(i-1)+y(i+1)); iterations=iterations+1; end error_mag=0; for i=2:(n_points-1) error_mag=error_mag+abs(y(i)-y_new(i)); end y=y_new;
Hi Tanmay , i was searching for cfd videos from 1 week and suddenly i came across your channel. I literally like your way of teaching . Before watching your videos i was thinking the cfd with matlab is not my cup of tea .But your videos have cleared many of my doubts . Just a bid thanks for uploading such productive videos
감사합니다.
Many thanks @Tanmay...learning a lot from your tutorials.
Well done Tanmay..
You are an excellent teacher, those lessons are amazing, will you do some C++ applied to CFD in the future? Also i'm really looking forward to the course you do on Peric's book, thanks a lot.
Hi Tanmay, could you please explain when you're using '-' and when '='? It's confusing for me while practicing the code you're showing. But you're explanation is very impressive. I always struggled with CFD. Now I am hoping that I will be able to understand when I will complete the series. Thanks a lot man!
Most of the time, it should be =. The display resolution is creating that problem of squeezed symbols. I've shared the link to all my codes in a later video. The initial few videos are a bit confusing to exactly read my screen but it would be resolved in the videos you'll watch later.
@@TanmayAgrawal7 Thanks a lot!
Hello, the link in description for fluid mechanics course appears broken. Can you please give us a new link? Your videos are very good and I would like to learn fluid mechanics from a good teacher like you.
Great Explanation...Thanks for the Video... Expecting the same advanced problem in this series
Hi Tanmay, due to the video low resolution, the code is not clearly visible. Can you please share the code?
you're a genius man. thanks a ton for this
i dont understand why the error ist ynew-y
Can you please provide some lectures on finite element method and associated coding with complex domain?
In this series, the focus would be on finite differences. I'll see if the time allows
Hi Sir,
I think the 'iterations=iterations+1' in the for loop will print wrong value of the iteration count.
It should be out of the loop.
Hi Tanmay great teaching, really appreciate your effort. Unable to access fundamentals of fluid mechanics link .
Dear Raghu,
Since not many had joined the course, therefore I didn't put further efforts towards it. Also, for some reason, the website had pulled itself off, therefore you might not even see the webpage.
Hi Tanmay. Thanks for the great videos and easy explanations. I have one doubt here. The iterations that you are updating in the first for loop will basically increment for each value of y(i). That is if I divide my domain into 1000 parts, updating the 1000 y(i)s for the first time would cause the iterations to be 1000 after first loop. But is that what an iteration means? Like I would think 'one' iteration to be the combined task of updating all the y(i) values once. So I think the iteration should be incremented once for every loop of the while block. Please let me know if this is a correct line of thinking.
Thanks again.
Hi Palash,
You're right, great catch! One iteration is equivalent to updating the values of y at all the grid points. This mistake has been identified later in the videos and corrected accordingly.
Tanmay
@@TanmayAgrawal7 Thanks for the reply! I would be glad to connect with you. I work on CFD with Boeing currently and would be willing to connect on LinkedIn if you are up.
www.linkedin.com/in/palash-waghmare-81953a96
Cheers!
Yo yo ...I am happy...I am learning... Yo yo 😎😎😎😎😍
I have one doubt in plotting. There is no direct relation between y and x_dom, then how did it plot y values for x_dom values?
Great vedio sir highly helpful for me
Hi . Many thanks for your great lecture. Just I am confused if it's the solution of 1D or 2D difussion equation?
This should be for 1D case. Although in future lectures, I think I have delivered content for 2D case as well.
hello sir
can you suggest me for solving a example 4.2 and example 5.1 using the MATLAB from the book
An Introduction
to Computational
Fluid Dynamics
THE FINITE VOLUME METHOD
H K Versteeg and W Malalasekera
thank u tanmay for sharing your knowledge. the underscores and other symbols in matlab are not visible sometime. is it possible to see code as text file
I've uploaded all these codes on GDrive. Can you access it?
@@TanmayAgrawal7 how to access these files on g drive
drive.google.com/folderview?id=1Hhoh8U2CsbPa4bTT8Vnlg3dM5G6KnUZ3
Thank u
Hi Tanmay,
Great teaching.
Love to learn Fundamentals of Fluid Mechanics. But given link seems not working. App gets installed but gets stuck on welcome page. Please upload videos on youtube or please make them available on some reliable platform.
Thank you again.
Hi Vinayak!
Thank you for your kind comments. I've started the same series here: th-cam.com/video/33Mhsnm78M0/w-d-xo.html
Hopefully more videos would come out soon.
@@TanmayAgrawal7 That's great. Thank you. God bless you
Hello Tanmay, I need help. I'm getting ans = 0.5 after doing run.
Sir how come the initial values are y(2,3,4) =0 yet still after so many iteration the exact answer is reached
Hello Tanmay, your videos are helpful but can you share the code so that I can compare with mine.
sir please can u help,me to find nusselt number and skin friction & matlab coding.
Is it possible do it even in C language?
sir i am using matlab 2020 version after putting the same code it is showing the error..
nice lecture. can you pls upload the matlab code .
Which book do you recommend for 3d fluid mechanics with unstructured meshes?
Personally,I haven't come across a textbook that deals specifically with unstructured meshes.
The book by Versteeg presents some details on 2D unstructured mesh that you can find in the description.
@@TanmayAgrawal7 thank you very much sir.
Hi sir, What is the exact meaning of Domain size and it can be anything else than 1? If not possible explain via comment then if possible then you can provide some link of any video or any website which could be help, then it would be great.
Thanks.
Hi Sarthak,
Usually in CFD, domain is normalized (non-dimensionalized) - all length, velocity and time scales. So it is a common practice to have the NORMALIZED domain size as unity. However, it need not be if you are solving the equations in physical units.
sir can u pls improve the quality of matlab interface screen
Thank you very much for the feedback. I'll work on it for the next video.
Hi Tanmay
The code you explained is not running. Could you rectify the problem?
clear all
close all
clc
n_points=5;
dom_size=1;
h=dom_size/(n_points-1);
%% Initializing the problem
y(1)=0;
Y(n_points)=1;
y_new(1)=0;
y_new(n_points)=1;
error_mag=1;
error_req=0.0000001;
iterations=0;
%% calculations
while error_mag>error_req
for i=2:(n_points-1)
y_new(i)=0.5.*(y(i-1)+y(i+1));
iterations=iterations+1;
end
error_mag=0;
for i=2:(n_points-1)
error_mag=error_mag+abs(y(i)-y_new(i));
end
y=y_new;
end
Hi,
You initialized capital Y instead of small y.
%% Initializing the problem
y(1)=0;
y(n_points)=1;
This would solve the problem.
Thank You
good!
I can't run pgm number of iterration is infini
why semi-colon is used?
not to run the code just at this line but the whole code
I am unable to execute the code. Could you share me the link of this code in G drive please.
I've shared the link to Google Drive in subsequent videos. You'll find it soon :)
please I can't run program please could you send me an example (thank you)
Instead of running the whole code at once, you're executing them part by part...Can we perform the same in OCTAVE?
I'm not entirely sure since I've barely used octave. But it can be tried :)
Thanks tanmay
Sir i have doubt, why we want to define new value
It's an optional process so that we are not overwriting the variables during calculations. It's very effective during debugging as well
How do you decide the error tolerance is 1e-7 ?. Is there any parameter?
No, it is upto you. Any number above your machine tolerance zero would be fine.
Can you please provide some lectures on finite element method and associated coding with complex domain?
Sorry, I'm not well versed with FEM.