This work is devoted to the application of a generalized computational experiment for a comparative assessment of numerical methods accuracy. A generalized computational experiment allows one to obtain a numerical solution for a class of problems determined by the ranges of defining parameters variation. The applications of such approach in the presence of a reference solution and in its absence are discussed. An example of error surfaces constructing is given when the solvers of the OpenFOAM software package are compared. The classic inviscid problem of oblique shock wave is used as a basic task. Variations of the key parameters of the problemthe Mach number and angle of attackare considered. In addition to the OpenFOAM solvers, the comparison included the WW method, which has a second order of accuracy in time and space and an adjustable artificial viscosity. The problem of flow around a cone at an angle of attack with varying Mach number, cone angle and angle of attack is also considered. The concept of an error index is introduced as an integral characteristic of deviations from the exact solution for each solver.