Adams Basic Package > Adams View > View Command Language > numeric_results > numeric_results create dynamic_polyline

numeric_results create dynamic_polyline

Allows you to create a result set which specifies time dependent locations for polylines.

Format:

 
numeric_results create dynamic_polyline
polyline_name =
an existing polyline
vertex =
integer
x_result_set_component_name =
an existing component
y_result_set_component_name =
an existing component
z_result_set_component_name =
z_result_set_component_name
relative_to =
an existing model, part or marker

Example:

 
numeric_results create dynamic_polyline &
polyline_name =
an existing polyline &
vertex =
10 &
relative_to =
ground

Description:

Parameter
Value Type
Description
polyline_name
An Existing Polyline
Specifies an existing POLYLINE
vertex
Integer
Specifies the vertex this result set corresponds to.
x_result_set_component_name
An Existing Component
Specifies the name of a result set component to be used to drive the vertex in the X direction over time.
y_result_set_component_name
An Existing Component
Specifies the name of a result set component to be used to drive the vertex in the Y direction over time.
z_result_set_component_name
An Existing Component
Specifies the name of a result set component to be used to drive the vertex in the Z direction over time.
relative_to
An Existing Model,Part OR Marker
Specifies the coordinate system that location coordinates and orientation angles correspond to.

Extended Definition:

1. Just as a part's locations and orientations for the steps of a simulation are stored in a result set, you can create a result set that has the time dependent locations for polylines that are children of a model. When the model is displayed at a time step with the single_frame_display command, or is animated with the animation command, Adams View will use these result sets to display the polylines.
This allows you to drive each component (X, Y, and Z) of a vertex of a polyline from any result test component including the output of any Adams equation.
For example, you could model a flexible air bag as a mesh of polylines, and using Adams equations (linear state equations, general state equations), specify the location of the vertices of the mesh over time. When the model is animated it would show the air bag deployment.
The polylines must be children of a model.
Each result set contains the X, Y, and Z data for a vertex of a polyline The names of the result sets created are encoded with the name of the polyline and the vertex number. The components of the result set are named 'X', 'Y' and 'Z'. For example, if the name of the polyline is 'POL1' and the you are creating the result set for the second vertex, the result set name will be 'POL1_LOCATION_2'.
If Adams View cannot find the result set components, it will use the location specified when the model was created, and will not vary over time.
2. You may identify a POLYLINE by typing its name or by picking it from the screen.
If the POLYLINE is not visible on the screen, you must type the name.
You may also find it convenient to type the name even if the POLYLINE is displayed.
Since a POLYLINE cannot be defined in an Adams data set or graphics file, the POLYLINE cannot be created by reading in one of these files. The only way to create a POLYLINE is to do it interactively, by reading a command file, or by reading an IGES file. POLYLINEs are owned by parts.
If a POLYLINE is available by default, you may identify it by entering only its name. You may need to enter the full name of the POLYLINE if you wish to identify a POLYLINE that is not on the default PART. For example, you may specify POLYLINE "front_face" on the part named "shell" from the model named "test" by entering ".test.shell.front_face". If you type a "?", Adams View will list the POLYLINEs available by default.
You must separate multiple POLYLINE names by commas.
If the POLYLINE is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
You need not separate multiple POLYLINE picks by commas.
3. If the relative_to parameter is not specified, the default coordinate system is used. The default coordinate system is initially your model, i.e. the global coordinate system. You may change the default coordinate system using the 'defaults coordinate_system' command.

Tips:

1. IF no X_RESULT_SET_COMPONENT_NAME is specified, the X component of the vertex does not change over time. This holds the same for the Y and Z components of the vertex.