Testing Your Model > Classes > Av2Nastran

www.kxcad.net Home > CAE Index > MSC Software Index > Adams MD R2 Index


Your Ad Here

Av2Nastran
#############################################################################
#############################################################################
#############################################################################
#
#  Copyright (C) 2004 by MSC.Software, Inc., Santa Ana, CA, USA
#  All Rights Reserved.  This code may not be copied or reproduced in
#  any form, in part or in whole,  without the explicit permission of
#  the copyright owner.
#
#  Intent+: Python interface for Adams/Vibration
#  Intent-:
#
#  Caveats+:
#  Caveats-:
#
#############################################################################
 
Classes
Av2Nastran
AvBdfFile
AvBdfFileEigen
AvBdfFileFrf
AvRes2Nastran
AvStates
MKC
class Av2Nastran
Create a linear system model from an Adams non-linear system.
Methods defined here:
A(self)
Return the system A matrix
AcfToScript(self, iFile)
AddState(self, j, states, Ns)
B(self)
Return the system B matrix
BDFBushing(self, bdfFile, bush, gId, nId, comment)
BDFConectionList(self, bdfFile)
BDFJoint(self, bdfFile, joint, gId, nId, comment)
BDFSpringDamper(self, bdfFile, spdp, gId, nId, comment)
C(self)
Return the system C matrix
CheckAMat(self, rList)
CheckCMat(self, cList)
CleanDepList(self, p)
D(self)
Return the system D matrix
Eigen(self, fName, Continuation='+AV0001')
FRF(self, fName, st, ed, nStep, logSpace, Continuation='+AV0001')
Input(self, FDList)
InputChannels(self)
Return the system inputs
MakeOutputChannelList(self, FlexList)
Ok(self)
OutputChannels(self)
Return the system inputs
RemoveStates(self, rList)
Simulate(self, simScript, damping, fList, sName)
SubSystem(self)
Time(self)
__init__(self, amdModel, inputList, flexList, FDList, simScript, damping, solverLib, mFunc=<function Adm2NasMessage>)
# def __init__(self, amdModel, inputList, outputList, FDList, simScript, damping, fList, dList, ConList, sName):
Data and non-method functions defined here:
__doc__ = 'Create a linear system model from an Adams non-linear system.'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__module__ = 'Av2Nastran'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class AvBdfFile
Methods defined here:
AdvanceLine(self)
BulkMatrix(self, Name, mat, Symetric, Offset)
Close(self)
Continuation(self, continuation)
FilterLine(self, line)
FilterLineE(self, line)
__init__(self, fName, continuation)
write(self, line)
Data and non-method functions defined here:
__doc__ = None
__module__ = 'Av2Nastran'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class AvBdfFileEigen(AvBdfFile)
Methods defined here:
Bulk(self, M, B, K, Offset=1)
Case(self, Name)
Exec(self, Name)
__init__(self, fName, continuation='+AV0001')
Data and non-method functions defined here:
__doc__ = None
__module__ = 'Av2Nastran'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from AvBdfFile:
AdvanceLine(self)
BulkMatrix(self, Name, mat, Symetric, Offset)
Close(self)
Continuation(self, continuation)
FilterLine(self, line)
FilterLineE(self, line)
write(self, line)
class AvBdfFileFrf(AvBdfFile)
Methods defined here:
Actuator2Table(self, act, fr)
Bulk(self, st, ed, nStep, logSpace, M, B, K, lB, C, D, actList, ND, NS, offsetS, offsetG, gLoc, P2G)
Bulk2(self, st, ed, nStep, logSpace, M, B, K, lB, C, D, actList, ND, NS, offset)
BulkCMatrix(self, NameK, matK, NameC, matD, matC, ND, NS, offsetS, offsetG)
BulkCMatrix2(self, NameK, matK, NameC, matD, matC, ND, NS, offsetS, offsetG)
BulkVector(self, Name, vec, offset)
Case(self, Name, nOut, Offset=1)
Case2(self, Name, nOut, Offset)
Exec(self, Name)
MapRow(self, r, ND, NS)
__init__(self, fName, continuation='+AV0001')
Data and non-method functions defined here:
__doc__ = None
__module__ = 'Av2Nastran'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from AvBdfFile:
AdvanceLine(self)
BulkMatrix(self, Name, mat, Symetric, Offset)
Close(self)
Continuation(self, continuation)
FilterLine(self, line)
FilterLineE(self, line)
write(self, line)
class AvRes2Nastran
Create a linear system model from an Adams non-linear system.
Methods defined here:
Eigen(self, fNameBase, Continuation='+AV0001')
FRF(self, fNameBase, st, ed, nStep, logSpace, Continuation='+AV0001', actList=[])
Ok(self)
__init__(self, amdModel, kRes, mFunc=<function Adm2NasMessage>)
# def __init__(self, amdModel, inputList, outputList, FDList, simScript, damping, fList, dList, ConList, sName):
Data and non-method functions defined here:
__doc__ = 'Create a linear system model from an Adams non-linear system.'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__module__ = 'Av2Nastran'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class AvStates
#   LEVEL = ['INFO   :', 'WARNING: ', 'ERROR  :', 'FAULT  :']
#   if msg and len(msg):
#       if level <4:
#           print '%s %s'%(LEVEL[level], msg)
#       else:
#           print 'Level(%d): %s'%(level,msg)
#
###############################################################
#########################
Methods defined here:
Displacement(self, type, id, coord)
NumDisplacement(self)
NumStates(self)
State(self, type, id, coord)
__init__(self, S)
Data and non-method functions defined here:
__doc__ = None
__module__ = 'Av2Nastran'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class MKC
Methods defined here:
Matrix(self, which)
NumDisplacement(self)
NumStates(self)
__init__(self, A, S)
Data and non-method functions defined here:
__doc__ = None
__module__ = 'Av2Nastran'
str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Functions
Adm2NasMessage(level, msg)
HandleStep(Type, EventInput=0, EventOutput=0)
PrintEigen(Mat)
PrintPatern(lab, mat)
PrintSubSystem(A, B, C, D, S)
Data
MEDissipativeEnergy = 0
MEEndMode = -99
MEHeader = 0
MEKineticEnergy = 0
MENormalizedCoordinates = 0
MEStartMode = -1
MEStrainEnergy = 0
__author__ =
__date__ = '1 Sept. 2004'
__file__ = './Av2Nastran.py'
__name__ = 'Av2Nastran'
Your Ad Here