Finite Differences in Python | Intro to Spyder | Lecture 3 | Simulating Fluid Flows Using Python
HTML-код
- Опубликовано: 11 сен 2024
- In this lecture, we will learn about the GUI of Anaconda and Spyder along with understanding how to define variables in a Python environment. The lecture would conclude with the estimation of first derivative using finite differences.
Suggested readings:
An Introduction to Computational Fluid Dynamics: The Finite Volume Method: Highly recommended for this course.
amzn.to/3oRJov2
PS: Excellent discussion on turbulence!
Numerical Heat Transfer and Fluid Flow: Excellent book oriented towards a physical understanding of various concepts.
amzn.to/3jTMdYC
PS: The author invented SIMPLE method :)
Chapters:
00:01 - Lecture outline
01:36 - Introduction to Anaconda and Spyder
06:34 - Variable definition using NumPy
15:53 - Python script for first derivative
I am so glad that you have produced this series of tutorials. One thing that could be improved is keeping the focus of your entries clearly above the controls of the player at the bottom of the view port, e.g. closer to the center of the viewing window. It was very difficult for me to see what you had typed for the central difference because it was obscured by the progress line. Thank you.
Thanks for pointing it out! Will keep in mind.
Nice, as always =)
great content
champion bro
Dear Tanmay, why you have not considered x_0 as float64(x_0)
Sir why do we not using jupiter notebook? for writting code. Is their any technical limitations of Jupiternotebook?
You can use that, there's no issue. I use Spyder because of its close resemblance with matlab, so it makes easier for me to understand as well as explain using this
sir please send the anaconda downloading link
Bro, can we simply write h=0.25, what is need of writing np.float64(0.25) ?
Writing the second way just assures that things are consistent and we have more control over what is getting in the code.
@@TanmayAgrawal7 thank you, Tanmay !