*SetFieldLength() - single field

Sets the length properties of a single field.

Syntax

*SetFieldLength(field_name, length_x, length_y, length_z 
                                      length_rx, length_ry, length_rz)

Arguments

field_name
The variable name of an existing field.
Data type: varname
length_x length_y length_z
The field f_x, f_y, and f_z values at length_x, length_y, and length_z, respectively.
Data type: real
length_rx length_ry length_rz
The field t_x, t_y, and t_z values at length_rx, length_ry, and length_rz, respectively.
Data type: real

Example

*BeginMDL(model, "Field Model")
 *Body(b_0, "Body 0")
 *Body(b_1, "Body 1")
 *Point(p_0, "Point 0")
 *Point(p_1, "Point 1")
 *Point(p_2, "Point 2")
 *Vector(v_1, "Vector 1")
 *Vector(v_2, "Vector 2")
 *Field(fi_0, "Field 0 - Single", b_0, b_1, p_0)
 *SetOrientation(fi_0, TWOAXES, XY, v_1, v_2)
 *SetOrientation(fi_0, TWOAXES, XY, p_1, p_2)
 *SetOrientation(fi_0, ONEAXIS, X, p_1)
 *SetOrientation(fi_0, ONEAXIS, X, v_1)
 *Template(temp0, "Field single", USER, tmp0_def, fi_0)
 *SetFieldStiffness(fi_0, 1, 2, 3)
 *SetFieldDamping(fi_0, CRATIO, .05)
 *SetFieldLength(fi_0, 5, 6, 7, 8, 9, 10)
 *SetFieldForce(fi_0, 21, 22, 23, 24, 25, 26)
*EndMDL()

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()