We present a generalized contact computation model for arbitrarily shaped polyhedra to simplify the contact analysis in discontinuous deformation analysis. A list of generalized contact constraints can be established for contacting polyhedra during contact detection. Each contact constraint contains information for 2 contact points, unique contact plane, and related contact modes (open, locked, or sliding). Computational aspects of the generalized contact model include identification of contact positions and contact modes, uniform penalty formulation of generalized contact constraint, and uniform updating of contact modes and contact planes in the open-close iteration. Compared with previous strategies, the generalized contact computation model has a simpler data structure and fewer memory requirements. Meanwhile, it simplifies the penalty formulation and facilitates the open-close iteration check while producing enough accuracy. Illustrative examples show the ability of the method to handle the full range of polyhedral shapes.