Convert viscosity into a dynamic framework