Meshing#
It’s very common to represent bodies and geometries in CFD. To simulate a building, a car or a cylinder the geometry of the object must be represented in the domain. The mesh is the representation of the geometry in the simulation domain, and the process to transform the geometry to mesh is called meshing.
For other methods, such as FVM, the meshing process is quite difficult, requiring some heuristics and many tries. This is due to the formulation of the method and how geometry and fluid nodes interact.
For LBM this process tends to be a lot simpler. The domain is a cartesian grid, which is simple to construct and represent, and the geometry is represented by a series of points in the domain (no need to coincide with the cartasian grid). The meshing process transforms the geometry in this series of points, the mesh.
Some aspects, such as the area and distance of these points and how they’re discretized from geometry are important for the simulation. But the process is much easier and faster than the ones for meshing in traditional solvers.
In the next sections it’ll be described how to generate a good quality mesh and how the meshing is done.