*FrequencyInput()
Creates a frequency input entity.
Syntax
*FrequencyInput(varname, "label", body, origin, rm)
Note: [] indicates optional arguments
Arguments
- varname
- The variable name of the FrequencyInput entity.
- label
- The descriptive label for the entity.
- body
- Body on which frequency input is applied.
- origin
- Point at which frequency input is applied on the body.
- rm
- Marker in whose reference the frequency input is applied.
Example
*BeginMDL( the_model, "Model")
*Point( p_0, "RoadCG" )
*Point( p_susp, "SuspensionMassCG" )
*Point( p_2, "BusBodyCG" )
*Body( b_road, "Road", p_0, , , , )
*Body( b_susp, "SuspensionMass", p_susp, , , , )
*Body( b_busbody, "BusBody", p_2, , , , )
*CoilSpring( sd_0, "Tire", b_road, b_susp, p_0, p_susp )
*CoilSpring( sd_1, "SuspensionSpring", b_susp, b_busbody, p_susp, p_2 )
*SetPoint( p_0, , , )
*SetPoint( p_susp, , , 100 )
*SetPoint( p_2, , , 200 )
*SetBodyInertia( b_busbody, 2500, 1000, 1000, 1000 )
*SetBodyInertia( b_susp, 320, 100, 100, 100 )
*SetBodyInertia( b_road, 10000, 100, 100, 100 )
*FrequencyInput( freqinput1, "FrequencyInput 1", b_susp, p_susp, Global_Frame )
*EndMDL()
In the above example, the FrequencyInput is applied on body b_susp at p_susp in reference of Global_Frame.
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
varname | varname | The variable name of the FrequencyInput. |
label | string | The label of the FrequencyInput. |
state | boolean | Indicates the active/inactive state. |
id | integer | The assigned ID of the entity. |
idstring | string | The assigned ID in string form. |
type | string | The type of input. Available choices are DISP, VEL, ACCEL, FORCE. |
amplitude | NonLinear | The amplitude of the FrequencyInput. |
phase angle | NonLinear | The phase angle of the FrequencyInput. |
body | Body | The body on which FrequencyInput is applied. |
origin | Point | The point at which FrequencyInput is applied. |
rm | Marker | Indicates the application of FrequencyInput in translational directions of the reference marker frame (rm). |
x,y,z | rx,ry,rz | Indicates the application of FrequencyInput in translational directions of the reference marker frame (rm). |
rx,ry,rz | rx,ry,rz | Indicates the application of FrequencyInput in rotational directions of the reference marker frame (rm). |
Comments
FrequencyInput is used to define an excitation in the frequency domain and is applicable only in a Frequency Response Analysis.
The amplitude and phase angle have NonLinear property choices. They can be input with a constant (lin) value, a curve (crv), a spline3D (spl) or an expression (expr).