Motionview/solve

Hello, I am in the process of trying to import data after an analysis to matlab. After my analysis i get the plt, abf files. plt is in readable form but i cant seem to find a way to identify my desired output (Acceleration-TIme). How can I get the specific output and import it in atlab in an automated way. (I know I can do it via Hyperview-export but I want it to be automated).
Best Answer
-
Hi @Pantelis_Myrio,
As @Vishvam has stated, the Compose approach sounds to be the exact process you are describing. The CAE Reader tool can be used to generate the syntax you want to import the PLT file. Then, with a few extra lines in Compose, can export all of the data in a more Matlab-friendly format like CSV.
I went ahead and wrote a script to accomplish this task for you, please find it attached. Feel free to modify it as needed and let me know if you have any issues with it.
Hope this helps!
Adam Reid
OPERATION
- Open Compose
- Open export_plt_as_csv_v003.oml
- Run the script
- Multiselect the PLT files to convert
OUTCOME
Upon completion, your OML Command Window should show something similar to the following:
The CSV file will be presented in the following format:
ATTACHMENTS
0
Answers
-
Hello @Pantelis_Myrio
Have you created an output request in Motionview for the Acceleration-Time results? If it has been created it should be available in the plt file. Here is the process of creating the outputs if in case you have missed it.
Might I also suggest Altair Compose for this process. It's very similar to matlab but uses OML scripting. The advantage in Compose is we have a CAE Reader plugin, which directly reads the plt data or any other result files like h3d, abf, mrf etc., and can be easily used to automate the process. The OML language is same as matlab, so it will be easy to start working on it immediately.
Hope this helps!
0 -
I have already created the output for acceleration and I can see the request in plt file. But in the plt file the values of this request are not clear (all the requests are mixed I guess). Apart from Compose, is there any easier way to recognise the values of the exact request ?
0 -
Hi @Pantelis_Myrio,
As @Vishvam has stated, the Compose approach sounds to be the exact process you are describing. The CAE Reader tool can be used to generate the syntax you want to import the PLT file. Then, with a few extra lines in Compose, can export all of the data in a more Matlab-friendly format like CSV.
I went ahead and wrote a script to accomplish this task for you, please find it attached. Feel free to modify it as needed and let me know if you have any issues with it.
Hope this helps!
Adam Reid
OPERATION
- Open Compose
- Open export_plt_as_csv_v003.oml
- Run the script
- Multiselect the PLT files to convert
OUTCOME
Upon completion, your OML Command Window should show something similar to the following:
The CSV file will be presented in the following format:
ATTACHMENTS
0 -
Hi @Pantelis_Myrio,
I hope these responses were helpful.
If any of them answered your question, please make sure to mark one of them as Correct so other Users can quickly find the solution as well.
Thanks,
Adam Reid
0