*SetFieldForce() - single field

Sets the force properties of a single field.

Syntax

*SetFieldForce(field_name, f_x, f_y, f_z, 
                                     t_x, t_y, t_z)

Arguments

field_name
The variable name of an existing field.
Data type: varname
f_x, f_y, f_z
The force values at the lengths length_x, length_y, and length_z, respectively.
Data type: real
t_x, t_y, t_z
The torque values at the lengths 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)
 *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()