In this paper, we present a two-scale numerical method in which structures made up of composite materials are simulated. The method proposed lies within the context of homogenization theory and assumes the periodicity of the internal structure of the material. The problem is divided into two scales of different orders of magnitude: A macroscopic scale in which the body and structure of the composite material is simulated, and a microscopic scale in which an elemental volume called a “cell” simulates the material. In this work, the homogenized strain tensor is related to the transformation of the periodicity vectors. The problem of composite materials is posed as a coupled, two-scale problem, in which the constitutive equation of the composite material becomes the solution of the boundary-value problem in the cell domain. Solving various examples found in the bibliography on this subject demonstrates the validity of the method.