Trellis: A Framework for Adaptive Numerical Analysis Based on Multiparadigm Programming in C++ Jean-Francois Remacle, Ottmar Klaas and Mark Shephard Scientific.

Slides:



Advertisements
Similar presentations
Compatible Spatial Discretizations for Partial Differential Equations May 14, 2004 Compatible Reconstruction of Vectors Blair Perot Dept. of Mechanical.
Advertisements

Multidisciplinary Computation and Numerical Simulation V. Selmin.
Chapter 1 Electromagnetic Fields
Continuity Equation. Continuity Equation Continuity Equation Net outflow in x direction.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
A Bezier Based Approach to Unstructured Moving Meshes ALADDIN and Sangria Gary Miller David Cardoze Todd Phillips Noel Walkington Mark Olah Miklos Bergou.
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
CSE351/ IT351 Modeling and Simulation
 Jean-François Remacle,  Joe E. Flaherty and Mark S. Shephard  Rensselaer Polytechnic Institute  Parallel Algorithm Oriented.
Parallel Mesh Refinement with Optimal Load Balancing Jean-Francois Remacle, Joseph E. Flaherty and Mark. S. Shephard Scientific Computation Research Center.
Code and Decoder Design of LDPC Codes for Gbps Systems Jeremy Thorpe Presented to: Microsoft Research
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Y. S. Yang and S. H. Hsieh National Taiwan University, Taipei, Taiwan December 8, 2000 FE2000: An Object-Oriented Framework For Parallel Nonlinear Dynamic.
Numerical Hydraulics Wolfgang Kinzelbach with Marc Wolf and Cornel Beffa Lecture 1: The equations.
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC CG Mingham, L Qian, DM Causon and DM Ingram Centre for Mathematical Modelling and Flow Analysis Manchester.
Computer graphics & visualization Rigid Body Simulation.
1 An introduction to design patterns Based on material produced by John Vlissides and Douglas C. Schmidt.
Introduction to virtual engineering László Horváth Budapest Tech John von Neumann Faculty of Informatics Institute of Intelligent Engineering.
Definition of an Industrial Robot
Review (2 nd order tensors): Tensor – Linear mapping of a vector onto another vector Tensor components in a Cartesian basis (3x3 matrix): Basis change.
In Engineering --- Designing a Pneumatic Pump Introduction System characterization Model development –Models 1, 2, 3, 4, 5 & 6 Model analysis –Time domain.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
Massively Parallel Magnetohydrodynamics on the Cray XT3 Joshua Breslau and Jin Chen Princeton Plasma Physics Laboratory Cray XT3 Technical Workshop Nashville,
Hybrid WENO-FD and RKDG Method for Hyperbolic Conservation Laws
I-DEAS 11 TMG Thermal and ESC Flow New Features
Adaptive Multiscale Simulation Infrastructure - AMSI  Overview: o Industry Standards o AMSI Goals and Overview o AMSI Implementation o Supported Soft.
7 th Annual Workshop on Charm++ and its Applications ParTopS: Compact Topological Framework for Parallel Fragmentation Simulations Rodrigo Espinha 1 Waldemar.
Fast Low-Frequency Impedance Extraction using a Volumetric 3D Integral Formulation A.MAFFUCCI, A. TAMBURRINO, S. VENTRE, F. VILLONE EURATOM/ENEA/CREATE.
Large-Scale Stability Analysis Algorithms Andy Salinger, Roger Pawlowski, Ed Wilkes Louis Romero, Rich Lehoucq, John Shadid Sandia National Labs Albuquerque,
Page 1 JASS 2004 Tobias Weinzierl Sophisticated construction ideas of ansatz- spaces How to construct Ritz-Galerkin ansatz-spaces for the Navier-Stokes.
ParCFD Parallel computation of pollutant dispersion in industrial sites Julien Montagnier Marc Buffat David Guibert.
Prof. dr. A. Achterberg, Astronomical Dept., IMAPP, Radboud Universiteit.
Discontinuous Galerkin Methods Li, Yang FerienAkademie 2008.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
NUMERICAL SIMULATION OF WIND TURBINE AERODYNAMICS Jean-Jacques Chattot University of California Davis OUTLINE Challenges in Wind Turbine Flows The Analysis.
ANSYS for MEMS by Manjula1 FEM of MEMS on ANSYS MEMS Summer 2007 Why FEM for MEMS? Features in ANSYS Basic Procedures Examples.
Phase Separation and Dynamics of a Two Component Bose-Einstein Condensate.
ACES WorkshopJun-031 ACcESS Software System & High Level Modelling Languages by
Computational Aspects of Multi-scale Modeling Ahmed Sameh, Ananth Grama Computing Research Institute Purdue University.
1 1 What does Performance Across the Software Stack mean?  High level view: Providing performance for physics simulations meaningful to applications 
Stress constrained optimization using X-FEM and Level Set Description
The forces on a conductor Section 5. A conductor in an electric field experiences forces.
MHD Dynamo Simulation by GeoFEM Hiroaki Matsui Research Organization for Informatuion Science & Technology(RIST), JAPAN 3rd ACES Workshop May, 5, 2002.
Adaptive Meshing Control to Improve Petascale Compass Simulations Xiao-Juan Luo and Mark S Shephard Scientific Computation Research Center (SCOREC) Interoperable.
Cracow Grid Workshop, November 5-6, 2001 Concepts for implementing adaptive finite element codes for grid computing Krzysztof Banaś, Joanna Płażek Cracow.
Connections to Other Packages The Cactus Team Albert Einstein Institute
Challenges in Wind Turbine Flows
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Algebraic Solvers in FASTMath Argonne Training Program on Extreme-Scale Computing August 2015.
Center for Extended MHD Modeling (PI: S. Jardin, PPPL) –Two extensively developed fully 3-D nonlinear MHD codes, NIMROD and M3D formed the basis for further.
Quality of Service for Numerical Components Lori Freitag Diachin, Paul Hovland, Kate Keahey, Lois McInnes, Boyana Norris, Padma Raghavan.
M. Khalili1, M. Larsson2, B. Müller1
Texas A&M University, Department of Aerospace Engineering AUTOMATIC GENERATION AND INTEGRATION OF EQUATIONS OF MOTION BY OPERATOR OVER- LOADING TECHNIQUES.
Unstructured Meshing Tools for Fusion Plasma Simulations
EEE 431 Computational Methods in Electrodynamics
Parallel Algorithm Oriented Mesh Database
Xing Cai University of Oslo
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC
Parallel Unstructured Mesh Infrastructure
Quantum One.
Structured Modeling of Mechatronic Systems in which you meet the modest but talented multiport component.
A robust preconditioner for the conjugate gradient method
GENERAL VIEW OF KRATOS MULTIPHYSICS
Objective Numerical methods Finite volume.
Continuous Systems and Fields
Comparison of CFEM and DG methods
Low Order Methods for Simulation of Turbulence in Complex Geometries
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
Presentation transcript:

Trellis: A Framework for Adaptive Numerical Analysis Based on Multiparadigm Programming in C++ Jean-Francois Remacle, Ottmar Klaas and Mark Shephard Scientific Computation Research Center Rensselaer Polytechnic Institute

Scope of the presentation Aim of Trellis: find y(x,t)  Y(  ) such that Trellis modular design –A parallel adaptive mesh library, takes care of  –A discretization library, takes care of Y(  ) –A core library, takes care of f –A solver library for algebraic systems

Linearization We usually need a linearization of The aim of Trellis is to provide M, C, K and f Trellis interacts with external solvers like PetSC or DASPK

Parallel Algorithm Oriented Mesh Data-structure Aim of AOMD: providing services to mesh users –Basic services, iterators to various ranges of entities, iterators on adjacencies, input-output... –Geometry based analysis, relation mesh to model is maintained –Support of dynamic mesh adjacencies –Parallel services: message passing and load balancing capabilities Open source:

Parallel Algorithm Oriented Mesh Data-structure AOMD extensions –Conforming (anisotropic) and non-conforming adaptive capabilities, available in parallel –Calculus toolkit, integration, curvilinear elements and their mappings (Bezier, Lagrange) –Computational Geometry toolkit (Octree, ADT) –Interface to solid modelers (e.g. Parasolid), vertex snapping –TSTT interface

Example of AOMD capabilities Parallel Adaptive D.G. Solver Load Balancing High order

The Discretization Library Representing components y i of a tensor field y With –A functional basis: –Coefficients (DOF’s):

Degrees of Freedom Aim: flexibility –parallel, h-p adaptive –multiple fields –multi-methods, multi-physics Representation –constant part, DofKey –variable part DofData –The idea of a general DOF representation is far more important than the implementation

Degrees of Freedom Manager Design –Contains all degrees of freedom –Container: std::map or std::hash_map if available e.g. at –Singleton pattern i.e. one only instance in the program –Parallel capabilities

Function Spaces Provide C and N of Hierarchy of classes Available: –Hierarchical, p<15 –Lagrange, p<10 –L 2 -Orthogonal, p<15 –Crouzeix-Raviart –Enriched X-fem basis, to come...

Examples of Function Spaces

Linear operators Aim: take tensor components and build a tensorial representation –A field with 3 component may be a covariant vector, a vector or 3 scalars (Euler 1-D e.g.) We call with and we have the expansion

Examples of Operators

Scalar product, dual pairing Consider –Operators F i acting on y i –Contraction :: between operator results produces a scalar Particular case: bilinear density –Linearisation of the general case –Representation: dim( L 1 )  dim( L 2 ) matrix (not tensor!)

Some other densities Linear Form –Representation: column vector, dim( L ) Trilinear Form –Automatic linearization

Contributors Matrix Contributor Representation

Implementation Generic: Template parameters: operators, material law –Efficient (inlining) and very general –An operator that computes must exist –That type safety helps developer not to make mistakes

Algebraic and ODE Solvers Interfaces –to serial linear system solvers: Sparskit, IML,… –to parallel solvers: PetSC, SuperLU –to ODE solvers: PesSC, DASPK Internal Trellis solvers –Newton, BFGS –classical ODE solvers: CN, RK...

Navier-Stokes in 4 lines of code Constraints: fix components to a value

Channel flow, Re=625

Natural convection (time dependant)

Heated from below Natural convection –Ra = 10 5 –Semi-implicit

Magneto-hydrodynamics Tilt instability –Dipole of current (  b) oppositely directed (repelling forces) in a constant b ( confining field) –dipole starts turning in order to align the external magnetic field (minimize magnetic energy) –repelling effect is able to expel vortices –Instability: kinetic energy grows like exp(  t) with  = O(1.4)

Magneto-hydrodynamics Characterization of ker (div) –From “inside”, with potentials –From “outside” with Lagrange multipliers (pressure and electric potential). SUPG stabilization (modified upwind operators b’ and ’ )

Results for a Tilt instability –Magnetic potential a with b =  ( ae z ), p=1 and p=3 (v and b)

Results for the Tilt instability Magnetic Flux Density and Velocity

Results for the Tilt instability Kinetic energy vs. time

Current Current density j e z =  b Oscillations observed –SUPG Stabilization for higher order (p=3) may not be sufficient

Conclusions Multiparadigm design in C++ –Higher level objects, Object Oriented –Kernel, Generic Trellis –Operator based, linear and non-linear –Complex physics easy to implement Future –Parallel (in progress) and adaptive (in progress)