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.

794<br />

APPEND<br />

Concatenate two data blocks<br />

REAL Input-real-default=0.0. Real value in the next record.<br />

REALD Input-complex-default=0.D0. Complex value in the next record.<br />

CMPX Input-complex-default=(0.0,0.0). Complex value in the next record.<br />

CMPXD Input-complex double precision-default=(0.D0,0.D0). Complex double<br />

precision value in the next record.<br />

CHAR Input-character-default='XXXXXXXX'. Character value in the next<br />

record.<br />

Remarks:<br />

1. Under IOPT = 2, the output matrix data block is actually used as an input and<br />

must be declared APPEND in a FILE <strong>DMAP</strong> statement.<br />

2. Both inputs must be of the same type matrix.<br />

3. Either IN1 or IN2 may be purged. For IOPT = 2, IN2 must be purged.<br />

4. In matrix appends, string formatted records are copied from one matrix data<br />

block to another.<br />

5. In table appends, the header record is skipped on the appended file and all<br />

remaining records. Also, the trailer of OUT will be set to that of IN2 (IOPT = 1) or<br />

IN1 (IOPT = 2).<br />

6. It is recommended that the OUT data block be a scratch data block. In other<br />

words, it should not be saved on a permanent DBset.<br />

7. For values of IOPT -16, -17, -18, -19, or -2<br />

the order of the parameters written is reversed. For example, IOPT=-20 causes<br />

CHAR to be written first, then NULL2.<br />

8. If NULL1>0, then a type indicator value is written in the word mmediately<br />

preceding the word(s) containing the value of the parameter. The type codes are:<br />

0:INT, 1:REAL, 2:REALD, 3:CMPX, 4:CMPXD and 8:CHAR.<br />

9. For IOPT>9, trailer word 1 will contain a count of the number of data records on<br />

the file and word 2 will contain the value of the NULL1 parameter.<br />

Examples:<br />

1. Generate a matrix [U] whose five columns are a vector {US} multiplied by the<br />

column number.<br />

DIAG 8<br />

SOL X<br />

COMPILE X<br />

SUB<strong>DMAP</strong> X<br />

TYPE PARM,,CS,N,CF $<br />

TYPE PARM,,RS,N,FACTOR $

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

Saved successfully!

Ooh no, something went wrong!