Basic aspects of discretization
From CFD-Wiki
(Difference between revisions)
(Created page with "The general idea behind discretization is to break an area into a mesh, and then replace derivatives with difference quotients. f'(x)=(f(x+1)-f(x))/(x(i+1)-x(i))") |
Adityakashi (Talk | contribs) (I have added some structure to the page and linked to the section on finite differences. I will add more soon.) |
||
Line 1: | Line 1: | ||
- | + | There are various methods of discretization, which can broadly be classified into mesh (grid) methods and mesh-free methods. Currently (as of 2014), mainly mesh methods are being used. | |
- | f'( | + | ==Mesh Methods== |
+ | |||
+ | These methods involve two steps: | ||
+ | # Meshing - divide the region ("domain") into smaller regions. These smaller regions may be triangles and rectangles (in 2D) and tetrahedrons, hexahedrons (in 3D) and other types of geometric entities. The vertices of these geometric entities are called nodes. | ||
+ | # Discretization of the governing equations over the mesh | ||
+ | |||
+ | ===Finite Differences=== | ||
+ | The general idea behind discretization is to break a domain into a mesh, and then replace derivatives in the governing equation with difference quotients. There are several ways in which this can be done - the most prominent being forward difference, backward difference and central difference. | ||
+ | |||
+ | To give an example, in the forward difference scheme, derivatives are approximated as follows. | ||
+ | <math> f'(x_i)= \frac{f(x_{i+1})-f(x_i)}{x_{i+1}-x_i} </math> where subscripts are node indices of the mesh. | ||
+ | |||
+ | The article on finite difference method is [[Finite Difference|here]]. | ||
+ | |||
+ | ===Finite Volumes=== | ||
+ | |||
+ | ===Finite Elements=== |
Revision as of 04:27, 21 May 2014
There are various methods of discretization, which can broadly be classified into mesh (grid) methods and mesh-free methods. Currently (as of 2014), mainly mesh methods are being used.
Contents |
Mesh Methods
These methods involve two steps:
- Meshing - divide the region ("domain") into smaller regions. These smaller regions may be triangles and rectangles (in 2D) and tetrahedrons, hexahedrons (in 3D) and other types of geometric entities. The vertices of these geometric entities are called nodes.
- Discretization of the governing equations over the mesh
Finite Differences
The general idea behind discretization is to break a domain into a mesh, and then replace derivatives in the governing equation with difference quotients. There are several ways in which this can be done - the most prominent being forward difference, backward difference and central difference.
To give an example, in the forward difference scheme, derivatives are approximated as follows. where subscripts are node indices of the mesh.
The article on finite difference method is here.