|
FhSim
3.1.0
Marine systems simulation
|
This exercise extends fhsim_tutorial with two custom SimObjects.
Create and run:
For each new SimObject, you will:
.h / .cpp files.CMakeLists.txt.fhsim_tutorial.cpp) using ADD_SIMOBJECT_REF.CLinearSpring.h/.cpp to CDampedSpring.h/.cpp.CLinearSpring to CDampedSpring.CMass.h/.cpp to CMultiPortMass.h/.cpp.CMass to CMultiPortMass.See Running a compiled SimObject.
When creating your scenario XML:
SimObject="..." exactly to the registered type name.<INTEGRATION>, migrate to <SIMULATION> + <Integrator Method="..."> as documented in Running simulations.