Introduction to Computational Fluid Dynamics

17. Introduction to Computational Fluid Dynamics#

17.1. Simulating Fluid Flows Using Python#

\[\begin{split} \begin{aligned} f\left(x_0+h\right)&= f\left(x_0\right)+ hf^{\prime}\left(x_0\right)+ \frac{h^2}{2!}f^{\prime\prime}\left(x_0\right)+ \cdots+ \frac{h^n}{n!}f^{\left(n\right)}\left(x_0\right)+ \cdots\\ f\left(x_0-h\right)&= f\left(x_0\right)- hf^{\prime}\left(x_0\right)+ \frac{h^2}{2!}f^{\prime\prime}\left(x_0\right)- \cdots+ {\left(-1\right)}^{n} \frac{h^n}{n!}f^{\left(n\right)}\left(x_0\right)+ \cdots \end{aligned} \end{split}\]