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.

MPYAD A , B , / D $<br />

Instructions<br />

According to the MPYAD module description, if C is unspecified, then only the matrix<br />

multiplication of A and B is performed. Also, by default, T=0 and therefore A is not<br />

transposed. SIGNAB and SIGNC parameters are defaulted to 1 resulting in:<br />

[D] = [A][B]<br />

However, if no default is defined in the MPL, then a constant or variable parameter<br />

must be specified for the first parameter. For example,<br />

-- NO DEFAULT --<br />

on the PARAML module indicates there is no default value for the first parameter.<br />

The first comma after the module name can be omitted as long as the first input data<br />

block name is specified. For example, the ELTPRT module has the following format:<br />

ELTPRT ECT,GPECT,BGPDT,UNUSED4,EST,CSTM,MPT,DIT,CASECC/<br />

VELEM/PROUT/S,N,ERROR $<br />

To obtain a printout of the elements connected to each grid point, only GPECT and<br />

BGPDTS need to be specified; however, a comma must also be specified after the<br />

module name:<br />

In addition, trailing commas can be left unspecified:<br />

Parameters can be specified on a module as:<br />

input only<br />

input and output<br />

output only<br />

ELTPRT , ,GPECT,BGPDTS,,,,,,/ $<br />

ELTPRT , ,GPECT,BGPDTS,,,,,,/ $<br />

Each module has its own rules for parameter specification, as described in “Detailed<br />

Descriptions of <strong>DMAP</strong> Modules and Statements” on page 766. If a parameter is<br />

specified as input, then either a constant or variable can be specified. Note that<br />

character strings or variables specified for parameters are limited to eight characters<br />

in length.<br />

For example, the first parameter of the ADD module specifies a scalar multiplier of<br />

1+2i on the first input matrix:<br />

ADD A , B / C / (1.,2.) $<br />

19

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

Saved successfully!

Ooh no, something went wrong!