Revit computes pressure losses in ductwork based on the geometry and roughness of the ductwork, air density, and air dynamic viscosity.
Values for Air Density and Air Dynamic Viscosity are specified as Mechanical Settings for Duct. Roughness is specified in the type properties for duct/duct fitting component families.