Context
I want to solve a PDE via FEM on a Disk
.
If I use a Square I can write
reg = Rectangle[];
mesh = ToElementMesh[reg, MaxCellMeasure -> 0.001];
Then I can for instance
Plot3D[x y, {x, y} ∈ reg]
But, if I want to operate on a disc,
reg = Disk[];
mesh = ToElementMesh[reg, MaxCellMeasure -> 0.001];
I could for instance write
Plot3D[ r Exp[-r^2] Cos[2θ] /. θ -> ArcTan[x, y] /.
r -> Sqrt[x^2 + y^2] // Evaluate, {x, y} ∈ reg,
PlotRange -> All]
But Ideally I would like to stick to Polar coordinates.
Question
How can I ask mathematica to sample polar points on my disc?
I.e. I would like to write
Plot3D[ r Exp[-r^2] Cos[2θ], {r, θ} ∈ reg,
PlotRange -> All]
Of course for this simple graphics the workaround is trivial. But what I want eventually is to solve
sol = NDSolveValue[{-Laplacian[u[r, θ], {r, θ},
"Polar"] == 0 , DirichletCondition[u[r, θ] == 0, True]},
u, {r, θ} ∈ mesh ]
I hope my question makes sense?