Question
I am looking for a way to find the largest subdomain $U$ of the unit disk $D(0,1)$ for which the solution to $$ \begin{align} \Delta u&=0.3-y,\quad (x,y)\in U\\ u&=0,\quad (x,y)\in\partial U \end{align} $$ is negative in $U$.
Some additional details
We start by looking at the problem in the disk. Solving the Dirichlet problem $$ \begin{align} \Delta u&=0.3-y,\quad (x,y)\in D(0,1)\\ u&=0,\quad (x,y)\in\partial D(0,1) \end{align} $$ using
usol1[x_, y_] =
NDSolveValue[{Laplacian[u[x, y], {x, y}] == 0.3 - y,
DirichletCondition[u[x, y] == 0, True]},
u[x, y],
Element[{x, y},Disk[]]
]
gives a solution that is negative in some part (blue) and positive in some part (pink):
ContourPlot[Evaluate@usol1[x, y], Element[{x, y},Disk[]],
Contours -> {0, -0.05, -0.1},
ContourStyle -> {Black, Black, {Thick, Black}},
ContourShading -> {Darker[Blue], Blue, Lighter[Blue], Pink},
PlotPoints -> 100, AspectRatio -> 1]
If we instead try a smaller domain $$ \Omega=D(0,1)\cap \{(x,y)\in D(0,1)~|~y<0.3\} $$ defined in Mathematica as
\[CapitalOmega] :=
RegionDifference[Disk[], Rectangle[{-2, 0.3}, {2, 2}]]
We solve $$ \begin{align} \Delta u&=0.3-y,\quad (x,y)\in \Omega\\ u&=0,\quad (x,y)\in\partial \Omega \end{align} $$ with
usol2[x_, y_] =
NDSolveValue[{Laplacian[u[x, y], {x, y}] == 0.3 - y,
DirichletCondition[u[x, y] == 0, True]},
u[x, y],
Element[{x, y}, \[CapitalOmega]]
]
and show the corresponding contour plot with
ContourPlot[Evaluate@usol2[x, y],
Element[{x, y}, \[CapitalOmega]],
Contours -> {0, -0.05, -0.1},
ContourStyle -> {Black, Black, {Thick, Black}},
ContourShading -> {Darker[Blue], Blue, Lighter[Blue], Pink},
PlotPoints -> 100, AspectRatio -> 1.3/2]
We find a strictly negative solution.
Now, clearly the domain $\Omega$ is not the largest possible, so I restate my question,
Is there some way, using Mathematica, probably with some numerical method, to find the largest subdomain $U\subset D(0,1)$ such that the Poisson problem $$ \begin{align} \Delta u&=0.3-y,\quad (x,y)\in U\\ u&=0,\quad (x,y)\in\partial U \end{align} $$ has a strictly negative solution in $U$?
Update
Just to clarify, I do not want to find the area of the part where my usol1
is negative.