关键词:通信;数据传输;并行处理;仿真模拟;遗留代码
摘 要:This report presents a method for running a dynamic legacy inlet simulation in
concert with another dynamic simulation that uses a graphical interface. The
legacy code, NASA's LArge Perturbation INlet (LAPIN) model, was coded using the
FORTRAN 77 (The Portland Group, Lake Oswego, OR) programming language to run in
a command shell similar to other applications that used the Microsoft Disk
Operating System (MS-DOS) (Microsoft Corporation, Redmond, WA). Simulink
(MathWorks, Natick, MA) is a dynamic simulation that runs on a modern graphical
operating system. The product of this work has both simulations, LAPIN and
Simulink, running synchronously on the same computer with periodic data
exchanges. Implementing the method described in this paper avoided extensive
changes to the legacy code and preserved its basic operating procedure. This
paper presents a novel method that promotes inter-task data communication
between the synchronously running processes.