*Output() - user-defined output

Creates output with user-defined data.

Syntax

*Output(out_name,"out_label",USER, `usr_expr` [TITLE],[title1],[title2],...[title6])

Arguments

out_name
The variable name of the output.
Data type: varname
out_label
The descriptive label of the output.
Data type: label
USER
An argument that indicates the output is of user subroutine type.
usr_exp
Back quoted string that defines the data to be passed to the user subroutine by the solver.
Data type: string
TITLE
An optional argument that indicates that the headings for the columns of requested outputs are provided in the tokens that follow.
title1, title2, ...title6
Alpha-numeric headings, arranged alphabetically, for columns of request output.
Data type: string

Example

*DataSet(ds_vehar, "Vehicle parameters", dsdef_vehpar)
*MarkerPair(mrk_wc, "Wheel center marker", b_wheel, p_wc)
*Output(out_tread, "Tread width (mm)", USER, 
                                      `USER({mrk_wc.l.id, %d},`
                                      `{mrk_wc.r.id, %d}, `
                                      `{ds_vehpar.tire_slr.value})` TITLE, "X 
                                      DISP", "Y DISP", "Z DISP", 
                                      "X Rot", "Y Rot", "Z Rot" )

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Properties

Table 1.
Property Returns Data Type Description
type string The output type.
usr_sub string The user-defined string given as usr_expr.

Comments

This form of *Output() statement can be used to access user subroutines from the solver to create the required output.