MBDyn-1.7.3
|
#include <aeromodal.h>
Public Types | |
enum | RigidF_t { NO_RIGID = 0, RIGID = 6 } |
Public Types inherited from Elem | |
enum | Type { UNKNOWN = -1, AIRPROPERTIES = 0, INDUCEDVELOCITY, AUTOMATICSTRUCTURAL, GRAVITY, BODY, JOINT, JOINT_REGULARIZATION, BEAM, PLATE, FORCE, INERTIA, ELECTRICBULK, ELECTRIC, THERMAL, HYDRAULIC, BULK, LOADABLE, DRIVEN, EXTERNAL, AEROMODAL, AERODYNAMIC, GENEL, SOCKETSTREAM_OUTPUT, RTAI_OUTPUT = SOCKETSTREAM_OUTPUT, LASTELEMTYPE } |
Public Types inherited from SimulationEntity | |
typedef std::vector< Hint * > | Hints |
Public Types inherited from ToBeOutput | |
enum | { OUTPUT = 0x1U, OUTPUT_MASK = 0xFU, OUTPUT_PRIVATE = 0x10U, OUTPUT_PRIVATE_MASK = ~OUTPUT_MASK } |
Public Types inherited from AerodynamicElem | |
enum | Type { UNKNOWN = -1, INDUCEDVELOCITY = 0, AEROMODAL, AERODYNAMICBODY, AERODYNAMICBEAM, AERODYNAMICEXTERNAL, AERODYNAMICEXTERNALMODAL, AERODYNAMICLOADABLE, AIRCRAFTINSTRUMENTS, GENERICFORCE, LASTAEROTYPE } |
Public Member Functions | |
AerodynamicModal (unsigned int uLabel, const StructNode *pN, const Modal *pMJ, const Mat3x3 &RaTmp, const DofOwner *pDO, doublereal Cd, const int NModal, const int NAero, RigidF_t rgF, const int Gust, const doublereal Vff, SpMapMatrixHandler *pAMat, FullMatrixHandler *pBMat, FullMatrixHandler *pCMat, FullMatrixHandler *pD0Mat, FullMatrixHandler *pD1Mat, FullMatrixHandler *pD2Mat, flag fout) | |
~AerodynamicModal (void) | |
std::ostream & | Restart (std::ostream &out) const |
unsigned int | iGetNumDof (void) const |
DofOrder::Order | GetDofType (unsigned int i) const |
Elem::Type | GetElemType (void) const |
void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &, const VectorHandler &) |
SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
void | Output (OutputHandler &OH) const |
unsigned int | iGetInitialNumDof (void) const |
void | InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
SubVectorHandler & | InitialAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr) |
AerodynamicElem::Type | GetAerodynamicElemType (void) const |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) const |
Public Member Functions inherited from Elem | |
Elem (unsigned int uL, flag fOut) | |
virtual | ~Elem (void) |
virtual std::ostream & | DescribeDof (std::ostream &out, const char *prefix="", bool bInitial=false) const |
virtual void | DescribeDof (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const |
virtual std::ostream & | DescribeEq (std::ostream &out, const char *prefix="", bool bInitial=false) const |
virtual void | DescribeEq (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const |
virtual void | AssMats (VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual bool | bInverseDynamics (void) const |
void | SetInverseDynamicsFlags (unsigned uIDF) |
unsigned | GetInverseDynamicsFlags (void) const |
bool | bIsErgonomy (void) const |
bool | bIsRightHandSide (void) const |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr, const VectorHandler &XPrimePrimeCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS) |
virtual int | GetNumConnectedNodes (void) const |
Public Member Functions inherited from WithLabel | |
WithLabel (unsigned int uL=0, const std::string &sN="") | |
virtual | ~WithLabel (void) |
void | PutLabel (unsigned int uL) |
void | PutName (const std::string &sN) |
unsigned int | GetLabel (void) const |
const std::string & | GetName (void) const |
Public Member Functions inherited from SimulationEntity | |
SimulationEntity (void) | |
virtual | ~SimulationEntity (void) |
virtual bool | bIsValidIndex (unsigned int i) const |
virtual DofOrder::Order | GetEqType (unsigned int i) const |
virtual void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *h=0) |
virtual Hint * | ParseHint (DataManager *pDM, const char *s) const |
virtual void | BeforePredict (VectorHandler &, VectorHandler &, VectorHandler &, VectorHandler &) const |
virtual void | AfterPredict (VectorHandler &X, VectorHandler &XP) |
virtual void | Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | DerivativesUpdate (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | Update (const VectorHandler &XCurr, InverseDynamics::Order iOrder) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP, const VectorHandler &XPP) |
virtual unsigned int | iGetNumPrivData (void) const |
virtual unsigned int | iGetPrivDataIdx (const char *s) const |
virtual doublereal | dGetPrivData (unsigned int i) const |
virtual std::ostream & | OutputAppend (std::ostream &out) const |
virtual void | ReadInitialState (MBDynParser &HP) |
Public Member Functions inherited from ToBeOutput | |
ToBeOutput (flag fOut=fDefaultOut) | |
virtual | ~ToBeOutput (void) |
virtual void | OutputPrepare (OutputHandler &OH) |
virtual void | Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const |
virtual flag | fToBeOutput (void) const |
virtual bool | bToBeOutput (void) const |
virtual void | SetOutputFlag (flag f=flag(1)) |
Public Member Functions inherited from AerodynamicElem | |
AerodynamicElem (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~AerodynamicElem (void) |
virtual bool | NeedsAirProperties (void) const |
virtual const InducedVelocity * | pGetInducedVelocity (void) const |
Public Member Functions inherited from ElemWithDofs | |
ElemWithDofs (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~ElemWithDofs (void) |
Public Member Functions inherited from DofOwnerOwner | |
DofOwnerOwner (const DofOwner *pDO) | |
virtual | ~DofOwnerOwner () |
virtual const DofOwner * | pGetDofOwner (void) const |
virtual integer | iGetFirstIndex (void) const |
virtual void | SetInitialValue (VectorHandler &X) |
Public Member Functions inherited from AirPropOwner | |
AirPropOwner (void) | |
virtual | ~AirPropOwner (void) |
virtual void | PutAirProperties (const AirProperties *pAP) |
virtual flag | fGetAirVelocity (Vec3 &Velocity, const Vec3 &X) const |
virtual doublereal | dGetAirDensity (const Vec3 &X) const |
virtual doublereal | dGetAirPressure (const Vec3 &X) const |
virtual doublereal | dGetAirTemperature (const Vec3 &X) const |
virtual doublereal | dGetSoundSpeed (const Vec3 &X) const |
virtual bool | GetAirProps (const Vec3 &X, doublereal &rho, doublereal &c, doublereal &p, doublereal &T) const |
Public Member Functions inherited from InitialAssemblyElem | |
InitialAssemblyElem (unsigned int uL, flag fOut) | |
virtual | ~InitialAssemblyElem (void) |
Public Member Functions inherited from SubjectToInitialAssembly | |
SubjectToInitialAssembly (void) | |
virtual | ~SubjectToInitialAssembly (void) |
Protected Member Functions | |
void | AssVec (SubVectorHandler &WorkVec) |
Protected Attributes | |
const StructNode * | pModalNode |
const Modal * | pModalJoint |
Vec3 | P0 |
Mat3x3 | R0 |
const Mat3x3 | Ra |
doublereal | Chord |
unsigned int | NStModes |
unsigned int | NAeroStates |
unsigned int | NGust |
SpMapMatrixHandler * | pA |
FullMatrixHandler * | pB |
FullMatrixHandler * | pC |
FullMatrixHandler * | pD0 |
FullMatrixHandler * | pD1 |
FullMatrixHandler * | pD2 |
MyVectorHandler * | pq |
MyVectorHandler * | pqPrime |
MyVectorHandler * | pqSec |
MyVectorHandler * | pxa |
MyVectorHandler * | pxaPrime |
MyVectorHandler * | pgs |
MyVectorHandler * | pgsPrime |
const doublereal | gustVff |
const doublereal | gustXi |
RigidF_t | RigidF |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
Protected Attributes inherited from AirPropOwner | |
const AirProperties * | pAirProperties |
Definition at line 69 of file aeromodal.h.
Enumerator | |
---|---|
NO_RIGID | |
RIGID |
Definition at line 107 of file aeromodal.h.
AerodynamicModal::AerodynamicModal | ( | unsigned int | uLabel, |
const StructNode * | pN, | ||
const Modal * | pMJ, | ||
const Mat3x3 & | RaTmp, | ||
const DofOwner * | pDO, | ||
doublereal | Cd, | ||
const int | NModal, | ||
const int | NAero, | ||
RigidF_t | rgF, | ||
const int | Gust, | ||
const doublereal | Vff, | ||
SpMapMatrixHandler * | pAMat, | ||
FullMatrixHandler * | pBMat, | ||
FullMatrixHandler * | pCMat, | ||
FullMatrixHandler * | pD0Mat, | ||
FullMatrixHandler * | pD1Mat, | ||
FullMatrixHandler * | pD2Mat, | ||
flag | fout | ||
) |
Definition at line 43 of file aeromodal.cc.
References ASSERT, DEBUGCOUTFNAME, StructDispNode::GetNodeType(), StructNode::GetRCurr(), StructDispNode::GetXCurr(), Mat3x3::MulTV(), NAeroStates, NGust, NStModes, P0, pgs, pgsPrime, pModalNode, pq, pqPrime, pqSec, pxa, pxaPrime, R0, Ra, RigidF, SAFENEWWITHCONSTRUCTOR, and Node::STRUCTURAL.
AerodynamicModal::~AerodynamicModal | ( | void | ) |
Definition at line 102 of file aeromodal.cc.
References DEBUGCOUTFNAME, pA, pB, pC, pD0, pD1, pD2, pq, pqPrime, pqSec, pxa, pxaPrime, and SAFEDELETE.
|
virtual |
Implements Elem.
Definition at line 149 of file aeromodal.cc.
References Chord, DEBUGCOUT, AirPropOwner::fGetAirVelocity(), AirPropOwner::GetAirProps(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructDispNode::GetXCurr(), gustVff, gustXi, DofOwnerOwner::iGetFirstIndex(), Modal::iGetModalIndex(), FullSubMatrixHandler::IncCoef(), NAeroStates, NGust, NStModes, pA, pB, pC, pD0, pD1, pD2, pModalJoint, pModalNode, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), Ra, FullSubMatrixHandler::ResizeReset(), RigidF, VariableSubMatrixHandler::SetFull(), WorkSpaceDim(), and Zero3.
Referenced by InitialAssJac().
|
virtual |
Implements Elem.
Definition at line 278 of file aeromodal.cc.
References AssVec(), DEBUGCOUTFNAME, StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructNode::GetWPCurr(), StructDispNode::GetXCurr(), StructDispNode::GetXPPCurr(), DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstMomentumIndex(), Modal::iGetModalIndex(), NAeroStates, NGust, NStModes, P0, pgs, pgsPrime, pModalJoint, pModalNode, pq, pqPrime, pqSec, MyVectorHandler::Put(), MyVectorHandler::PutCoef(), SubVectorHandler::PutRowIndex(), pxa, pxaPrime, R0, Ra, VectorHandler::ResizeReset(), RigidF, and RotManip::VecRot().
|
protected |
Definition at line 430 of file aeromodal.cc.
References VectorHandler::Add(), Chord, DEBUGCOUTFNAME, AirPropOwner::fGetAirVelocity(), AirPropOwner::GetAirProps(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructDispNode::GetXCurr(), gustVff, gustXi, VectorHandler::IncCoef(), MyVectorHandler::IncCoef(), MatrixHandler::MatVecIncMul(), NAeroStates, NGust, NStModes, pA, pB, pC, pD0, pD1, pD2, pgs, pgsPrime, pModalNode, pq, pqPrime, pqSec, Vec3::Put(), pxa, pxaPrime, Ra, MyVectorHandler::Reset(), RigidF, and Zero3.
Referenced by AssRes(), and InitialAssRes().
|
inlinevirtual |
Implements AerodynamicElem.
Definition at line 213 of file aeromodal.h.
References AerodynamicElem::AEROMODAL.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from Elem.
Definition at line 149 of file aeromodal.h.
References ASSERT, DofOrder::DIFFERENTIAL, and iGetNumDof().
|
inlinevirtual |
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 187 of file aeromodal.h.
References NAeroStates, and NGust.
|
inlinevirtual |
Reimplemented from Elem.
Definition at line 144 of file aeromodal.h.
References NAeroStates, and NGust.
Referenced by GetDofType().
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 200 of file aeromodal.h.
References AssJac(), and DEBUGCOUTFNAME.
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 350 of file aeromodal.cc.
References AssVec(), grad::atan(), DEBUGCOUTFNAME, StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructDispNode::GetXCurr(), DofOwnerOwner::iGetFirstIndex(), Modal::iGetModalIndex(), NAeroStates, NGust, NStModes, P0, CGR_Rot::Param, pgs, pgsPrime, pModalJoint, pModalNode, pq, pqPrime, pqSec, MyVectorHandler::Put(), MyVectorHandler::PutCoef(), SubVectorHandler::PutRowIndex(), pxa, pxaPrime, R0, Ra, VectorHandler::ResizeReset(), RigidF, and Zero3.
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 193 of file aeromodal.h.
References NAeroStates, NGust, and NStModes.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 595 of file aeromodal.cc.
References OutputHandler::AeroModals(), ToBeOutput::bToBeOutput(), WithLabel::GetLabel(), NAeroStates, NGust, pxa, and pxaPrime.
|
virtual |
Implements Elem.
Definition at line 142 of file aeromodal.cc.
|
inlinevirtual |
Implements Elem.
Definition at line 163 of file aeromodal.h.
References NAeroStates, NGust, and NStModes.
Referenced by AssJac().
|
protected |
Definition at line 81 of file aeromodal.h.
|
protected |
Definition at line 103 of file aeromodal.h.
|
protected |
Definition at line 104 of file aeromodal.h.
|
protected |
Definition at line 83 of file aeromodal.h.
Referenced by AerodynamicModal(), AssJac(), AssRes(), AssVec(), iGetInitialNumDof(), iGetNumDof(), InitialAssRes(), InitialWorkSpaceDim(), Output(), and WorkSpaceDim().
|
protected |
Definition at line 84 of file aeromodal.h.
Referenced by AerodynamicModal(), AssJac(), AssRes(), AssVec(), iGetInitialNumDof(), iGetNumDof(), InitialAssRes(), InitialWorkSpaceDim(), Output(), and WorkSpaceDim().
|
protected |
Definition at line 82 of file aeromodal.h.
Referenced by AerodynamicModal(), AssJac(), AssRes(), AssVec(), InitialAssRes(), InitialWorkSpaceDim(), and WorkSpaceDim().
|
protected |
Definition at line 77 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), and InitialAssRes().
|
protected |
Definition at line 86 of file aeromodal.h.
Referenced by AssJac(), AssVec(), and ~AerodynamicModal().
|
protected |
Definition at line 87 of file aeromodal.h.
Referenced by AssJac(), AssVec(), and ~AerodynamicModal().
|
protected |
Definition at line 88 of file aeromodal.h.
Referenced by AssJac(), AssVec(), and ~AerodynamicModal().
|
protected |
Definition at line 89 of file aeromodal.h.
Referenced by AssJac(), AssVec(), and ~AerodynamicModal().
|
protected |
Definition at line 90 of file aeromodal.h.
Referenced by AssJac(), AssVec(), and ~AerodynamicModal().
|
protected |
Definition at line 91 of file aeromodal.h.
Referenced by AssJac(), AssVec(), and ~AerodynamicModal().
|
protected |
Definition at line 100 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), AssVec(), and InitialAssRes().
|
protected |
Definition at line 101 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), AssVec(), and InitialAssRes().
|
protected |
Definition at line 76 of file aeromodal.h.
Referenced by AssJac(), AssRes(), and InitialAssRes().
|
protected |
Definition at line 75 of file aeromodal.h.
Referenced by AerodynamicModal(), AssJac(), AssRes(), AssVec(), GetConnectedNodes(), and InitialAssRes().
|
protected |
Definition at line 93 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), AssVec(), InitialAssRes(), and ~AerodynamicModal().
|
protected |
Definition at line 94 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), AssVec(), InitialAssRes(), and ~AerodynamicModal().
|
protected |
Definition at line 95 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), AssVec(), InitialAssRes(), and ~AerodynamicModal().
|
protected |
Definition at line 97 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), AssVec(), InitialAssRes(), Output(), and ~AerodynamicModal().
|
protected |
Definition at line 98 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), AssVec(), InitialAssRes(), Output(), and ~AerodynamicModal().
|
protected |
Definition at line 78 of file aeromodal.h.
Referenced by AerodynamicModal(), AssRes(), and InitialAssRes().
|
protected |
Definition at line 79 of file aeromodal.h.
Referenced by AerodynamicModal(), AssJac(), AssRes(), AssVec(), and InitialAssRes().
|
protected |
Definition at line 113 of file aeromodal.h.
Referenced by AerodynamicModal(), AssJac(), AssRes(), AssVec(), and InitialAssRes().