Save every simulation steps result in csv

sudo
sudo Altair Community Member

Hi!

I am using MotionView to perform a motion analysis of a two-wheeler scooter with a CVT. I can view the results using the Report tool.

However, I need to save the data (e.g., velocity, throttle, gear ratio, etc.) for every simulation step (e.g., every second or frame) into a CSV file.

How can I achieve this? Thanks in advance!

Best Answer

  • GTT Adam
    GTT Adam
    Altair Employee
    Answer ✓

    Hi @sudo,

    After simulating this UTV model, I can load the results into HyperGraph via the PLT or ABF file. In this case, I will plot the lateral acceleration:

    (Ps. I am not sure why these pictures are coming out so faded. I'll update when I find out why.)

    After creating the plot, simply go to File » Export » Curves:

    It will only display the curves you had already plotted, as shown:

    Hope this helps!

    Adam Reid

Answers

  • GTT Adam
    GTT Adam
    Altair Employee

    Hi @sudo,


    After plotting results in HyperGraph, you can go to File » Export » Curves, then choose the CSV Blocks file type for export.

    Hope this helps!

    Adam Reid

  • sudo
    sudo Altair Community Member

    Thanks for the response @GTT Adam .

    I was able to export the output to csv. However the data looks like this which doesn't contain the outputs that I need.


    I want to get these outputs (torque, belt forces, radius, etc. ) from the model:

    How can I achieve this? Thanks in advance

  • GTT Adam
    GTT Adam
    Altair Employee
    Answer ✓

    Hi @sudo,

    After simulating this UTV model, I can load the results into HyperGraph via the PLT or ABF file. In this case, I will plot the lateral acceleration:

    (Ps. I am not sure why these pictures are coming out so faded. I'll update when I find out why.)

    After creating the plot, simply go to File » Export » Curves:

    It will only display the curves you had already plotted, as shown:

    Hope this helps!

    Adam Reid

  • sudo
    sudo Altair Community Member

    Thanks @GTT Adam .

    I was able to gather all the outputs I need.