Read Nastran Pch File
Posted By admin On 17/06/18Hi there, I am trying to couple NASTRAN and MATLAB to run itiratively. Bang for running a batch.bat file which inturn runs the specified.bdf file in NASTRAN. Now, my problem is reading the required deflection and forces data from the nastran output.f06 file back into MATLAB. I am able to read the whole file with all that messy huge data.
Reading Nastran.pch files. I am trying to write a set of functions for importing data from NASTRAN output files. I've started with import routine for *.pch files. Solved: Hello, Is there a simple way to read PCH result files from Nastran with Femap? If no, maybe someone has a script to do so? Thanks - 23683. Sep 21, 2011 I am searching for an import routine to read NASTRAN punch files for. In read the PUNCH file of nastran with matlab. To read the PCH file in 60. Hi I've ran a random vibration analysis (sol 111) and I have made an element stress punch file (ELSTRESS(SORT2,PUNCH,REAL)), but when I open the file I don't kn.
But I am not able to sort out only required numerical data from the huge data of strings n unwanted numbers. Kind help will be much appreciated. From the.f06 file description: This is the main Nastran output file. It contains the results of your analysis such as displacements and stresses.
It is in ASCII format so it can be viewed in any text editor. Vanampadi Old Tamil Movie Songs. It also contains warning messages, error messages, and diagnostic messages to help the user evaluate the quality of the analysis results.
It is a text file that could be opened with textscan(), importdata(), and the like. What function are you using? From your post I am guessing you are reading it as binary data. Another possibility is that the text file and Matlab are using different encodings, so you could check for that. I have never worked with Nastran, but I imagine that there will be some structure to how the text data is stored. Then you would need to pass the proper arguments to your import function.
If your question is how can I automagically import.f06 data to Matlab then then answer is you can't (as far as I know, but you could always look in the file exchange). I am afraid some effort might be required. Thanks u very much Jose-Luis. I have been able to import the NASTRAN output f06 file. That file generally has huge information including lots of strings and numbers. As you said, it is taking quite a bit of effort.