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.

2<br />

Introduction to <strong>DMAP</strong><br />

1.1 Introduction to <strong>DMAP</strong><br />

<strong>NX</strong> <strong>Nastran</strong> <strong>DMAP</strong> (Direct Matrix Abstraction Program) is a high-level language with<br />

its own compiler and grammatical rules. This section provides a summary description<br />

of the <strong>NX</strong> <strong>Nastran</strong> <strong>DMAP</strong> language, rules, and syntax.<br />

A <strong>DMAP</strong> program consists of a series of functional blocks called “modules,” each of<br />

which has a unique name and a specific function. Modules are executed sequentially;<br />

branching and looping operations are performed by <strong>DMAP</strong> control statements.<br />

Modules communicate through the <strong>NX</strong> <strong>Nastran</strong> Executive System (NES) via logical<br />

collections of data called “data blocks” and “parameters.”<br />

Data blocks come in two distinct forms: “matrices” that obey the rules of matrix<br />

algebra, and “tables” that represent a convenient collection of data items. Data blocks<br />

are given arbitrary names (mnemonic names are recommended) and have header and<br />

trailer information defining their characteristics.<br />

Parameters are scalar items used for specifying control, operation, or system<br />

characteristics. Modules can use “input parameters,” “output parameters,” or both.<br />

Input parameters affect the internal operation of the modules. Output parameters are<br />

used to control <strong>DMAP</strong> logic and/or to pass scalar information to subsequent modules.<br />

Data blocks and parameters can be written onto either scratch or permanent physical<br />

files. When the normal <strong>NX</strong> <strong>Nastran</strong> execution completes, data blocks and parameters<br />

written to scratch files are erased, and those written to the permanent physical file are<br />

available for future use. The NDDL (<strong>NX</strong> <strong>Nastran</strong> Data Definition Language)<br />

designates whether a data block is scratch or permanent. A detailed description of the<br />

NDDL statements can be found in “NASTRAN Data Definition Language (NDDL)”<br />

on page 739.<br />

<strong>NX</strong> <strong>Nastran</strong> provides the user with a variety of prewritten solution sequences. These<br />

solution sequences consist of a series of <strong>DMAP</strong> statements. You can use <strong>DMAP</strong> to<br />

modify these prewritten solution sequences or to write your own solution sequences.<br />

The compilation, linkage, and execution of a <strong>DMAP</strong> program is specified by executive<br />

control statements in the input file. The creation of and access to databases is specified<br />

by file management statements also contained in the input file. File management<br />

statements are described in the “File Management Statements” in Chapter 2 of the<br />

<strong>NX</strong> <strong>Nastran</strong> Quick Reference <strong>Guide</strong>.

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

Saved successfully!

Ooh no, something went wrong!