Automatic generation and discretization of fully periodic representative volume elements of plain woven composites. (December 2018)