Finite element study of the Lorentz model in metamaterials