Growing interest in improving the performance of vehicles is a subject that allows for continuous research. One such branch of these researchers is energy and consumption performance. These performances describe, on a global level, the need for lower fuel consumption but also a higher energy and power performance. Therefore, to create this balance, direct control of polluting emissions, especially C02 emissions, is necessary. Creating the best mix between low fuel consumption, maximum power of internal combustion engine and low pollutant emissions is influenced by many factors. One such factor, of prime importance, is represented by the aerodynamics of vehicle, in particular the aerodynamic performance, which needs to be tested to be confirmed, so numerical values are needed. Therefore, different ways of testing in the physical or virtual environment are necessary. To facilitate the optimization of a vehicle from an aerodynamic point of view, the most practical way is the virtual wind tunnel, given the possibility to test, at the same time, more configurations. But the CFD (Computational Fluid Dynamics) simulations, sometimes, have the disadvantage of very long compilation times. So, in the presented paper the construction of an optimal virtual wind tunnel for trucks will be presented, focusing on the test area (chamber) and several configurations will be presented such as: different proximity of the tunnel walls to the tested object so a different geometry of the test chamber and condition for the type of floor with different roughness than base case to simulate a more realistic road surface. Following the CFD simulations, it was observed the influence that increasing the dimensions of the test chamber has on the results obtained, so that moving the walls away from the test model generates much more realistic results. In addition, another thing that has an impact is the roughness of the floor, which, in this particular case, generate a 10% difference between the values obtained. Therefore, it will be possible to optimize the tunnel as best as possible to have results as close as possible to reality and in a reduced time.