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.

42<br />

Processing of User Errors<br />

1.9 Processing of User Errors<br />

Modules used in Phase I of the superelement SOLution sequences (SOLs 101 through<br />

200) include an option to continue processing after fatal errors are discovered and<br />

printed in the output file. The module completes processing as best it can and then sets<br />

a special integer parameter named NOGO to -1. The output files may be purged or<br />

incomplete. If no errors are discovered, NOGO is set to 0. The <strong>DMAP</strong> writer can<br />

choose to branch to the end of a loop or take other actions when error conditions are<br />

discovered. This option is selected by setting SYSTEM cell 82 to 1. Users who insert<br />

alters into Phase l should be aware of this option.<br />

An example of this option, based on the method used in SOLs 101 through 200, is:<br />

PUTSYS(1,82) $ALLOWS <strong>DMAP</strong> TO FIELD NOGO FLAGS<br />

.<br />

.<br />

.<br />

GP2 GEOM2S,EQEXINS,,GEOM2A,EPTA/ECTS,ECTAS $<br />

IF ( NOGO = -1 ) THEN $<br />

CALL ERRPH1 //SUB<strong>DMAP</strong>/0/-1/DUMMY $ LOOPER<br />

RETURN $ CONTINUE TO NEXT SE ALTHOUGH<br />

ENDIF $ ERROR FOUND IN CURRENT SE<br />

.<br />

.<br />

.<br />

PUTSYS (0,82) $ DISALLOWS <strong>DMAP</strong> TO FIELD NOGO FLAGS<br />

The GEOM2S file contains element connectivity data. If the GP2 module detects errors<br />

in this data, it will set NOGO to -1.<br />

Modules that presently have this option include:<br />

DCMP MGEN<br />

DECOMP MTRXIN<br />

DYCNTRL SEDR<br />

EMG SELA<br />

GP2 SEMA<br />

GP3 SSG1<br />

GP4 TA1<br />

LCGEN

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

Saved successfully!

Ooh no, something went wrong!