This is a reentrant corner problem causing a singularity in the solution.
Equation solved: Laplace equation
(1)
Domain of interest: with a section removed from the clockwise side of the positive axis.
Boundary conditions: Dirichlet, given by exact solution.
This benchmark has four different versions, we use the global variable PARAM (below) to switch among them.
int PARAM = 1; // PARAM determines which parameter values you wish to use for the strength of the singularity in
// the current (nist-2) Reentrant Corner problem.
// PARAM strength OMEGA ALPHA
// 0: 1 5*Pi/4 4/5
// 1: 2 3*Pi/2 2/3
// 2: 3 7*Pi/4 4/7
// 3: 4 2*Pi 1/2
Final mesh (h-FEM, p=1, anisotropic refinements):
Final mesh (h-FEM, p=2, anisotropic refinements):
Final mesh (hp-FEM, h-anisotropic refinements):
DOF convergence graphs:
CPU convergence graphs:
Final mesh (hp-FEM, isotropic refinements):
Final mesh (hp-FEM, h-anisotropic refinements):
Final mesh (hp-FEM, hp-anisotropic refinements):
DOF convergence graphs:
CPU convergence graphs: