ross.Rotor.run_crack

Rotor.run_crack(**kwargs)

Run an analyzes with rubbing.

Execute the crack defect and generates the crack object on the back-end.

Parameters
dtfloat

Time step

tIfloat

Initial time

tFfloat

Final time

depth_ratiofloat

Crack depth ratio related to the diameter of the crack container element. A depth value of 0.1 is equal to 10%, 0.2 equal to 20%, and so on.

n_crackfloat

Element where the crack is located

speedfloat, pint.Quantity

Operational speed of the machine. Default unit is rad/s.

unbalance_magnitudearray

Array with the unbalance magnitude. The unit is kg.m.

unbalance_phasearray

Array with the unbalance phase. The unit is rad.

crack_typestring

String containing type of crack model chosed. The avaible types are: Mayes and Gasch.

print_progressbool

Set it True, to print the time iterations and the total time spent, by default False.

Examples

>>> from ross.defects.crack import crack_example
>>> probe1 = (14, 0)
>>> probe2 = (22, 0)
>>> response = crack_example()
>>> results = response.run_time_response()
>>> fig = response.plot_dfft(probe=[probe1, probe2], range_freq=[0, 100], yaxis_type="log")
>>> # fig.show()