Difference between revisions of "Adaptivity"
(→Disk under stress) |
(→Node density adaptation) |
||
Line 39: | Line 39: | ||
and ![]() ![]() ![]() ![]() | and ![]() ![]() ![]() ![]() | ||
and ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | and ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ||
− | Note that setting ![]() ![]() ![]() ![]() ![]() ![]() | + | Note that setting ![]() ![]() ![]() ![]() ![]() ![]() |
+ | This adaptation is illustrated in the figure below. | ||
+ | |||
+ | [[File:density_change.png|1193px]] | ||
== Error indicators == | == Error indicators == |
Revision as of 14:14, 11 June 2019
Go back to Examples.
Solutions to many physical problems governed by partial differential equations (PDE) often significantly vary in magnitude throughout the problem domain. Although in some special cases the areas with high error are known in advance, in general the error distribution is unknown beforehand. Adaptive techniques for solving PDEs are a standard way of dealing with this problem, where problematic regions are iteratively refined. A step further is automatic adaptivity, where problematic regions are chosen automatically using an error indicator and then refined, until certain error threshold is reached. Below, we show some examples of fully automatic adaptivity in Medusa.
Contents
[hide]Basic concept
The adaptive methodology in this paper behaves similarly to "remeshing" used commonly in FEM.
Some initial (possibly variable) nodal spacing
- Fill
with nodes conforming to . - Solve the problem to obtain
. - Compute the error indicator values
for each node . - If the mean of
is below some tolerance return as the solution and stop. - Adapt
to obtain .
More details can be found in our paper: https://arxiv.org/abs/1811.10368
Node density adaptation
The existing nodal spacing function










































































































































































































This adaptation is illustrated in the figure below.
Error indicators
The work on error indicators is ongoing. For now, we use an ad hoc error indicator \varepsilon_i = \operatorname{std}_{j \in I_i}(u_j),
Numerical exmaples
Below are several numerical examples where adaptivity has been tested or used to obtain solutions.
The errors e_1, e_2, e_\infty and e_E refer to relative discrete L^1, L^2, L_\infty and energy norm errors, respectively. These are evaluated in the computation nodes or on a denser grid by reinterpolation.
L shaped domain
The L shaped domain problem is defined on \Omega = [-1, 1]^2 \setminus [0, 1] \times [-1, 0]. The Laplace problem \nabla^2u = 0 with the solution u = r^{\frac{2}{3}} \sin(\frac{2}{3}\theta) given in polar coordinates.
BF-FD method with Polyharmonic splines augmented with monomials up to and including 2nd order was used to approximate the differential operators. The stencils for each node were chosen by simply selecting the closest n=15 nodes. The resulting sparse system was solved using the Intel ® MKL Pardiso sparse solver. Both uniform and fully adaptive refinement was tested. The adaptive procedure was run with \alpha=3, \varepsilon = 10^-2, \beta=1 and \eta=0.
The errors under uniform (left) and adaptive (right) refinement are shown below.
The error (left) and the nodal density (right) during the adaptive iteration are shown below.
Disk under stress
The next case is disk under pressure case from Linear elasticity solving the Caucy-Navier equation of Solid mechanics. The problem considers one quarter of the disk illustrated below by the domain \Omega. The spacing \gamma represents the distance from the singularity.
Hertzian contact
Fretting fatigue contact
Bousinesq problem
Helmholz equation
Go back to Examples.