Microscopic calculation of the constitutive relations