Thank you all, I found the way to do it. For future users trying to solve the same problem, I also found extremely helpful this paper:
*Effective properties of composite materials with periodic microstructure: a computational approach, J.C. Michel, H. Moulinec, P. Suquet, Comput. Methods Appl. Mech. Engrg. 172 (1999) 109-143* David. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/804705b2-e31e-4dec-aea8-f700e17d3140%40googlegroups.com.