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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1219<br />

MODUSET<br />

Modifies the degree-of-freedom set membership table (USET)<br />

COPY Copy degrees-of-freedom from SET0 to MAJOR<br />

EXPAND Extend uset length by USETADD.<br />

MOVE Move SET0 degrees-of-freedom to MAJOR<br />

FILTER Remove degrees-of-freedom from USET that correspond to zero<br />

rows in EDITVEC.<br />

2. EDITVEC may be purged if USETOP≠'FILTER'.<br />

Examples:<br />

1. Scalar degrees-of-freedom 1 through 5 will be defined in the u1-set and u3-set and<br />

scalar degrees-of-freedom 6 through 10 in the u2-set and u3-set.<br />

SOL ...<br />

COMPILE ...<br />

ALTER ...<br />

MODUSET ,,USET/USET1 $<br />

CEND<br />

BEGIN BULK<br />

SPOINT,1,THRU,10<br />

USET1,U1,0,1,THRU,5<br />

USET1,U3,0,6,THRU,10<br />

2. The u1-set will be empty. The u2-set will contain the a-set and the u3-set will<br />

contain the f-set.<br />

MODUSET ,,USET/VSET/'COMP0'/'F' /'U1'/'A' $<br />

MODUSET ,,VSET/WSET/'COMP1'/'F' / /'U2' $<br />

MODUSET ,,WSET/XSET/'UNION'/'U3'/'U1'/'U2' $<br />

3. The following alter puts all degrees-of-freedom automatically constrained by<br />

GPSP into the sg-set.<br />

COMPILE SEKR0<br />

ALTER 'GPSP'(,-1) $ BEFORE GPSP<br />

$ MOVE DOF IN SET SB INTO SET U3<br />

MODUSET, ,USET0/VSET/'MOVE'/'U3'/'SB'/ $<br />

EQUIVX VSET/USET0/ALWAYS $<br />

MESSAGE //'SB SET SHOULD NOW BE EMPTY - CHECK BELOW'/ $<br />

TABPRT USET0,EQEXINS//'USET'/11<br />

ALTER 'GPSP' $ AFTER GPSP<br />

MESSAGE //'SB SET SHOULD NOW BE ONLY AUTOSPC DOF - CHECK BELOW'/ $<br />

TABPRT USET,EQEXINS//'USET'/11<br />

$ MOVE CURRENT SB (ALL FROM AUTOSPC) INTO SG<br />

MODUSET, ,USET/VSET1/'MOVE'/'SG'/'SB'/ $<br />

MESSAGE //'SB SET SHOULD NOW BE EMPTY,SG SHOULD BE PS + AUTOSPC'/ $<br />

TABPRT VSET1,EQEXINS//'USET'/11<br />

$ NOW MOVE SET U3 BACK INTO SB<br />

MODUSET, ,VSET1/VSET2/'MOVE'/'SB'/'U3'/ $<br />

EQUIVX VSET2/USET/ALWAYS $<br />

MESSAGE //'SB SET SHOULD NOW BE ONLY SPC DOF'/<br />

' SG SHOULD BE PS + AUTOSPC'/ $<br />

TABPRT USET,EQEXINS//'USET'/11 $

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

Saved successfully!

Ooh no, something went wrong!