Welcome to Adams/Solver Subroutines - Kxcad.net
Welcome to Adams/Solver Subroutines - Kxcad.net
Welcome to Adams/Solver Subroutines - Kxcad.net
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
138<br />
<strong>Adams</strong>/<strong>Solver</strong><br />
DOUBLE PRECISION GAPDOTDOT<br />
DOUBLE PRECISION AREA<br />
LOGICAL DFLAG<br />
LOGICAL IFLAG<br />
DOUBLE PRECISION RESULT(3)<br />
C<br />
C Input parameters<br />
C<br />
C ID Identifier of calling CONTACT statement<br />
C TIME Current time<br />
C PAR Array containing passed parameters<br />
C NPAR Number of passed parameters<br />
C LOCI contact point location on I in I coordinates<br />
C NI contact normal on I in I coordinates<br />
C LOCI contact point location on J in J coordinates<br />
C NI contact normal on J in J coordinates<br />
C GAP contact pe<strong>net</strong>ration<br />
C GAPDOT first time derivative of GAP<br />
C GAPDOTDOT second time derivative of GAP CAREA contact area<br />
C<br />
C components returned <strong>to</strong> ADAMSC<br />
C RESULT Array (dimension 3) of computed normal force<br />
C RESULT(1) Normal forceC RESULT(2) not used<br />
C RESULT(3) not used<br />
C<br />
C ---Local variable and parameter definitions ------<br />
C ...<br />
C<br />
C === Executable code =================================<br />
C<br />
C Assign readable variable names <strong>to</strong> passed parameters<br />
C ...<br />
C<br />
C Call SYSFNC and/or SYSARY <strong>to</strong> collect information for<br />
C the following calculations. Note: if IFLAG is<br />
C true, these calls are actually setting functional<br />
C dependencies.<br />
C<br />
CALL SYSFNC (...)<br />
C Check SYSFNC call through ERRMES utility routine<br />
C<br />
CALL ERRMES (...)<br />
C<br />
C Repeat for all required SYSFNC or SYSARY calls<br />
C<br />
...<br />
C<br />
IF (IFLAG) THENC<br />
C - Subroutine initialization -------------<br />
C<br />
...<br />
C<br />
ENDIF<br />
C