Interfacing with Carsim
MotionView can interface with Mechanical Simulation Corporation’s Carsim product.
- Plotting Carsim .csv file.
- Preparing suspension .par files.
- Linking HyperStudy to Carsim or a Matlab/Simulink controls model that contains a Carsim S-function. See the HyperStudy on-line help for information about linking HyperStudy and Carsim/Matlab.
Plotting Carsim .csv Files
The MotionView plot window functions are available to the Carsim user. In the Build Plots panel, if you point to the .csv file that is created from the Carsim .bin file, all signals become available to plot. You can then use the signal processing, macro, and reporting capabilities of the plot window.
Preparing Suspension .par Files
MotionView allows you to construct suspensions from the Vehicle Dynamics and Suspension MDL libraries that are included with the product. For half-car models, you can select the Kinematics and Compliance task and run the simulation with MotionSolve or ADAMS. You can then load the automated reports to visualize the Kinematics and Compliance plots and use the automated MotionView report to create a .par file that can be read into Carsim.
Solving the Suspension Kinematics and Compliance Task
- MotionSolve
- MotionSolve is MotionView's built-in motion solver. It provides solutions for forces, displacements, velocities, and accelerations directly from the MDL models in MotionView. You can animate the results in MotionView using the .mdl/.mrf files. You can plot the results using the .abf file.
- ADAMS
- To simulate the system using ADAMS, you must register a launch script that MotionView uses when you click Run on the Run panel. See *RegisterSolverScript() in the on-line help, or contact mvsupport@altair.com for details about the initial setup of this launch script. When complete, you need to only select ADAMS from the Solvers menu and follow a similar Run procedure as described above for MotionSolve. The ADAMS simulation produces a .gra file for animation and .req file for plotting.
Creating Plots, Animation, and Carsim .par file
MotionView contains a prescribed report for many of the common plots, the animation of the kinematics and compliance simulation, and the .par file generation. Reports define the pages and windows of the session and signals to be plotted, but allow the actual result filename to be parametric, therefore allowing it to be applied to different iterations.
- Obtain the automated report for plots and animation
- Select Front (or Rear) KC Report and click OK.
- Obtain a .par file
- Select Front (or Rear) Carsim Export from the View Reports dialog and click OK.
Load .par files into Carsim
Carsim version 6.0 and greater allows you to load in a .par file when you are in the vehicle editing level of the Carsim interface. See the Carsim on-line help for additional information about loading .par files.
Construct a Suspension Model
- Construct the model using the Assembly Wizard (located on the Model menu).
- Include a steering column in the model.
-
Select Yes for the Complaint
option.
This provides the Kinematics and Compliance task as an option later. The Carsim preparation is entirely based on the MotionView Kinematics and Compliance task.
Create Analysis Task
- Load the model.
- From the Analysis menu, select Task Wizard.
-
Select Kinematics and Compliance.
This appends an analysis to your model that exercises the suspension with vertical, lateral and longitudinal forces, and an aligning torque.
You need to update the default data with data that represents your actual suspension. This can be done through the various entity panels in MotionView, or by loading an MDL Property Definition File (PDF file).