I am wondering if anyone can give me an idea of what the transformation of the constant pressure load function is and for which values of n and m must be taken into account?
I do not understand what you mean by 'transformation of the constant pressure load function'.
Suppose you wish to find the analytical solution of a simply-supported rectangular plate under a uniform pressure load. The solution is Sigma(i=1,n; j=1,m) [ A_ij*sin(i*pi*x/a)*sin(j*pi*y/b) ], where a and b are dimensions of the plate in the x and y directions; A_ij are series coefficients to be determined from the exteral load.
If the pressure is uniform, only odd sines in the series solutions are present. 2 sine terms in x and in y are good enough.
When n = 0, shape function cos is 1. This means that if any function to be decomposed into cos series has a constant component, the series must involve n = 0 term, for example, if the exteral distributed load is p_0 + p_1*y, where p_0 and p_1 are constants.
In general, n = 0 term should be kept, on the safe side.