0
$\begingroup$

I need to import in Matlab the results (like time histories of diplacement or frequency response at a specific point) obtained from a FEM analysis in Nastran.

At the moment I ask Nastran to save the results on a file .dat and then I upload this file into Matlab. The fact is that Nastran organizes the data in a way that is not easy to work with, therefore I have to manually re-organize the file before loading it in Matlab.

Is there a more fast and efficient way to do this operation?

Are there toolboxes already implemented in Matlab that are compatible with FEM software outputs?

$\endgroup$
2
  • 1
    $\begingroup$ Have you checked this: personal.psu.edu/rlc138/FePostProc/fePostProc.html ? $\endgroup$
    – nicoguaro
    Jan 10, 2015 at 16:24
  • $\begingroup$ Thank you, I'll try it although it works only with some nastran analysis, like normal modes and frequency response $\endgroup$
    – Rhei
    Jan 11, 2015 at 10:13

1 Answer 1

0
$\begingroup$

I finally found a way to import the data I need from Nastran to Matlab.

To do that I used Patran as post-processor.

First of all you need to plot the results you are interested in using the "Graph" option in the "Results" tab.

Once you have created all the plots you need you have to click on "Utilities" --> "Results" --> "Write XY curves to file...".

The select the plot you need to import and click on "Apply".

In the same folder where you saved your model you will find the files which contain your data. Convert it to .txt or to .dat to import them in Matlab.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.