Conference article

PDE Modeling with Modelica Via FMI Import of HiFlow3 C++ Components with Parallel Multi-Core Simulations

Kristian Stavåker
Department of Computer and Information Science, Linköping University, Sweden

Peter Fritzson
Department of Computer and Information Science, Linköping University, Sweden

Chen Song
Engineering Mathematics and Computing Laboratory, Interdisciplinary Center for Scientific Computing, University of Heidelberg, Germany

Martin Wlotzka
Engineering Mathematics and Computing Laboratory, Interdisciplinary Center for Scientific Computing, University of Heidelberg, Germany

Vincent Heuveline
Engineering Mathematics and Computing Laboratory, Interdisciplinary Center for Scientific Computing, University of Heidelberg, Germany

Download article

Published in: Proceedings of the 55th Conference on Simulation and Modelling (SIMS 55), Modelling, Simulation and Optimization, 21-22 October 2014, Aalborg, Denmark

Linköping Electronic Conference Proceedings 108:17, p. 184-191

Show more +

Published: 2014-12-09

ISBN: 978-91-7519-376-2

ISSN: 1650-3686 (print), 1650-3740 (online)

Abstract

The Modelica modeling and simulation language is widely used in academia and industry to model complex, coupled dynamic systems which can be described by systems of ordinary differential equations (ODE) or differential algebraic equations (DAE). Recent work by the authors showed a way to enable partial differential equation (PDE) modeling with Modelica via functional mock-up interface (FMI) import of C++ components based on the multi-purpose finite element library HiFlow3. The finite element method (FEM) is largely used in both research and industry as a reliable technique for solving PDE problems. In contrast to methods based on language extensions or automatic semi-discretizations in space, the approach with FMI import of HiFlow3 components into Modelica requires no change to the Modelica language, enables the use of specialized PDE solvers, and it allows for full flexibility in the choice of geometry, model parameters, and space discretization between simulation runs without recompilation. However, the computationally intensive PDE solving part in this approach can form a bottleneck in the simulations. In this work, we enhance the PDE solver by using a distributed memory parallelization based on a domain decomposition. As an example application, we consider a mechanical linear elasticity problem consisting of physical forces applied on a beam. Beams, plates and shells are common elements for solid structures with a sizable quantity of application in engineering design, appearing in fuselage, ship hulls, concrete roof structure, etc. The derivation of elastic stress strain relations is a crucial point for mechanical analysis and validation, as the bending properties of the structure effects greatly the stability properties. In this work the actual beam is modeled and solved in parallel using a C++ HiFlow3 component whereas the physical force acting on the beam is modeled using Modelica. We use the OpenModelica development environment but the same approach can be adapted to other Modelica environments.

Keywords

Modelica; HiFlow3; OpenModelica; Partial Differential Equations; Finite Element Method; Functional Mock-Up Interface; Multi-Core; Parallel Computing

References

No references available

Citations in Crossref