PDE Modeling with Modelica via FMI import of Hiflow3 C++ Components with Parallel Multi-Core SimulationsShow others and affiliations
2014 (English)Conference paper, Published paper (Refereed)
Abstract [en]
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 of 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 parallelusing 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.
Place, publisher, year, edition, pages
2014.
Keywords [en]
Modelica, HiFlow3, OpenModelica, Partial Differential Equations, Finite Element Method, Functional Mock-Up Interface, Multi-Core, Parallel Computing
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
URN: urn:nbn:se:liu:diva-114205OAI: oai:DiVA.org:liu-114205DiVA, id: diva2:788225
Conference
In Proceedings of the 55th Scandinavian Conference on Simulation and Modeling (SIMS’2014),Aalborg, Denmark, Oct 21-22.
2015-02-132015-02-132017-03-28Bibliographically approved