Marine systems simulation
|
This tutorial explains how to download and compile C++ project which builds some simple models. A simulation comprised of threse models are run.
A project meant for learning development of SimObjects can be dowloaded by:
If your environment is set up correctly, and you have the correct access to Artifactory, you should be able to compile this project with visualization by running:
You should now have a Visual Studio solution file in <PROJECT_DIR>/buildVis
.
First, download a license file here.
In the following, it is assumed that you are using the Debug
configuration and have built the project with visualization.
FhsimTutorialLibrary
and select Set as startup project
.FhsimTutorialLibrary
and select Properties
.Debugging
FhVis_d
<INPUT_FILE>
<PLAYPEN_DIR>/bin
<F5>
to start the simulation.Some of these properties may be found using the browse
-button.
<INPUT_FILE>
may e.g. be C:\_work\_DEV\_FhSim\fhsimTutorial\input\MassLinearSpring.xml
<PLAYPEN_DIR>
may be e.g. C:\_work\_DEV\FhSimPlayPen_vs14-64
Start a command prompt and execute the following: