HyperWorks Solvers

Post: Output Request

Post: Output Request

Previous topic Next topic Expand/collapse all hidden text  

Post: Output Request

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  
hmtoggle_plus1greyXML Format

Command Element

Description

Modifies a Post_Request element.

Format

<Post_Request

      id                  = "integer"

  {  

      expr1               = "motionsolve_expression"

      expr2               = "motionsolve_expression"

      expr3               = "motionsolve_expression"

      expr4               = "motionsolve_expression"

      expr5               = "motionsolve_expression"

      expr6               = "motionsolve_expression"

      expr7               = "motionsolve_expression"

      expr8               = "motionsolve_expression"

    |

      usrsub_dll_name     = "valid_path_name"

      usrsub_param_string = "USER( [[par_1][,...][,par_n]] )"

  }

 />

Attributes

id

Element identification number (integer>0).  This number is unique among all Post_Request elements.

expr1, expr2,…,expr8

Specifies the eight signals that are calculated with function expressions.  Use only when TYPE is EXPRESSION.

usrsub_param_string

The list of parameters that are passed from the data file to the user defined REQSUB.  Use this keyword only when type = USERSUB is selected.

usrsub_dll_name

Specifies the path and name of the DLL or shared library containing the user subroutine. MotionSolve uses this information to load the user subroutine REQSUB in the DLL at run time.

Example

<Post_Request

    id                  = "70000040"

    expr2               = "DZ(30301010,30301011,30301011)"

    expr4               = "0"

    expr6               = "DX(30301010,30301011,30301011)"

    expr7               = "DY(30301010,30301011,30301011)"

    expr8               = "DZ(30301010,30301011,30301011)"

 />

hmtoggle_plus1greyPython Format

Command Element

Description

Modifies a REQUEST element.

Declaration

def REQUEST(ID, LABEL="", TYPE="", I=0, J=0, RM=0, COMMENT="", F1="", F2="", F3="", F4="", F5="", F6="", F7="", F8="", FUNCTION="",CNAMES=[""], CUNITS=[""], ROUTINE="", SCRIPT=""):

Attributes

id

Element identification number (integer>0).  This number is unique among all the REQUEST elements.

LABEL

Modifies the name of the REQUEST element.

TYPE

Modifies the type of REQUEST element.  Select from DISPLACEMENT, VELOCITY, ACCELERATION, and FORCE.

I

Modifies the marker ID at which the information is being calculated.  Use only when TYPE is DISPLACEMENT, VELOCITY, ACCELERATION, or FORCE.

J

Modifies the marker ID from which the information is being calculated.  The information is typically some vector relating to I and J, such as displacement, velocity, acceleration or force.  Use only when TYPE is DISPLACEMENT, VELOCITY, ACCELERATION, or FORCE.

RM

 

Modifies the ID of the marker whose coordinate system is used to define the components of the vector between I and J are expressed.  Use only when TYPE is DISPLACEMENT, VELOCITY, ACCELERATION, or FORCE.

COMMENT

Modifies the character string that gives a general description of signals being measured.  The string can be of any length.

RESULTS_NAME

Modifies the name of the result set file into which the various signals of the request(s) are placed.

F1,F2,F3,F4,F5,F6,F7,F8

Modifies the eight signals that are calculated with function expressions. Use only when TYPE is EXPRESSION.

FUNCTION

Modifies the list of parameters that are passed from the data file to the user defined subroutine, REQSUB.  This attribute is common to all types of user subroutines and scripts.

CNAMES

Modifies the eight component names for each of the eight signals.

CUNITS

Modifies the component units such as mass, time, force, and so on.

ROUTINE

Modifies the alternative name for the user subroutine REQSUB.

SCRIPT

Specifies the path and name of the user written script that contains the routine.

Comments

See Post_Request

Example

The example below shows how to modify a REQUEST.

REQUEST(70000040, F2="DZ(30301010,30301011,30301011)", F4="0", F6="DX(30301010,30301011,30301011), F7="DY(30301010,30301011,30301011)", F8="DZ(30301010,30301011,30301011)")

See Also:

Model Statements

Command Statements

Functions

Notation and Syntax