CFD parametrization for macroscopic model parameters calculation