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.

MATMOD<br />

Matrix modification<br />

If P3 > 0, the 6 x 6 single-precision matrix will be the transformation matrix from<br />

the coordinate system with the coordinate ID = P3 to the basic system. If P3 points<br />

to a cylindrical or spherical coordinate system, then the transformation location<br />

is at the origin of the P3 system. Scalar and extra points contain 1.0.<br />

If P3 = -1, the 6 x 6 single-precision matrix will be the global-to-basic<br />

transformation for each grid point. Scalar and extra points contain 1.0.<br />

2. If SIL is purged, the MATMOD uses LUSET for the size of the g-set. The<br />

assumption is made that only grids exist in the g-set. LUSET must not be zero if<br />

SIL is purged.<br />

Examples:<br />

Transform KGG to another coordinate system.<br />

1. Assume TRANS to be a 6 x 6 transformation matrix and KGG was formed using<br />

only one coordinate system (global coordinate system is the same at each grid<br />

point). Transform KGG using TRANS.<br />

MATMOD TRANS,SIL,,,,/TRANSG,/5 $<br />

TRNSP TRANS/TRANSGT $<br />

SMPYAD TRANSG,KGG,TRANSGT,,,/KGGPRIME/3 $<br />

2. Assume KGG was formed using coordinate system 10 as the global coordinate<br />

system for all grid points. Transform KGG to the basic coordinate system.<br />

MATMOD CSTM,SIL,,,,/TRANSG,/5//10 $<br />

TRNSP TRANSG/TRANSGT $<br />

SMPYAD TRANSG,KGG,TRANSGT,,,/KGGBASIC/3 $<br />

3. Assume KGG was formed using arbitrary coordinate systems as the global<br />

coordinate system for each grid point. Transform KGG to the basic coordinate<br />

system.<br />

MATMOD CSTM,SIL,BGPDT,,,/TRANSG,/5//-1 $<br />

TRNSP TRANSG/TRANSGT $<br />

SMPYAD TRANSG,KGG,TRANSGT,,,/KGGBASIC/3 $<br />

Transform KGGBASIC coordinate system 10.<br />

MATMOD CSTM,SIL,,,,/TRANS10,/5//10 $<br />

TRNSP TRANS10/TRANST10T $<br />

SMPYAD TRANS10T,KGGBASIC,TRANS10,,,/KGG10/3 $<br />

Option P1 = 6<br />

Find the maximum absolute value for each row over all columns of a matrix.<br />

Format:<br />

MATMOD I1,,,,,/O1,/6 $<br />

115

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

Saved successfully!

Ooh no, something went wrong!