Algebraic generation of single domain computational grid for twin screw machines. Part I. Implementation. (May 2017)