VibrationDefinition class is used for vibration calculation.
This class can be obtained from Study class.
.
More...
Public Member Functions | |
| void | ClearExcitationResultDefinition (Variant &indexName, int slotIndex) |
| Set Part/Surface/Edge calculation for excitation point. More... | |
| DataSet * | GetCaseDataSet (int caseno, int index=0) |
| Returns DataSet for a specified case. More... | |
| String | GetCoordinateName () |
| Returns the name of the coordinate system of transfer function model. More... | |
| DataSet * | GetDataSet (int index=0) |
| Returns a DataSet object. More... | |
| String | GetExcitationCalculationType (Variant &indexName) |
| Returns the calculation type of excitation point. More... | |
| Condition * | GetExcitationCondition (Variant &indexName) |
| Get the referenced condition. More... | |
| String | GetExcitationName (int index) |
| Returns the title of a excitation point. More... | |
| CalculationDefinition * | GetExcitationResultDefinition (Variant &indexName, int slotIndex) |
| Get referenced Part/Surface/Edge calculation result. More... | |
| int | GetExcitationResultDefinitionSeriesIndex (Variant &indexName) |
| Get series ID of calculation result. More... | |
| String | GetForceUnit () |
| Get force unit. More... | |
| int | GetFourierTransformEndStep () |
| Get the reference end step for fourier transform. More... | |
| String | GetFourierTransformPeriodicity () |
| Get the periodicity of the fourier transform. More... | |
| int | GetFourierTransformStartStep () |
| Get the reference start step for fourier transform. More... | |
| double | GetFrequency () |
| Get the frequency. More... | |
| bool | GetGroupExcitationPoints () |
| Get whether to group the excitation points. | |
| String | GetLengthUnit () |
| Get length unit. More... | |
| String | GetName () |
| Returns a title. More... | |
| int | GetPoles () |
| Get the poles' number. More... | |
| String | GetResultDataType () |
| Get the result data type. More... | |
| String | GetResultType () |
| Get the result type. More... | |
| double | GetRevolutionSpeed () |
| double | GetRotationSpeed () |
| Get the rotation speed. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| void | LoadTransferFunctionFile (String &path) |
| Load the transfer function file. More... | |
| int | NumExcitationPoints () |
| Returns the number of the excitation points. More... | |
| void | Reset (Variant &indexName) |
| Clear this excitation point. More... | |
| void | SetCoordinate (Variant &name) |
| Specifies coordinate system for transfer function model by specifying its name or index. More... | |
| void | SetExcitationCondition (Variant &indexName, Condition *condition) |
| Set condition for excitation point. More... | |
| void | SetExcitationResultDefinition (Variant &indexName, int slotIndex, CalculationDefinition *cal, int seriesIndex) |
| Set Part/Surface/Edge calculation for excitation point. More... | |
| void | SetFourierTransformEndStep (Variant &end) |
| Set the reference end step for fourier transform. More... | |
| void | SetFourierTransformPeriodicity (Variant &mode) |
| Set the periodicity for the fourier transform. More... | |
| void | SetFourierTransformStartStep (Variant &begin) |
| Set the reference start step for fourier transform. More... | |
| void | SetFrequency (Variant &frequency) |
| Set the frequency. More... | |
| void | SetGroupExcitationPoints (bool isGroup) |
| Group the excitation points. More... | |
| void | SetName (String &name) |
| Specifies a title. More... | |
| void | SetPoles (Variant &poles) |
| Set the poles' number. More... | |
| void | SetResultDataType (Variant &mode) |
| Set the result data type. More... | |
| void | SetResultType (Variant &mode) |
| Set the result type. More... | |
| void | SetRevolutionSpeed (Variant &speed) |
| void | SetRotationSpeed (Variant &speed) |
| Set rotation speed. More... | |
VibrationDefinition class is used for vibration calculation.
This class can be obtained from Study class.
.
Example of calling the class object:
| void VibrationDefinition::ClearExcitationResultDefinition | ( | Variant & | indexName, |
| int | slotIndex | ||
| ) |
Set Part/Surface/Edge calculation for excitation point.
| indexName | Excitation point's ID or name |
| slotIndex | The ID of the component (0 ~ 2) |
| DataSet * VibrationDefinition::GetCaseDataSet | ( | int | caseno, |
| int | index = 0 |
||
| ) |
| String VibrationDefinition::GetCoordinateName | ( | ) |
Returns the name of the coordinate system of transfer function model.
| DataSet * VibrationDefinition::GetDataSet | ( | int | index = 0 | ) |
| String VibrationDefinition::GetExcitationCalculationType | ( | Variant & | indexName | ) |
Returns the calculation type of excitation point.
| Condition * VibrationDefinition::GetExcitationCondition | ( | Variant & | indexName | ) |
Get the referenced condition.
| indexName | Excitation point's ID or name |
| String VibrationDefinition::GetExcitationName | ( | int | index | ) |
Returns the title of a excitation point.
| CalculationDefinition * VibrationDefinition::GetExcitationResultDefinition | ( | Variant & | indexName, |
| int | slotIndex | ||
| ) |
Get referenced Part/Surface/Edge calculation result.
| indexName | Excitation point's ID or name |
| slotIndex | The ID of the component (0 ~ 2) |
| int VibrationDefinition::GetExcitationResultDefinitionSeriesIndex | ( | Variant & | indexName | ) |
Get series ID of calculation result.
| indexName | Excitation point's ID or name |
| String VibrationDefinition::GetForceUnit | ( | ) |
Get force unit.
| int VibrationDefinition::GetFourierTransformEndStep | ( | ) |
Get the reference end step for fourier transform.
| String VibrationDefinition::GetFourierTransformPeriodicity | ( | ) |
Get the periodicity of the fourier transform.
| int VibrationDefinition::GetFourierTransformStartStep | ( | ) |
Get the reference start step for fourier transform.
| double VibrationDefinition::GetFrequency | ( | ) |
Get the frequency.
| String VibrationDefinition::GetLengthUnit | ( | ) |
Get length unit.
| String VibrationDefinition::GetName | ( | ) |
Returns a title.
| int VibrationDefinition::GetPoles | ( | ) |
Get the poles' number.
| String VibrationDefinition::GetResultDataType | ( | ) |
Get the result data type.
| String VibrationDefinition::GetResultType | ( | ) |
Get the result type.
| double VibrationDefinition::GetRevolutionSpeed | ( | ) |
| double VibrationDefinition::GetRotationSpeed | ( | ) |
Get the rotation speed.
| bool VibrationDefinition::IsValid | ( | ) |
Returns True if an object is valid.
| void VibrationDefinition::LoadTransferFunctionFile | ( | String & | path | ) |
Load the transfer function file.
| path | Transfer function file path |
| int VibrationDefinition::NumExcitationPoints | ( | ) |
Returns the number of the excitation points.
| void VibrationDefinition::Reset | ( | Variant & | indexName | ) |
Clear this excitation point.
| indexName | Excitation point's ID or name |
| void VibrationDefinition::SetCoordinate | ( | Variant & | name | ) |
Specifies coordinate system for transfer function model by specifying its name or index.
| name | Name or index of the coordinate system |
| void VibrationDefinition::SetExcitationCondition | ( | Variant & | indexName, |
| Condition * | condition | ||
| ) |
Set condition for excitation point.
| indexName | Excitation point's ID or name |
| condition | The condition for vibration calculation |
| void VibrationDefinition::SetExcitationResultDefinition | ( | Variant & | indexName, |
| int | slotIndex, | ||
| CalculationDefinition * | cal, | ||
| int | seriesIndex | ||
| ) |
Set Part/Surface/Edge calculation for excitation point.
| indexName | Excitation point's ID or name |
| slotIndex | The ID of the component (0 ~ 2) |
| cal | Part/Surface/Edge calculation result |
| seriesIndex | The series ID of in calculation result |
| void VibrationDefinition::SetFourierTransformEndStep | ( | Variant & | end | ) |
Set the reference end step for fourier transform.
| end | Reference end step SetFourierTransformEndStep(END_STEP);
|
| void VibrationDefinition::SetFourierTransformPeriodicity | ( | Variant & | mode | ) |
Set the periodicity for the fourier transform.
| mode | Mode type
"None" or "0" = No periodicity
"Half" or "1" = 1/2
|
| void VibrationDefinition::SetFourierTransformStartStep | ( | Variant & | begin | ) |
Set the reference start step for fourier transform.
| begin | Reference begin step SetFourierTransformStartStep(START_STEP);
|
| void VibrationDefinition::SetFrequency | ( | Variant & | frequency | ) |
Set the frequency.
| frequency | Frequency |
| void VibrationDefinition::SetGroupExcitationPoints | ( | bool | isGroup | ) |
Group the excitation points.
| isGroup | True : Group the excitation points
False : Do not group the excitation points
|
| void VibrationDefinition::SetName | ( | String & | name | ) |
Specifies a title.
| name | Name |
| void VibrationDefinition::SetPoles | ( | Variant & | poles | ) |
| void VibrationDefinition::SetResultDataType | ( | Variant & | mode | ) |
Set the result data type.
| mode | Mode type
"AmplitudePhase" or "0" = AmplitudePhase
"RealImag" or "1" = RealImag
|
| void VibrationDefinition::SetResultType | ( | Variant & | mode | ) |
Set the result type.
| mode | Mode type
"Acceleration" or "1" = Acceleration
"Velocity" or "2" = Velocity
"Displacement" or "3" = Displacement
|
| void VibrationDefinition::SetRevolutionSpeed | ( | Variant & | speed | ) |
| speed | Revolution speed SetRevolutionSpeed(2000);
SetRevolutionSpeed(REVOLUTION_SPEED);
|
| void VibrationDefinition::SetRotationSpeed | ( | Variant & | speed | ) |
Set rotation speed.
| speed | Rotation speed SetRotationSpeed(2000);
SetRotationSpeed(REVOLUTION_SPEED);
|