A general procedure for the analysis of curved or flat, thin two dimensional muffler elements, which can efficiently utilize the limited space of hermetically sealed compressors or small engine compartments, was developed. This procedure can also be applied to analyze thin compressor or engine manifolds as long as the thickness of the cavities is sufficiently small compared to the shortest wavelength of interest. The two dimensional inhomogeneous wave equation, which takes nonuniform thickness into account, is expressed in two dimensional curvilinear coordinates by the application of Hamilton's principle. Four pole parameters are formulated from the pressure response solutions using the modal series expansion method and orthogonality property. A practical four-cylinder automotive compressor was analyzed as an application example. The pressure response at the discharge port excited by input refrigerant was obtained by this general procedure.