Computational Models for the Analysis of positive displacement machines: Real Gas and Dynamic Mesh