This paper addresses a first-order and a second-order framework for the multiscale modelling of heterogeneous and multiphase materials. The macroscopically required (first-order or second-order) constitutive behavior is retrieved directly from the numerical solution of a boundary value problem at the level of the underlying microstructure. The most important features of computational homogenization schemes are: no constitutive assumptions on the macro level; large deformations and rotations on the micro and macro level; arbitrary physically nonlinear and time-dependent material behavior on the micro level; independent of the solution technique used on the micro level; applicable to evolving and transforming microstructures. In particular, a...