Consider the function $u(x,y):{\mathbb{R}^2} \to {\mathbb{R}}$ and $u(x,y) \in {{C}^1}({\mathbb{R}^2})$. The function satisfies the following boundary value problem
$$c_1 u_x + c_2 u_y = f(x,y)$$ $$u|_{\partial \Omega} =0$$
Where $\Omega$ is an arbitrary simply connected domain in $\mathbb{R}^2$ with the boundary $\partial \Omega $ which can be assumed to be smooth as you like although weaker conditions may be needed. $c_1,c_2$ are some real constants.
Find a function $f(x,y)$ such that $u(x,y) >0$ for all $(x,y) \in \Omega$.
In the next step, it can be aksed that how we can find all such $f(x,y)$? or What are the common properties of all such $f(x,y)$?
Let $\Omega=[0,\pi]\times[0,\pi]$ and $u=\sin x \sin y$ . We have, $u(0,y)=0$,$u(\pi,y)=0$, $u(x,0)=0$ and finally $u(x,\pi)=0$, so
$$u\big|_{\partial\Omega}=0$$
and hence
$$f(x,y)=c_1\cos x\sin y+c_2\sin x \cos y$$
Now you want to have the solution to
$$c_1u_x + c_2u_y=c_1\cos x\sin y+c_2\sin x \cos y$$ by characteristics.
Thus, $x_s=c_1$ so $x=c_1s+a$, similarly $y=c_2s+b$ where $a,b$ are arbitrary constant. Also, we can write
$$\eqalign{ & {u_s} = {c_1}\cos x\sin y + {c_2}\sin x\cos y \cr & \,\,\,\,\,\, = {c_1}\cos ({c_1}s + a)\sin ({c_2}s + b) + {c_2}\sin ({c_1}s + a)\cos ({c_2}s + b) \cr} $$
so you got $$u = \frac{1}{2} \left(\cos \left(a-b+c_1 s-c_2 s\right)-\cos \left(a+b+\left(c_1+c_2\right) s\right)\right)= \frac{1}{2} \left(\cos \left(x-y\right)-\cos \left(x+y\right)\right)=\sin x \sin y$$ as we could expected.