Welcome to Adams/Solver Subroutines - Kxcad.net
Welcome to Adams/Solver Subroutines - Kxcad.net
Welcome to Adams/Solver Subroutines - Kxcad.net
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Input Arguments<br />
<strong>Welcome</strong> <strong>to</strong> <strong>Adams</strong>/<strong>Solver</strong> <strong>Subroutines</strong><br />
id An integer variable that provides the identifier of the FIELD statement<br />
requesting information from FIESUB. From the identifier, <strong>Adams</strong>/<strong>Solver</strong><br />
au<strong>to</strong>matically knows other information (such as the par argument) available<br />
in the corresponding statement.<br />
time A double-precision variable through which <strong>Adams</strong>/<strong>Solver</strong> conveys the<br />
current simulation time.<br />
par A double-precision array of constants taken, in order, from the USER<br />
parenthetical list of the FIELD statement.<br />
npar An integer variable that indicates the number of constants specified in the<br />
USER parenthetical list. The primary purpose of npar is <strong>to</strong> provide FIESUB<br />
with the number of values s<strong>to</strong>red in the par array.<br />
disp A six-element, double-precision array that provides the x, y, and z<br />
translational displacements and the AX, AY, and AZ rotational<br />
displacements that <strong>Adams</strong>/<strong>Solver</strong> measures at the I marker with respect <strong>to</strong><br />
the J marker, resolved in the coordinate system of the J marker. For more<br />
information, see AX function (C++ or FORTRAN), AY function (C++ or<br />
FORTRAN), and AZ function (C++ or FORTRAN).<br />
velo A six-element, double-precision array that provides the x, y, and z<br />
translational velocities and the x, y, and z rotational velocities that<br />
<strong>Adams</strong>/<strong>Solver</strong> measures at the I marker with respect <strong>to</strong> the J marker,<br />
resolved in the coordinate system of the J marker.<br />
dflag A logical variable that <strong>Adams</strong>/<strong>Solver</strong> sets <strong>to</strong> true when it needs derivatives<br />
from FIESUB. FIESUB needs <strong>to</strong> evaluate dfddis and dfdvel only when the<br />
dflag argument is true. Otherwise, <strong>Adams</strong>/<strong>Solver</strong> sets the dflag argument <strong>to</strong><br />
false.<br />
iflag A logical variable that <strong>Adams</strong>/<strong>Solver</strong> sets <strong>to</strong> true for the initial call <strong>to</strong><br />
FIESUB. In general, this flag does not need <strong>to</strong> be checked in the subroutine.<br />
If there are computations that need <strong>to</strong> be evaluated at the beginning of the<br />
simulation, you can check the iflag argument. In this case, if the iflag<br />
argument is true, the subroutine should evaluate the computations.<br />
163