Estimation of Numerical Model Errors
1) Motivation
|
The output of Earth system models is inherently uncertain. It is very difficult to find corresponding error bars because there are various different error sources.
One essential ingredient of every Earth system model is the general circulation model, i.e. the dynamic kernel. In our work we try to find a method that yields error estimates for outputs of so-called target functions on the flow field solution (e.g. global potential energy, ...).
|
2) Method
It has been shown [1,2] that it is possible to precisely estimate the numerical error of target quantities J on a solution of a general nonlinear fluid dynamic model N that depends on state variables q(t). To achieve this goal, the localised model errors (localised in space and time) are estimated and then weighted with the solution of a specific adjoint problem. For these weights it is necessary to solve the correct adjoint model of the forward model N. The exact target function J(q) can be rewritten as the standard numerical value minus a correction term.
|
|
|
|
|
|
|
|
|
|
|
This means essentially that you have to solve two
problems on a given (maximum) accuracy instead of one. The gain in
precision should be compensating for this additional computational
cost.
The adjoint solution is obtained with an automatic differentiation
(AD) compiler, at the moment the AD enabled NAGware F95 compiler [5].
The error estimate depends not only on this adjoint solution but
also on a local residual estimator. Formally, this operator
estimates the residual of a “true” analytical solution, inserted
into our discretised operator. We see that we have to check two
components for a working error estimator:
a good approximation of the adjoint solution
a reliable local residual estimator
3) Experiments
|
General approach Our testbed consists of geophysical fluid test cases with known analytical solution [3,4]. The target quantity is the global potential energy at the end of the run. We define a quality parameter and test the quality of the adjoint and the local residual estimators separately. Quality parameter The “true” error is defined as the difference between the target function values of the analytical solution and the calculated solution on different resolutions. The quality parameter is the ratio between this true error and the corresponding error estimate on the respective level. First Results We have shown that our adjoint solution is perfectly usable, given a good local residual estimator (figure 2). We are currently working on various local residual estimators.
|
|
|
|
Local residual estimators
The neighbor approach (geometrical) We use the difference between an interpolated “low resolution” field and the cell itself as an indicator of the true residual. This low resolution field can be constructed with the Nearest Neighbor values (NN) or even with a bigger stencil. The estimate ratio approaches 100% with increasing resolution (figure 3), but the behavior at high resolutions is still not satisfactory (no convergence, as can be seen in figure 4). This result shows the need for high resolution runs to test the convergence behavior of our local residual estimators. The gradient approach We use the the mean of the difference in height field values between neighboring cells as an indicator of the residual at a given cell. While this method works comparably well at low resolutions, the high resolution behavior is similar to the NN approach. |
||
4) References
[1] Oden, Strouboulis, 1990, A-posteriori error estimation of finite element approximations in fluid mechanics, Comp. Meth. Appl. Mech. Eng. 78, 201-242
[2] Giles, Pierce, 2000, Adjoint recovery of superconvergent functionals from PDE approximations, SIAM Rev. 42, 247-264
[3] Williamson, 1992, A standard test set for numerical approximations to the shallow water equations in spherical geometry, Journal of Computational Physics, 102, 211-224
[4] Laeuter, 2005, Unsteady analytical solutions of the spherical shallow water equations, Journal of Computational Physics, 210, 535-553
[5] Naumann, Riehme, 2006, Computing Adjoints with the NAGware Fortran95 compiler, Automatic Differentiation: Applications, Theory, and Tools, number 50 in LNCSE, pages 159--170. Springer