A parametric CAD-based method for modelling and simulation of positive displacement machines