Model Element |
|||||||||||
Class NameUpost Description |
|||||||||||
The UPOST element allows you to generate your own results file. |
|||||||||||
Attribute Summary
Usage |
|||||||||||
# Defined in a compiled user subroutine Upost (function=userString, routine=string)
# Defined in a Python function Upost (function=userString, routine=functionPointer) |
|||||||||||
Attribute Description |
|||||||||||
User-subroutine defined in a compiled DLL |
|||||||||||
function |
String defining a valid user function MotionSolve expression The list of parameters that are passed from the data file to the user defined subroutine where the Upost is defined. The function attribute is mandatory. |
||||||||||
routine |
String Specifies an alternative name for the user subroutine. The name consists of two pieces of information, separated by “∷”. The first is the pathname to the shared library containing the function that computes the response of the user-defined Variable. The second is the name of the function in the shared library that does the computation. An example is: routine=”/staff/Altair/engine.dll∷myUpost”
The attribute routine is optional. When not specified, routine defaults to “POST_SUB”. |
||||||||||
User-subroutine defined in a user-written Python script |
|||||||||||
function |
String defining a valid user function MotionSolve expression The list of parameters that are passed from the data file to the user defined subroutine where the Variable is defined. The function attribute is mandatory. |
||||||||||
routine |
Pointer to a callable function in Python An example is: routine=myUpost
The attribute routine is optional. When not specified, routine defaults to POST_SUB. |
||||||||||
Comments
|
|||||||||||
Example
Upost (function="USER()",routine=rocket_fuel_consumption) |
|||||||||||
Upost (function="USER()",routine=”Arianne∷rocket_fuel_consumption”) |