Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Export results into seperate file during solution automatically

Phenom
Phenom

Hello experts,

short question: Is there a way to export (or print) specific results directly into an ASCII-file without post processing?

Printing it into f06-file by means of "Solution Output Request" in SimCenter (NX 10) is not the way I mean, because that's really overcrowded. Sometimes that file is of a gigantic size (e.g. 800MB) that I have no editor to open it or extract information from that.

As f06 is only the FORTRAN-output channel no. 6 I wonder if there are additional output channels for "free use" ?

Is there a way to redirect special output streams?

 

I need an automatically created file with elemental strain energy density for all elements. At the moment I use SOL101.

Who can help? - Best wishes, Michael

 

| Production: NX10; Development: VB, TCL/TK, FORTRAN; Testing: NX11 | engelke engineering art GmbH, Germany
| Kudos for good posts! And if my post answers your question, please mark it as an "Accepted Solution".

Kick Off (2015-09-14)On the Map (2016-10-21)1st Gear 2018 (2018-02-19)To the Rescue (25, ‎2018-02-24)5th Birthday! (2018-02-25)Popular (100, ‎2018-10-30)Prolific (100, 2019-02-27)Philosopher (500, ‎2019-02-28)

5 REPLIES 5

Re: Export results into seperate file during solution automatically

Siemens Phenom Siemens Phenom
Siemens Phenom

If you use the "PUNCH" output option, the specified results for selected nodes/elements will be written to the PCH file. This is a condensed version of the .f06 format: the same reslults data without all of the page/column headers.

Re: Export results into seperate file during solution automatically

Phenom
Phenom

JimB,

thank you for answering. The format of punch file is special but a little bit self-explanatory.

I guess I have to try to find the right results in the columns of that file. The measurement units are different from post processor so I believe I have to use the units given in DAT file, right?

 

Nevertheless a good chance to ask, is there a description of PUNCH file? Which component is in which column? I need a little bit help.

 

See here my conclusions and problems:

$TITLE   =                                                                     1
$SUBTITLE=                                                                     2
$LABEL   = LC1_FX_SCHUB                                                        3
$DISPLACEMENTS                                                                 4
$REAL OUTPUT                                                                   5
$SUBCASE ID =           1                                                      6
        87       G      1.629659E+00     -2.945256E-03     -1.814055E-01       7
-CONT-                  0.000000E+00      0.000000E+00      0.000000E+00       8
        88       G      1.441063E+00     -3.940322E-03     -1.789713E-01       9
-CONT-                  0.000000E+00      0.000000E+00      0.000000E+00      10
        89       G      1.256296E+00     -4.810100E-03     -1.743457E-01      11
...
...
...
      1284       G      0.000000E+00      0.000000E+00      0.000000E+00    4605
-CONT-                  0.000000E+00      0.000000E+00      0.000000E+00    4606
      1285       G      4.418432E-04      0.000000E+00      0.000000E+00    4607
-CONT-                  0.000000E+00      0.000000E+00      0.000000E+00    4608
$TITLE   =                                                                  4609
$SUBTITLE=                                                                  4610
$LABEL   = LC1_FX_SCHUB                                                     4611
$ELEMENT STRAIN ENERGIES                                                    4612
$REAL OUTPUT                                                                4613
$SUBCASE ID =           1                                                   4614
       177              8.785474E+02      9.606533E-02      7.028379E+00    4615
       178              8.785464E+02      9.606522E-02      7.028371E+00    4616
...
...
...
       284              2.730668E+03      2.985867E-01      2.184534E+01    4722
       285              1.498755E+03      1.638823E-01      1.199004E+01    4723
       286              1.498753E+03      1.638821E-01      1.199002E+01    4724
       287              6.725591E+02      7.354140E-02      5.380472E+00    4725
       288              6.725585E+02      7.354135E-02      5.380468E+00    4726

>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I can identify for Displacement block:

 

1st column: grid point number

2nd column: G

3rd column: displ u.x in mm in absolute rectangular cs

4th column: displ u.y in mm in absolute rectangular cs

5th column: displ u.z in mm in absolute rectangular cs

6th column: number of row in PCH-file

 

I guess the  -CONT- row describes the rotations r.x, r.y, r.z in a specific measurement unit in absolute rectangular cs

 

So what means "G"? - Grid point or global?

What is the standard measurement unit of rotations?

 

Angles are not named in DAT file:

$*                UNITS: mm (milli-newton)
$*                      ... LENGTH : mm
$*                      ... TIME   : sec
$*                      ... MASS   : kilogram (kg)
$*                      ... TEMPERATURE : deg Celsius
$*                      ... FORCE  : milli-newton
$*                      ... THERMAL ENERGY : mN-mm (micro-joule)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I can identify for elemental strain energy block

1st column: element number

2nd column: elemental strain energy in mN-mm

3rd column: ???

4th column: elemental strain energy density in mN-mm/mm³

5th column: Number of row in PCH-file

 

What's the 3rd column?

2018-08-24_105640.png

 

A little bit additional help would be good. Best wishes, Michael

| Production: NX10; Development: VB, TCL/TK, FORTRAN; Testing: NX11 | engelke engineering art GmbH, Germany
| Kudos for good posts! And if my post answers your question, please mark it as an "Accepted Solution".

Kick Off (2015-09-14)On the Map (2016-10-21)1st Gear 2018 (2018-02-19)To the Rescue (25, ‎2018-02-24)5th Birthday! (2018-02-25)Popular (100, ‎2018-10-30)Prolific (100, 2019-02-27)Philosopher (500, ‎2019-02-28)

Re: Export results into seperate file during solution automatically

Siemens Phenom Siemens Phenom
Siemens Phenom

Yes, Nastran is a unitless solver. It assumes that all data in the input deck are in a consistent set of units, but does not care what the specific system is.

 

My typical process for figuring out pch file format is to both print results to f06 and punch to the pch file. The same data appears in both files in the same order. The only difference is that the punch files has no page breaks, headers, etc. You can use the headers in the .f06 to figure out the order of data in the pch file.

 

Information on the .f06 output is located in the online docs at: Output Listing Examples

 

Some exerpts:

 

  1. Displacements (See that G = Grid Point):

Displacement.png

 

  1. Strain Energy (see that third column is % of total strain energy):

 StrainEnergy.png

Re: Export results into seperate file during solution automatically

Phenom
Phenom

Hi JimB, thank you for answering. It's good to have these information. Best wishes, Michael

| Production: NX10; Development: VB, TCL/TK, FORTRAN; Testing: NX11 | engelke engineering art GmbH, Germany
| Kudos for good posts! And if my post answers your question, please mark it as an "Accepted Solution".

Kick Off (2015-09-14)On the Map (2016-10-21)1st Gear 2018 (2018-02-19)To the Rescue (25, ‎2018-02-24)5th Birthday! (2018-02-25)Popular (100, ‎2018-10-30)Prolific (100, 2019-02-27)Philosopher (500, ‎2019-02-28)

Re: Export results into seperate file during solution automatically

Valued Contributor
Valued Contributor

Hi MiDi1791

The columns of the PUNCH file are described in the section 7,  "Item Codes" of the Quick Reference Guide.

Peter