GFORCE

The GFORCE command redefines and/or list the data for a GFORCE statement that defines a force element that consists of three orthogonal translational force components and three orthogonal torque components.

Format

Arguments

 
FUNCTION=USER(r1[,...,r30])
Respecifies up to thirty user-defined constants to compute the force components in a user-defined subroutine GFOSUB.
FX=e
Respecifies the magnitude and sign of the x component of the GFORCE translational force. Adams Solver (FORTRAN) applies this force parallel to the x-axis of the RM marker.
FY=e
Respecifies the magnitude and sign of the y component of the GFORCE translational force. Adams Solver (FORTRAN) applies this force parallel to the y-axis of the RM marker.
FZ=e
Respecifies the magnitude and sign of the z component of the GFORCE translational force. Adams Solver (FORTRAN) applies this force parallel to the z-axis of the RM marker.
I=id
Respecifies the marker at which Adams Solver (FORTRAN) applies the forces and torques. You must ensure that the I marker is a fixed marker and on a different part than the JFLOAT marker. Because I is a fixed marker, Adams Solver (FORTRAN) always applies the force at a fixed point on the part containing the I marker.
JFLOAT=id
Respecifies the marker at which Adams Solver (FORTRAN) applies the reaction forces and torques. You must ensure that the JFLOAT marker is a floating marker and on a different part than the I marker. Adams Solver (FORTRAN) moves the JFLOAT marker to keep it superimposed on the I marker, meaning the point of application of the reaction force may move with respect to its part. Adams Solver (FORTRAN) does not calculate reaction forces when the JFLOAT marker is on the ground part.
LIST
Lists the current values of the GFORCE arguments.
RM=id
Respecifies the marker and therefore the coordinate system in which the force and torque components are specified. You must ensure that RM is a fixed marker. RM may be the same as I and may be fixed on any part in your system.
ROUTINE=libname::subname
Specifies an alternative library and name for the user subroutine GFOSUB.
Learn more about the ROUTINE Argument.
TX=e
Respecifies the magnitude and sign of the x component of the GFORCE rotational torque. Adams Solver (FORTRAN) applies this torque parallel to the x-axis of the RM marker in the sense of the right-hand rule (that is, a positive torque causes a counterclockwise rotation).
TY=e
Respecifies the magnitude and sign of the y component of the GFORCE rotational torque. Adams Solver (FORTRAN) applies this torque parallel to the y-axis of the RM marker in the sense of the right-hand rule (that is, a positive torque causes a counterclockwise rotation).
TZ=e
Respecifies the magnitude and sign of the z component of the GFORCE rotational torque. Adams Solver (FORTRAN) applies this torque parallel to the z-axis of the RM marker in the sense of the right-hand rule (that is, a positive torque causes a counterclockwise rotation).

Extended Definition

The GFORCE command lists or redefines a force element that consists of three mutually orthogonal translational force components and three orthogonal torque components. You can alter one or both points of force and torque application, change the force reference marker, and change the force and torque function expressions or the parameters passed to the GFOSUB user-written subroutine.
After a change to a GFORCE, Adams Solver (FORTRAN) reprocesses the model at the next SIMULATE command, as if it had just been read in from the dataset. During the reprocessing, Adams Solver (FORTRAN) checks the entire model for consistency, reinitializes user subroutines, and recomputes initial conditions.
While checking, Adams Solver (FORTRAN) verifies that the model is still valid with the new GFORCE. If, for example, the GFORCE function expression refers to an inactive element, Adams Solver (FORTRAN) issues an error.
Adams Solver also reinitializes all user subroutines to re-establish functional dependencies. For each element that refers to a user-written subroutine, Adams Solver calls the user-written subroutine with IFLAG set to true.
Prior to the actual simulation, Adams Solver computes initial conditions for the model. If this is the first simulation, Adams Solver begins with the positions and velocities specified in the dataset. If you ran a previous simulation, Adams Solver begins with the final displacements and velocities. Adams Solver then adjusts the initial conditions to ensure that they are consistent with the model constraints. If this is the first simulation, Adams Solver also maintains any user supplied joint initial-conditions and positions specified as EXACT.
If you change a GFORCE I marker, J marker, or type in the middle of a simulation, by default Adams Solver (FORTRAN) splits the tabular, request, graphics, and results output into two separate sets of output concatenated together. This ensures that the output correctly reflects the new system topology. Adams Solver (FORTRAN) does not split the files if you change only the GFORCE function expression.
The OUTPUT/NOSEPARATOR argument prevents Adams Solver (FORTRAN) from splitting the file.
This allows you to plot or animate the output continuously from beginning to end, but may result in misleading graphics during postprocessing. See OUTPUT for more information on the NOSEPARATOR argument.
 
Tip:  
Depending on the nature of the desired force relationship, the RM marker may belong to the same part as the I marker or the JFLOAT marker, or to a third, unrelated part.
Caution:  
The user-defined functions FX, FY, FZ, TX, TY, and TZ should be smooth, continuous, and single-valued. These conditions make the solution process very effective.

Examples

GFORCE/1, I=8, JFLOAT=6, RM=7, LIST, &
FY = 0/ &
FZ = 0/ &
TY = 0/ &
TZ = 0
This GFORCE command redefines and lists the general, six-component force acting between fixed Marker 310 and floating Marker 9910. The force and torque components FY, FZ, TY, and TZ are set to zero along the y and z axes of the reference marker, which is Marker 310. Adams Solver (FORTRAN) superimposes floating Marker 9910 on Marker 310 and applies the FX and TX reaction force and torque at that point.
See other Forces available.