The CFD, its stages and the benefits of developing your own code


Computational Fluid Dynamics (CFD) simulation is a process by which it is possible to know in a virtual and detailed way the behaviour of a fluid through any equipment. Since a multitude of physical parameters are evaluated throughout the volume control, the numerical complexity of the calculations that must be carried out by the software is quite high. For this reason, as a previous step to the numerical resolution, a CAD design and its meshing must be carried out.

The meshing of the computer-generated geometry consists of building a network of two-dimensional or three-dimensional elements structured in such a way that the equipment to be simulated is faithfully represented and that the subsequent calculation process is facilitated. For this, algorithms are usually used to control the generated mesh, so that specifications such as the size, type and arrangement of the elements that make up the network itself can be decided.

Since the simulation process is divided into these quite different parts, there is the possibility of using software that encompasses them or using a specific program for each one of them. The first option offers the advantage of easing the entire process in the same interface in a more intuitive and comfortable way, but it is usually limited when developing new communication functions between the different modules, and they tend to be more expensive. Choosing the second alternative allows you to develop your own code to connect the different programs in the way that interests you most. Opting for the use of specific software for each stage of the process offers greater versatility since it is possible to select the most suitable for each occasion. The negative point of this choice is the need to establish a good file system that does not complicate the organizational tasks within each project too much.

As an example of functionality in which creating your own code is beneficial, we can mention the use of one or another meshing software depending on the type of mesh that the equipment to simulate requires. Not all software can generate a specific type of mesh with the required quality, so limiting yourself to a single program can be very problematic. By generating a code that allows automating the meshing process, choosing the software according to the equipment, this problem is avoided.

Another example in which the use of internal code is highly effective is the performance of parametric studies. In addition to CAD design and meshing, the fluid dynamic solver itself requires a multitude of specifications that if they had to be defined manually for each study would complicate the task exponentially. Again, developing your own interfaces can greatly reduce the workload involved in the entire process, while reducing the chances of human error.

At DPO FLUID we use the software that best suits the needs of each client. For example, for acoustic applications we make use of specific FEM solvers in this field, while for projects related to turbomachines we use software designed exclusively for them. Thanks to the internal codes that we have developed, all these tools are communicated in an agile way with the CAD and mesh design programs, allowing us to alternate one or the other according to convenience.

If you find it interesting to learn more about what programs we use and if they can be useful to carry out a project with you, we will be happy to assist you. Our goal is for you to be more competitive today and always.

Share This
Abrir chat
Hola. Nuestro equipo está disponible para ti en cualquier momento. ¿En qué podemos ayudarte?