Table of Contents Author Guidelines Submit a Manuscript
Modelling and Simulation in Engineering
Volume 2016, Article ID 1756124, 19 pages
http://dx.doi.org/10.1155/2016/1756124
Research Article

Development of the Object-Oriented Dynamic Simulation Models Using Visual C++ Freeware

1Finnstastigen 84, Bro, 197 35 Stockholm, Sweden
2Faculty of Applied Mathematics and Control Processes, St. Petersburg State University, Universitetsky Prospekt 35, Petergof, St. Petersburg 198504, Russia

Received 22 September 2015; Accepted 14 December 2015

Academic Editor: Luis Carlos Rabelo

Copyright © 2016 Alexander I. Kozynchenko and Sergey A. Kozynchenko. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract

The paper mostly focuses on the methodological and programming aspects of developing a versatile desktop framework to provide the available basis for the high-performance simulation of dynamical models of different kinds and for diverse applications. So the paper gives some basic structure for creating a dynamical simulation model in C++ which is built on the Win32 platform with an interactive multiwindow interface and uses the lightweight Visual C++ Express as a free integrated development environment. The resultant simulation framework could be a more acceptable alternative to other solutions developed on the basis of commercial tools like Borland C++ or Visual C++ Professional, not to mention the domain specific languages and more specialized ready-made software such as Matlab, Simulink, and Modelica. This approach seems to be justified in the case of complex research object-oriented dynamical models having nonstandard structure, relationships, algorithms, and solvers, as it allows developing solutions of high flexibility. The essence of the model framework is shown using a case study of simulation of moving charged particles in the electrostatic field. The simulation model possesses the necessary visualization and control features such as an interactive input, real time graphical and text output, start, stop, and rate control.