Construction of a Φ-function for two convex polytopes