• Aucun résultat trouvé

Using Bayesian inference to

N/A
N/A
Protected

Academic year: 2021

Partager "Using Bayesian inference to "

Copied!
37
0
0

Texte intégral

(1)

Using Bayesian inference to

recover the material parameters of a heterogeneous hyperelastic

body

Jack S. Hale, Patrick E. Farrell, Stéphane P. A. Bordas

Hmsqnctbshnm Sgdaq`mc Sxonfq`ogx

Bnkntq

Ok`bhmfsgdaq`mc Rs`shnmdqx NsgdqhcdmshÜdqr Dwghahshnmr. Rhfm`fd OnvdqOnhms Vda Sq`cdl`qj. Bdqdlnmh`k Dw`lokdr Sdbgmhb`k hmenql`shnm

aq`mcbnkntqr`mcbnkntqo`kdssd

Sgdaq`mcbnkntqÎNwenqcaktd

The University is possibly unique in having a colour with which it is associated throughout the world:Nwenqcaktd.

Nwenqcaktd(or PANTONE © 282) is the main brand colour. Please refer to page 21 for more detailed and technical information on the use of Oxford blue.

Sgdaq`mcl`qjrÎak`bjnmkx

In print media where only black is available (such as press

advertisement or black and white laser printing) it is acceptable to use the brand in black. However, it is important that the black artwork versions are used, as use of the Oxford blue artwork versions could result in a half-tone grey being produced.

Okd`rdmnsd9 do not print letterheads in colour on a laser printer or inkjet as the colour of the brand will not be right. Please print in black using the black artwork versions.

Bnkntqo`kdssd

For more technical information on Oxford blue please refer to page 20

Use the black artwork versions only when no colours are available

The main brand colour is

1

ECCOMAS 2016 Crete, Greece.

(2)

Overview

• Goals.

• Example uncertainty quantification problem: sparse surface observations of a geometrically non-linear hyperelastic block.

• Using dolfin-adjoint [Farrell et al.] and petsc4py [Dalcin] to solve the problem.

• Efficiently dealing with the high-dimensional

posterior covariance approximation.

(3)
(4)
(5)
(6)

Q: What can we infer about the material parameters inside the domain, just from displacement observations on the

outside?

Q: Which parameters am I most uncertain about?

(7)

Key Features

Use Bayesian theory of inference to give statistical uncertainty quantification framework, over classical regularised PDE-constrained optimisation framework.

dolfin-adjoint: can derive MPI-aware adjoint and higher- order adjoint equations from high-level Unified Form

Language expressions.

‘Fast’ high parameter space uncertainty quantification

~ minutes for thousands of parameters on laptop.

(8)

Terminology

• Observation. Displacements.

• Parameter. Material property.

• Parameter-to-observable map. Finite deformation hyperelasticity.

y

x

f (x )

(9)

Bayes Theorem

posterior

(x | y )

likelihood

(y | x )

prior

(x )

Goal: Given the observations, find the posterior

distribution of the unknown parameters.

(10)

Assumptions

1. I think my parameter is Gaussian (prior).

2. My parameter to observable map is linear and my noise model is Gaussian.

X ∼ N (x 0 , Γ prior ), X ∈ R n

Y = AX + E, Y ∈ R m , A ∈ R m × n

E ∼ N (0, Γ noise ), Y ∈ R m

(11)

ln

posterior

(x | y ) = 1

2 y Ax

2 1

noise

+ 1

2 x x

0 2 1

prior

= 1

2 x x

MAP H

π posterior ∼ N (x MAP , H 1 )

(12)

posterior

(x | y )

likelihood

(y | x )

prior

(x )

x MAP = arg max

x ∈R n π posterior (x | y )

x MAP

x CM

cov(x | y )

(13)

Strategy

x MAP

cov(x | y )

(14)

x MAP

x CM

cov(x | y )

H 1 (x MAP )

(15)

π posterior ∼ N (x MAP , H 1 )

π posterior approx ∼ N (x MAP , H 1 (x MAP ))

x MAP

H

1

(x

MAP

)

(16)

Back to the problem…

(17)

Find xMAP that satisfies:

minx

1

2 y f (x) 2 1

noise

+ 1

2 x x0 2 1

prior

,

where the parameter-to-observable map f : Rn Rm is is defined such that:

F(f (x), x) = Dv (f (x), x) dx = 0 v HD1 ( ), x L2( ), where

(u, x) = (u, x) dx t · u ds, (u, x) = x

2(Ic d) x ln(J) +

2 ln(J)2, F =

X = I + u, C = FT F,

(18)

from dolfin import *

mesh = UnitSquareMesh(32, 32)

U = VectorFunctionSpace(mesh, "CG", 1) V = FunctionSpace(mesh, "CG", 1)

# solution

u = Function(U)

# test functions v = TestFunction(U)

# incremental solution du = TrialFunction(U)

mu = interpolate(Constant(1.0), V)

lmbda = interpolate(Constant(100.0), V) dims = mesh.type().dim()

I = Identity(dims) F = I + grad(u) C = F.T*F

J = det(F) Ic = tr(C)

phi = (mu/2.0)*(Ic - dims) - mu*ln(J) + (lmbda/

2.0)*(ln(J))**2 Pi = phi*dx

# gateux derivative with respect to u in direction v F = derivative(Pi, u, v)

# and with respect to u in direction du J = derivative(F, u, du)

u_h = Function(U)

F_h = replace(F, {u: u_h}) J_h = replace(J, {u: u_h})

solve(F_h == 0, u_h, bcs, J=J_h)

(19)

u_obs << File(“observations.xdmf”)

J = Functional(inner(u - u_obs, u - u_obs)*dx + \ inner(mu, mu))

m = Control(mu)

J_hat = ReducedFunctional(J, m) ...

dJdm = Jhat.derivative()[0]

H = Jhat.hessian(dm)[0]

(20)

Solving

Strategy: Use hooks in dolfin-adjoint to solve with

petsc4py-based contexts.

(21)

• Parameter-to-observable map. Newton-Krylov method.

• Inner solve with GAMG preconditioned GMRES (KSP) with near null-space set.

• Newton with second-order backtracking line

search (SNES).

(22)

• MAP estimator.

• Bound constrained Quasi-Newton BLMVM with More-Thuente line search (TAO).

• Reisz-Map aware solver - mesh independent

convergence.

(23)

• Principal Component Analysis.

• Leading: Krylov Schur (SLEPc).

(24)

H ∈ R n × n

Big Dense

Expensive to calculate Only have action

(25)

H = QΛQ T

Γ post = H 1 = Q T Λ 1 Q

(26)

x map

(27)
(28)

Leading Eigenvectors

Direction in parameter space most constrained by the

observations

(29)
(30)
(31)
(32)
(33)
(34)

Matches trends from Flath et al. p424 for linear parameter to observable maps.

Γ prior

Γ post

(35)

Full Hessian.

4000+ actions.

2000 to calculate H. 2000 to extract.

Partial Hessian.

501 actions for 292 for leading.

209 to calculate H. 292 to extract.

Huge savings in computational cost.

Scales with model dimension.

(36)

Summary

We are developing methods to access uncertainty in the recovered parameters in hyperelastic materials.

This is done within the framework of Bayesian inference.

dolfin-adjoint makes assembling the equations relatively easy, solving them is tougher.

Currently exploring efficient Monte Carlo methods to

quickly calculate sample statistics of posterior.

(37)

StG. No. 279578 RealTCut

Références

Documents relatifs

Our research showed that an estimated quarter of a million people in Glasgow (84 000 homes) and a very conservative estimate of 10 million people nation- wide, shared our

In accordance with decision FCTC/COP4(11), and in order to comply with the requirement in Article 33.3 of the WHO Framework Convention on Tobacco Control that the text of a

We face the problem of the inclusion of emotions in the non-functional require- ments of interactive artworks starting from the definition of a emotion-driven requirements

2. Duty to harmonize the special or regional conventions with the basic principles of this Convention. It is a convenient flexibility to allow the amendment of the application of

Recalling the impossibility of doubting his existence and looking back to his “sum”-intuition, the Cartesian

be
the
best
way
to
solve
the
debt
and
employment
problems
of
the
province.
This
left
no
use


Simple metal Solid state Glass membrane Enzyme Liquid membrane Gas sensing We’ll review representative examples of each.. You can assume that the proper reference

However when attention is divided at test two contrasting predictions are made: a distinctiveness account predicts an absence of a production effect as a result of the disruption