The steps to follow in the development of a software applicable to the Computational Fluid Dynamics can be summarized in the following drawing:
This step comprises the knowledge of the behaviour of the system to study. This is applicable not only to Fluid Dynamics, but also to any physical system to study.
In the case of Fluid Dynamics, it comprises:
If the specification of any of these variables is not correctly set, it can lead to an error in the problem definition, and consequently not reaching the objectives (Erroneous evaluation of the fluid behaviour).
The second step in the process is the mathematical model of the problem, and it is related to the so-called discipline "System dynamics". The type of problem will classify the type of equation to solve: either algebraic or differential. In Fluid Dynamics, the equations to use are partial differential equations: Mass conservation equation, Momentum conservation equation, and Energy conservation equation (with the needed simplification for every type of flow and regime).
The third step comprises the discretization of the partial differential equations. This discretization can be applied to either spatial or time variables:
The fifth step is a pre-processor that is the component of the software in charge of modelling of the domain. This step comprises:
It is the component in charge of solving the problem form the inputs previously provided. The employed techniques in the resolution of the problem are Finite Differences Method (FDM), Finite Element Method (FEM), and spectral methods.
The post-processor is the component in charge of the presentation and processing of the results that come out from the solver. The main tasks of it are:
The verification establishes that the software satisfies the specifications of the inception model.
The validation establishes that the model implementation in its domain provides coherent information with the application model. Generally, the validation comprises the following tasks: