Matlab Code to extract the matrices from .op4 file format of MSC Nastran to readable .csv format

조회 수: 33 (최근 30일)
Hello All,
I am in the process of performing Craig Bampton Model Order Reduction on a model to obtain its flexibility in Simscape.
I have performed the FE analysis on MSC Nastran and extracted the file containing the mass and stiffness matrices in .op4 file format.
Can you please tell me if there is any code in Matlab to extract the matrices from the .op4 file format and convert into a readable .csv form?
Thank you in advance
Goutham Sajja

채택된 답변

Ananya Tewari
Ananya Tewari 2021년 4월 1일
Hi,
As of now there is no direct function to read .op4 file and extract the matrices from it.
Please refer to this question, for extracting data from .op4 files. An alternative would be using ExportNastranKM from File Exchange.
Hope this helps !
  댓글 수: 1
William VILLERS
William VILLERS 2021년 10월 15일
I fail to see how this is an accepted answer... The thread is a code sample from 3 years ago reading a subset of an op4 with a question on performance improvement... The only response is "I don't know, but try this".
The question remains: is there somewhere a generic op4 reader that can read and store the different matrices stored in the op4 created by a Nastran superelement run?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multibody Modeling에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by