The entry point for the Adams Vibration Input Channel
Modules | | | | |
| msc.Adams.Vibration.libAvAPIc | math | string | sys |
| libsip | os | struct | traceback |
Classes
class AvModalEnergy
Methods defined here:
DissipativeEnergy(self, on)
Header(self, on)
KineticEnergy(self, on)
ModeRange(self, start, end)
NormalizedCoordinates(self, on)
Off(self)
Set(self)
StrainEnergy(self, on)
Functions
AvDacFileToMatrix(filename, nPts)
AvDatFileToMatrix(filename, nPts)
AvFFTDataActuator(argList, w)
AvMakeFrequency(start, end, steps, spaceLog)
Compute the descrete frequencies to use in the analysis
start - start frequency HZ
end - end frequency HZ
steps - number of steps to take from start to end
spaceLog - if true frequencies are log spaced other wise linear spacing
Note: List returned is steps+1 long in radians/sec
AvMessageHandler(msg, type, args)
Default Message handler for vibration
AvPSDDataActuator(argList, w)
AvReadDataFile(dataFile, n=-1)
AvReadDataFileFD(filename, nPts=-1)
AvRpcFileToMatrix(filename, nPts)
Description: Implementation of rpc3file_input class member functions for reading in data from an RPC III time history file.
Reference: MTS RPC III file format document
RPC_III saves the time history data in the following way:
ch1 --> group1 ->{frame1, frame2, ...}
ch2 --> group1 ->{frame1, frame2, ...}
...
chn --> group1 ->{frame1, frame2, ...}
ch1 --> group2 ->{frame1, frame2, ...}
ch2 --> group2 ->{frame1, frame2, ...}
...
chn --> group2 ->{frame1, frame2, ...}
...
Number of frames in group = PTS_PER_GROUP/PTS_PER_FRAME
Total number of groups = (FRAMES+1)/Number of frames in group
Note: The last group may not be full. Full frames are only
required, not full groups. So the last group may
contain fewer than Number of frames in group.
Clarification - the group will be full but may not
contain all frames of acquired data
AvSolverSetup()
Mag(cVal)
Complex Mag and Phase
Phase(cVal)
byteSwap(CC)
formatExceptionInfo(logFile, maxTBlevel=10)
writeMatrix(matFile, Mat, title=None)
write a matrix to a file
@param matFile: File to write to
@type matFile: file object
@param Mat: Matrix to write
@type Mat: AvAPI_Matrix
@param title: String to preceed the matrix in the file
@type title: string
writeMatrix2(matFile, Mat, title=None)
write a matrix to a file
@param matFile: File to write to
@type matFile: file object
@param Mat: Matrix to write
@type Mat: AvAPI_Matrix
@param title: String to preceed the matrix in the file
@type title: string
writeMatrixXML(matFile, Mat, title='Matrix', space=2)
write a matrix to a XML file
@param matFile: File to write to
@type matFile: file object
@param Mat: Matrix to write
@type Mat: AvAPI_Matrix
@param title: Name of matrix [default: Matrix]
@type title: string
@param space: Starting indentation for matrix [default: 2]
@type space: integer
@Note: Assumes the matrix is complex
writeXMLFooter(matFile)
write vibration footer for xml
writeXMLHeader(matFile)
write vibration header for xml