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.

56<br />

from the right, in each trailer word and beginning with trailer word 1. The table below<br />

shows that correspondence between a trailer bit and its word and bit location in the<br />

trailer.<br />

Trailer Bit<br />

For example, the GRID record in the GEOM1 data block is assigned to trailer bit 45<br />

which corresponds to the 4th bit position, numbered from the right, in trailer word 3.<br />

Based on the trailer bit, the following FORTRAN statements may be used to determine<br />

the corresponding trailer word and bit position:<br />

WORD = MOD(TBIT-1,96)/16 + 1<br />

BIT = 16*(1+TBIT/97) - MOD(TBIT-1,16)<br />

where TBIT = trailer bit from second word of header record<br />

WORD = trailer word<br />

BIT = trailer word bit position numbered from the right<br />

and all variables are defined as integers.<br />

Location in Trailer<br />

Word Position<br />

1 – 16 1 16 – 1<br />

17 – 32 2 16 – 1<br />

33 – 48 3 16 – 1<br />

49 – 64 4 16 – 1<br />

65 – 80 5 16 – 1<br />

81 – 96 6 16 – 1<br />

97 – 112 1 32 – 17<br />

113 – 128 2 32 – 17<br />

129 – 144 3 32 – 17<br />

145 – 160 4 32 – 17<br />

161 – 176 5 32 – 17

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

Saved successfully!

Ooh no, something went wrong!