11.01.2013 Views

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OUTPUT2<br />

Output a table or matrix into a FORTRAN readable file<br />

• Easier initial usage of OUTPUT2. Most users make several errors while<br />

becoming familiar with the formats.<br />

• User code is not burdened/concerned with physical record boundaries.<br />

• Data can be processed in logical groups rather than in a "blast" read mode.<br />

Major limitations include:<br />

• Matrices cannot be processed in this manner.<br />

• Multiple FORTRAN units cannot be simultaneously processed.<br />

• BACKSPACE operations are not permitted.<br />

Following are descriptions and use of the three OUTPUT2 service routines.<br />

Entry<br />

Point<br />

Description<br />

IOPEN Initializes an OUTPUT2 file and read the label (<strong>NX</strong> <strong>Nastran</strong>).<br />

Format:<br />

CALL IOPEN(IUN,L)<br />

where IUN = An input integer which specifies the unit number to be<br />

read.<br />

L = An output two-word array (2A4) containing the label written on<br />

the unit (L comes from the third parameter in the <strong>DMAP</strong> call).<br />

Method:<br />

IOPEN rewinds IUN and reads in the data, title, and label. The keys are<br />

checked. A key check failure results in the message IOPEN BAD KEYX<br />

= XXXX.<br />

127

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!