In this work, a model is developed to continuously predict homogeneous and inhomogeneous swelling behavior of pH/temperature sensitive PNIPAM hydrogels. Employing the model, homogeneous swelling of the pH/temperature sensitive hydrogel is investigated for free and biaxial constrained swelling cases. Comparing the model results with the experimental data available in the literature, the validity of the model is confirmed. The model is then employed to investigate inhomogeneous swelling of a spherical shell on a hard core both analytically and numerically for pH or temperature variations. In this regard, numerical tools are developed via preparing a user defined subroutine in ABAQUS software. Then, the complicated problem of contact between the hydrogel shell and a micro-channel with rigid walls is also investigated. Considering the results, we can say that the model is applicable for solving engineering boundary value problem of pH/temperature sensitive hydrogels.