Support package Universal mechanism
The support package Universal Mechanism provides Engee with the UM solver through a client-server DLL that works in the context of the integrating solver "Universal Mechanism" and exchanges signals with Engee. The package runs on top of the subsystem Engee.Integrations.
Ports are used By default:
-
Receiving signals in UM:
7489 -
Transmitting signals from UM:
7490
Requirements
-
The subsystem is installed and running Engee.Integrations.
-
A "Universal mechanism" has been installed.
-
Integration files:
Engee_UM.dlland configurationsettings.cfgplaced next toumsimul.exe. -
Ports
7489and7490available locally.
Quick start
-
Install or connect the Engee subsystem.Integrations as shown in article.
-
Create a file
settings.cfgnext toumsimul.exe(usuallyC:\Program Files\UM Software Lab\Universal Mechanism\9\bin\umsimul.exe) and set the parameters of the signals:MODEL_NAME OscillatorExample INPUT_SIGNAL_COUNT 3 OUTPUT_SIGNAL_COUNT 3 MODEL_PARAM_COUNT 3 INPUT_SIGNAL_NAMES dX dY dZ OUTPUT_SIGNAL_NAMES Fx Fy Fz MODEL_PARAM_NAMES Cx Cy Cz INIT_MODEL_PARAM 2000 2000 2000 -
Open an example of a harmonic oscillator:
samples\tutorial\oscillator. -
In the "Universal Mechanism", open the Communication wizard: Tools → Interface with external libraries….
-
Add a library
Engee_UM.dlland map the input/output signals to the model variables in the MIND. -
In Engee, run the model; in "Universal Mechanism", click the "Simulation" button. The received signals will be visualized in the MIND according to the logic of the model.
-
When the integrating solver is finished, click "Abort".