The ACTIVATE command activates a statement that was previously turned off by the
DEACTIVATE command.
Format
Arguments
BEAM | Specifies that Adams Solver (FORTRAN) is to activate BEAM statements. |
BUSHING | Specifies that Adams Solver (FORTRAN) is to activate BUSHING statements. |
FIELD | Specifies that Adams Solver (FORTRAN) is to activate FIELD statements. |
ID=id1[,...,id30] | Lists up to 30 statement identifiers for statements that Adams Solver (FORTRAN) activates. You may use the ID argument in conjunction with the RANGE argument. |
JOINT | Specifies that Adams Solver is to activate JOINT statements. |
JPRIM | Specifies that Adams Solver (FORTRAN) is to activate JPRIM statements. |
LIST | Indicates that Adams Solver (FORTRAN) is to display a list of all the existing elements of the specified type, along with their current activity status. |
MOTION | Specifies that Adams Solver (FORTRAN) is to activate MOTION statements. |
RANGE=id1,id2 | Defines a range of statement identifiers for statements that Adams Solver (FORTRAN) is to activate. Adams Solver (FORTRAN) activates all statements with identifiers that are numerically between the given identifiers, inclusively. The range may contain unused identifiers. You may use the RANGE argument in conjunction with the ID argument. Range: id1 < id2 |
SENSOR | Specifies that Adams Solver (FORTRAN) is to activate SENSOR statements. |
SFORCE | Specifies that Adams Solver (FORTRAN) is to activate SFORCE statements. |
SPRINGDAMPER | Specifies that Adams Solver (FORTRAN) is to activate SPRINGDAMPER statements. |
Extended Defintion
The ACTIVATE command, used in conjunction with the DEACTIVATE command, switches Adams Solver (FORTRAN) elements on and off. All Adams Solver (FORTRAN) elements are active by default in the input dataset, but can be deactivated using the DEACTIVATE command. For simulation purposes, when Adams Solver (FORTRAN) activates a statement, the statement appears as though it was always in the dataset. When Adams Solver (FORTRAN) deactivates a statement, the statement effectively disappears from the model. Both the ACTIVATE and DEACTIVATE commands take effect when you issue the next SIMULATE command.
After the activation of any element, 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 the entire model, Adams Solver (FORTRAN) verifies that the model is still valid when the newly activated elements are included. For example, if an activated JOINT overconstrains a model resulting in an immobile system, Adams Solver (FORTRAN) issues an error message.
Adams Solver (FORTRAN) also reinitializes all user subroutines to re-establish functional dependencies. For each element that refers to a user-written subroutine, Adams Solver (FORTRAN) calls the user-written subroutine with IFLAG set to true.
Prior to the actual simulation, Adams Solver (FORTRAN) computes initial conditions for the model. If this is the first simulation, Adams Solver (FORTRAN) begins with the positions and velocities specified in the dataset, and maintains any user-supplied joint initial-conditions and part positions specified as EXACT. If you ran a previous simulation, Adams Solver (FORTRAN) begins with the final displacements and velocities. Adams Solver (FORTRAN) then adjusts the initial conditions to ensure that they are consistent with the model constraints.
If a constraint or force is activated 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.
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: | Use the ACTIVATE and DEACTIVATE commands after a FILE or RELOAD command to set up the model for a particular loadcase or configuration. |
Examples
ACTIVATE/SFORCE,ID=201,202
This ACTIVATE command activates SFORCEs 201 and 202.
ACTIVATE/JPRIM,RANGE=400,499
This ACTIVATE command activates JPRIMs 400 and 499, and all JPRIMs with identifiers between 400 and 499.
See other
Simulation available.