Teaching partial differential equations (PDEs) carries inherent difficulties that an interactive visualization might help overcome in an active learning process. However, the generation of this kind of teaching material implies serious difficulties, mainly in terms of coding efforts. This work describes how to use an authoring tool, Easy Java Simulations, to build interactive simulations using FreeFem++ (Hecht F 2012 J. Numer. Math. 20 251) as a PDE solver engine. It makes possible to build simulations where students can change parameters, the geometry and the equations themselves getting an immediate feedback. But it is also possible for them to edit the simulations to set deeper changes. The process is ilustrated with some basic examples. These simulations show PDEs in a pedagogic manner and can be tuned by no experts in the field, teachers or students. Finally, we report a classroom experience and a survey from the third year students in the Degree of Mathematics at the University of Murcia.
Purpose Computer simulations improve the knowledge of physical models and are widely used in teaching and research. Key aspects are to understand their solutions and to make interactive changes to the models, observing their effects in real-time. The drawback of creating interactive simulations of physical models is the high level of programming expertise required. The purpose of this study is to facilitate this task. Design/methodology/approach Java is the perfect language for this task; it yields high-quality graphics and is widely spread in the scientific community. Because many important physical models are described by means of partial differential equations (PDEs), the combination of Java with FreeFem++, a C++ PDE solver based on the finite element method, is considered. Findings In this study, a Java library is introduced to numerically solve PDE equations via a run-time connection with FreeFem++. The solution is encapsulated into Java objects that are ready to be used in different programming tasks. The library also includes new Java visualization elements for solutions and meshes in the context of the Open Source Physics project library. Together, the connection features and the visualization elements facilitate the creation of Java simulations by programming researchers. For those with less programming capabilities, this work has been included into Easy Java Simulations, a tool to further ease the creation of interactive simulations. Originality/value The present study approach allows simulating models given PDEs. The equations are solved either in local or in remote mode (e.g. by a network accessible to a high-performance computer) and visualized locally, providing a high degree of interactivity to the end user.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2025 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.