PDE Modeling with Modelica via FMI Import of HiFlow3 C++ Components
2013 (English)In: SIMS 54th conference, 2013Conference paper (Refereed)
Despite an urgent need and desire in academia as well as in industry for modeling Partial Differential Equations (PDEs) using the increasingly popular Modelica modeling and simulation language, there is limited support for this available at the moment. In this work, we propose a solution based on importing PDE models with PDE solvers implemented using the general-purpose parallel finite element library HiFlow3 as models into the Modelica environment using the standard Functional Mock-up Interface. In contrast to methods based on language extensions or automatic semidiscretizations in space, this approach requires no change to the language, and enables the use of specialized PDE solvers. Furthermore, it allows for full flexibility in the choice of geometry, model parameters, and space discretization between simulation runs without recompilation needed. This makes it possible to exploit advanced features of the PDE solver, such as adaptive mesh refinement,and to build complex multi-physics simulations by coupling different models, of both PDE and DAE type, in a straightforward manner using Modelica. We illustrate our method with an example that couples a Modelica Proportional-Integral-Derivative controller to a PDE solver for the unsteady heat equation in a 3D domain.
Place, publisher, year, edition, pages
Modelica, HiFlow3, OpenModelica, Partial Differential Equations, Finite Element Method, Functional Mock-Up Interface
Electrical Engineering, Electronic Engineering, Information Engineering
IdentifiersURN: urn:nbn:se:liu:diva-110333OAI: oai:DiVA.org:liu-110333DiVA: diva2:744353
Scandinavian Conference on Modeling and Simulation (SIMS’2013), 16-18 October 2013, Bergen, Norway