44
Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with Felix Albrecht, Martin Drohmann, Bernard Haasdonk, Mario Ohlberger

Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

Implementational Challenges in Localized Reduced Basis

Multiscale MethodsSven Kaulmann, PDESoft 2012, Münster

Joint work withFelix Albrecht, Martin Drohmann,

Bernard Haasdonk, Mario Ohlberger

Page 2: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Sketch

2

B(ph, vh, µ) = L(vh, µ) �vh � Sh.

Page 3: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Sketch

2

B(ph, vh, µ) = L(vh, µ) �vh � Sh.

Page 4: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Big, mean DG space

Sketch

2

B(ph, vh, µ) = L(vh, µ) �vh � Sh.

Page 5: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Big, mean DG space

Sketch

2

B(ph, vh, µ) = L(vh, µ) �vh � Sh.

Page 6: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Big, mean DG space

Sketch

2

B(ph, vh, µ) = L(vh, µ) �vh � Sh.

Small, nice RB space

Page 7: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Big, mean DG space

Sketch

2

B(ph, vh, µ) = L(vh, µ) �vh � Sh. B(pN , vN , µ) = L(vN , µ) �vN � SN .

Small, nice RB space

Page 8: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Introduction• Reduced Basis Methods: Model reduction for

parametrized partial differential equations

• Used in many-query or real-time contexts

• Construct a reduced surrogate of a high-dimensional discretization space (FE, DG) by solving the full equation for some parameter samples

• Assumption: All data functions depend affinely on the parameter

f (x , µ) =�

�i(µ)fi(x)

3

Page 9: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Introduction• Most important: Offline-Online decomposition:

4

Offline Online

• Computation of reduced basis, estimator

• Projection

• h-dependent

• All computations in reduced space

• h-independent

• very rapid

Page 10: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

dune-rb• Based on DUNE

• Clean and preferably small interfaces that enable users to apply RB to their own discretizations

• Modularity: users only need to implement very few interfaces for their problem

• Implementation of Reduced Basis methods based only on Linear Algebra quantities (matrices, vectors)

• Strict separation between offline and online phase

• Links to Matlab and Python

• Contributors: F. Albrecht, M. Drohmann, S. Kaulmann

5

Page 11: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

(d)

(a)

(c)

(b)

(a)

(b)

(c)

(d)

(2.)

6

dune-rb Overview

Page 12: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Linear Algebra

Page 13: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

• Provide an easy way of representing separable parameter-dependent quantities such as

Separable Parametric Container

8

• Interoperability with Matlab (symbolic coefficients)

• Current Implementation:

• Coefficients using math expression parser by Yann Ollivier

• Matrices using Eigen (eigen.tuxfamily.org)

A((µ1, µ2, µ3)� ) = µ1µ2A1 + µ2

3A2

Page 14: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

namespace Dune {namespace RB {namespace LA {namespace SeparableParametric {namespace Container {class Interface{public: Interface(const int rows, const int cols);

template< class ParamType > double coefficient(const int q, const ParamType param) const;

template< class ParamType > CoefficientsVectorType coefficients(const ParamType param) const;

ComponentType& component(const int q);

int numComponents() const;

template< class ParameterType > const CompleteType& complete(const ParameterType param) const;

const std::vector< std::string >& getSymbolicCoefficients() const;

void setSymbolicCoefficients(std::vector< std::string > symbolicCoefficients, const std::string variable = "mu");

inline bool save(const std::string& path) const; inline bool load(const std::string& path);}

Separable Parametric Container

8

Page 15: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

namespace Dune {namespace RB {namespace LA {namespace SeparableParametric {namespace Container {class Interface{public: Interface(const int rows, const int cols);

template< class ParamType > double coefficient(const int q, const ParamType param) const;

template< class ParamType > CoefficientsVectorType coefficients(const ParamType param) const;

ComponentType& component(const int q);

int numComponents() const;

template< class ParameterType > const CompleteType& complete(const ParameterType param) const;

const std::vector< std::string >& getSymbolicCoefficients() const;

void setSymbolicCoefficients(std::vector< std::string > symbolicCoefficients, const std::string variable = "mu");

inline bool save(const std::string& path) const; inline bool load(const std::string& path);}

Separable Parametric Container

8

Example:setSymbolicCoefficients(("mu[0]*mu[1]", "mu[2]*mu[2]"))

Page 16: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Offline

Page 17: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Reduced Basis Generator

10

namespace Dune { namespace RB { namespace Offline { namespace Generator { namespace ReducedBasis {template< class OfflineSpaceImp >class Interface{ Interface(OfflineSpaceType& space);

void init(const ParameterType& param);

template< class ParameterSampleType > const boost::uuids::uuid generate(const ParameterSampleType& paramSample);}; }}}}}

Page 18: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Reduced Basis Space• No function space in the sense of Dune::FEM or

PDELab function spaces, only dealing with vectors, matrices

11

Page 19: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Reduced Basis Space• No function space in the sense of Dune::FEM or

PDELab function spaces, only dealing with vectors, matrices

11

namespace Dune { namespace RB { namespace Offline { namespace Space { template< class CoarseMapperImp >class Interface{ int size() const;

const DofMatrixType& getDofMatrix() const; const DofVectorType getDofVector(const int i) const;

void setDofMatrix(const DofMatrixType& dofMatrix); void setDofVector(const int i, const DofVectorType& dofVector);

void addDofMatrix(const DofMatrixType& dofMatrix); void addDofVector(const DofVectorType& dofVector);

inline const MapperType& mapper() const;

inline bool save(const std::string& path) const;

inline bool load(const std::string& path);

}; }}}}

Page 20: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Generator Concept

12

• Perform high-dimensional computation (e.g. projection of system matrices)

• Generate low-dimensional quantities

• Example: Reduced solver generator, estimator generator

namespace Dune { namespace RB { namespace Offline {namespace Generator { namespace ReducedData { namespace Solver {class Interface{ const ReducedSolverConnectorType& generate(); void update();

}; }}}}}}

Page 21: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Online

Page 22: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Connector-Concept• Contains only reduced quantities

• Can be saved to and loaded from disk

• Assembled by generators

14

Page 23: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Connector-Concept• Contains only reduced quantities

• Can be saved to and loaded from disk

• Assembled by generators

14

namespace Dune { namespace RB { namespace Reduced { namespace Solver { namespace Connector { class Interface{

DofVectorType solve(const ParameterType& param);

bool save(const std::string& path) const; bool load(const std::string& path);

}; }}}}}}

Page 24: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Detailed

Page 25: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Detailed Solver Connector• Interface to your high-dimensional solver

implementation, non-intrusive

16

namespace Dune { namespace RB { namespace Detailed { namespace Solver { namespace Connector {class Interface{ const ModelType& model() const;

void init();

const MatrixType& getSystemMatrix() const;

const VectorType& getRightHandSide() const;

void visualize(const DofVectorType& vector) const;

bool solve(const ParameterType& param, DofVectorType& solution);

const MapperType& mapper() const;

}; }}}}}

Page 26: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

SPE10 Test Case• Multiscale problem: Huge domain, highly

heterogenous permeability, mobility changes on large scale with parameter

• Problem: Computing too many detailed simulations unfeasible (offline time: 6 hours)

• Localized Reduced Basis Multiscale method: Combine RB method with domain decomposition

17

• S. Kaulmann, M. Ohlberger and B. Haasdonk: A new local reduced basis discontinuous galerkin approach for heterogeneous multiscale problems. Comptes Rendus Mathematique, 349(23-24):1233–1238, December 2011

• F. Albrecht, B. Haasdonk, S. Kaulmann and M. Ohlberger: The Localized Reduced Basis Multiscale Method. SimTech Preprint 3/2012

Page 27: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Localized Multiscale RB Method

18

Big, mean DG space

Small, nice RB space

So far:

Page 28: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

19

Big, mean DG Space

Now:

Localized Multiscale RB Method

Page 29: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

19

Big, mean DG Space

Now:

Localized Multiscale RB Method

Page 30: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

19

Big, mean DG Space

Now:

Localized Multiscale RB Method

PCA PCA

Page 31: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

19

Big, mean DG Space

Now:

Localized Multiscale RB Method

PCA PCA

Page 32: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Implementation of LMRB MethodAdditional challenges:

• Decomposition of spatial grid

‣ Index based division of grid

‣ Parser for dgf-style subdivision files for 2D & 3D

• Localization of functions

‣ Restrict DOF vector based on index set built with detailed mapper

‣ Possible because RB space does not rely on “functions“

• Principal Component Analysis

‣ Easy (solutions as DOF vectors, usage of Eigen)

20

Page 33: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

SPE10 Offline vs. Online Time

21

3

4

4

5

5

6

1 8 16 320

7.0

14.0

21.0

28.0

35.0

Offl

ine

time

(h)

Number of subdomains

Onl

ine

time

(ms)

Offline time (h)Online time (ms)

Page 34: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

SPE10 Offline vs. Online Time

21

3

4

4

5

5

6

1 8 16 320

7.0

14.0

21.0

28.0

35.0

Offl

ine

time

(h)

Number of subdomains

Onl

ine

time

(ms)

Offline time (h)Online time (ms)

Speedup: 16000

Page 35: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

SPE10 Error Convergence

22

1E-02

1E-01

1E+00

1E+01

1E+02

1E+03

1E+04

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Estim

ated

erro

r

Number of snapshots

1 Subdomain8 Subdomains16 Subdomains32 Subdomains

Page 36: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

SPE10 PCA

23

0

4

8

13

17

21

25

1 8 16 32

Number of subdomains

Size before PCAMean size after PCAMaximum size after PCAMinimum size after PCA

Page 37: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Outlook: Python-prototyping

• Expose C++ code to python using boost.python

• All your computationally expensive tasks implemented in C++ but used as python module

• Easy prototyping for all reduced problems

• GUI implementation in “no time“

24

Page 38: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Outlook: Python-prototyping

25

#include <iostream>#include <boost/python.hpp>

struct Calculator {

Calculator() {}

double sum(double a, double b) const { return a+b; }

double product(double a, double b) const { return a*b; }

void print(std::string message) const { std::cout << message; }};

BOOST_PYTHON_MODULE(MyModule){ boost::python::class_<Calculator>("Calculator") .def("sum", &Calculator::sum) .def("product", &Calculator::product) .def("printMessage", &Calculator::print) ;}

C+

+

Page 39: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Outlook: Python-prototyping

25

#include <iostream>#include <boost/python.hpp>

struct Calculator {

Calculator() {}

double sum(double a, double b) const { return a+b; }

double product(double a, double b) const { return a*b; }

void print(std::string message) const { std::cout << message; }};

BOOST_PYTHON_MODULE(MyModule){ boost::python::class_<Calculator>("Calculator") .def("sum", &Calculator::sum) .def("product", &Calculator::product) .def("printMessage", &Calculator::print) ;}

C+

+ from distutils.core import setup, Extension

myModule = Extension('MyModule', include_dirs = ['/opt/local/include'], libraries = ['boost_python'], library_dirs = ['/opt/local/lib'], sources = ['calculator.cc'])

setup (name = 'MyModule', version = '0.1', description = 'Awesome!', ext_modules = [myModule])

Pyth

on

Page 40: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Outlook: Python-prototyping

25

#include <iostream>#include <boost/python.hpp>

struct Calculator {

Calculator() {}

double sum(double a, double b) const { return a+b; }

double product(double a, double b) const { return a*b; }

void print(std::string message) const { std::cout << message; }};

BOOST_PYTHON_MODULE(MyModule){ boost::python::class_<Calculator>("Calculator") .def("sum", &Calculator::sum) .def("product", &Calculator::product) .def("printMessage", &Calculator::print) ;}

C+

+ from distutils.core import setup, Extension

myModule = Extension('MyModule', include_dirs = ['/opt/local/include'], libraries = ['boost_python'], library_dirs = ['/opt/local/lib'], sources = ['calculator.cc'])

setup (name = 'MyModule', version = '0.1', description = 'Awesome!', ext_modules = [myModule])

Pyth

on

from MyModule import *calc = Calculator()print 'Sum:', calc.sum(1.2, 4.3)print 'Product:', calc.product(1.2, 4.3)calc.printMessage('PDESoft 2012 rules!\n')

Pyth

on

Page 41: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Outlook: Python-prototyping

25

#include <iostream>#include <boost/python.hpp>

struct Calculator {

Calculator() {}

double sum(double a, double b) const { return a+b; }

double product(double a, double b) const { return a*b; }

void print(std::string message) const { std::cout << message; }};

BOOST_PYTHON_MODULE(MyModule){ boost::python::class_<Calculator>("Calculator") .def("sum", &Calculator::sum) .def("product", &Calculator::product) .def("printMessage", &Calculator::print) ;}

C+

+ from distutils.core import setup, Extension

myModule = Extension('MyModule', include_dirs = ['/opt/local/include'], libraries = ['boost_python'], library_dirs = ['/opt/local/lib'], sources = ['calculator.cc'])

setup (name = 'MyModule', version = '0.1', description = 'Awesome!', ext_modules = [myModule])

Pyth

on

from MyModule import *calc = Calculator()print 'Sum:', calc.sum(1.2, 4.3)print 'Product:', calc.product(1.2, 4.3)calc.printMessage('PDESoft 2012 rules!\n')

Pyth

on

bash-3.2$ python2.6 runlivedemo.pySum: 5.5Product: 5.16PDESoft 2012 rules! Te

rmin

al

Page 42: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Live Demo

26

Page 43: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Visit us on www.morepas.org

Page 44: Implementational Challenges in Localized Reduced …Implementational Challenges in Localized Reduced Basis Multiscale Methods Sven Kaulmann, PDESoft 2012, Münster Joint work with

Thank you for your attention!

M. Dihlmanna · M. Drohmannb · B. Haasdonka

Model reduction of parametrized evolution problemsusing the reduced basis method with adaptive timepartitioningStuttgart, May 2011

a Institute of Applied Analysis and Numerical Simulation, University of Stuttgart,Pfa�enwaldring 57, 70569 Stuttgart, Germany{dihlmann, haasdonk}@mathematik.uni-stuttgart.dewww.ians.uni-stuttgart.de/agh

b Institute of Computational and Applied Mathematics, University of Munster,Einsteinstr. 62, 48149 Munster, [email protected]

Abstract odern simulation scenarios require real-time or many query responses from a simulationmodel. This is the driving force for increased e�orts in model order reduction for high dimensionaldynamical systems or partial di�erential equations. This demand for fast simulation models is evenmore critical for parametrized problems. There exist several snapshot-based methods for model orderreduction of parametrized problems, e.g. proper orthogonal decomposition (POD) or reduced basis(RB) methods. An often faced problem is that the produced reduced models for a given accuracytolerance are still of too high dimension. This is especially the case for evolution problems where themodel shows high variability during time evolution. We will present an approach to gain control overthe online complexity of a reduced model by an adaptive time domain partitioning. Thereby we canprescribe simultaneously a desired error tolerance and a limiting size of the dimension of the reducedmodel. This leads to fast and accurate reduced models. The method will be applied to an advectionproblem.

Keywords model order reduction; reduced basis method; evolution problem; parametrized partialdi�erential equation; adaptive time partitioning

Preprint Series Issue No. 2011-13Stuttgart Research Centre for Simulation Technology (SRC SimTech)

SimTech – Cluster of ExcellencePfa�enwaldring 7a70569 Stuttgart

publications@simtech.uni-stuttgart.dewww.simtech.uni-stuttgart.de

Visit us on www.morepas.org