MBDyn-1.7.3
|
#include <rotor.h>
Public Member Functions | |
ManglerRotor (unsigned int uLabel, const DofOwner *pDO) | |
ManglerRotor (unsigned int uLabel, const DofOwner *pDO, const StructNode *pCraft, const Mat3x3 &rrot, const StructNode *pRotor, const StructNode *pGround, ResForceSet **ppres, const doublereal &dOR, const doublereal &dR, DriveCaller *pdW, unsigned int iMaxIt, const doublereal &dTol, const doublereal &dE, const doublereal &dCH, const doublereal &dCFF, flag fOut) | |
virtual | ~ManglerRotor (void) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual std::ostream & | Restart (std::ostream &out) const |
InducedVelocity::Type | GetInducedVelocityType (void) const |
virtual void | AddForce (const Elem *pEl, const StructNode *pNode, const Vec3 &F, const Vec3 &M, const Vec3 &X) |
virtual Vec3 | GetInducedVelocity (Elem::Type type, unsigned uLabel, unsigned uPnt, const Vec3 &X) 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 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, const VectorHandler &XPP) |
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 Rotor | |
Rotor (unsigned int uL, const DofOwner *pDO) | |
Rotor (unsigned int uL, const DofOwner *pDO, const StructNode *pC, const Mat3x3 &rrot, const StructNode *pR, const StructNode *pG, ResForceSet **ppres, const doublereal &dR, unsigned int iMaxIt, const doublereal &dTol, const doublereal &dE, flag fOut) | |
virtual | ~Rotor (void) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual void | Output (OutputHandler &OH) const |
virtual void | SetInitialValue (VectorHandler &) |
virtual const Vec3 & | GetXCurr (void) const |
virtual doublereal | dGetOmega (void) const |
virtual doublereal | dGetRadius (void) const |
virtual doublereal | dGetMu (void) const |
virtual const Vec3 & | GetForces (void) const |
virtual const Vec3 & | GetMoments (void) const |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) const |
Public Member Functions inherited from InducedVelocityElem | |
InducedVelocityElem (unsigned int uL, const DofOwner *pDO, const StructNode *pCraft, ResForceSet **ppres, flag fOut) | |
virtual | ~InducedVelocityElem (void) |
virtual Elem::Type | GetElemType (void) const |
virtual AerodynamicElem::Type | GetAerodynamicElemType (void) const |
virtual DofOrder::Order | GetDofType (unsigned int i) const |
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 |
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 InducedVelocity | |
InducedVelocity (unsigned int uL, const StructNode *pCraft, ResForceSet **ppres, flag fOut) | |
virtual | ~InducedVelocity (void) |
virtual unsigned int | iGetNumPrivData (void) const |
virtual unsigned int | iGetPrivDataIdx (const char *s) const |
virtual doublereal | dGetPrivData (unsigned int i) const |
virtual bool | bSectionalForces (void) const |
virtual unsigned int | iGetNumDof (void) const |
virtual void | AddSectionalForce (Elem::Type type, const Elem *pEl, unsigned uPnt, const Vec3 &F, const Vec3 &M, doublereal dW, const Vec3 &X, const Mat3x3 &R, const Vec3 &V, const Vec3 &W) |
virtual void | ResetForce (void) |
virtual void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | SetValue (DataManager *pDM, VectorHandler &, VectorHandler &, SimulationEntity::Hints *ph=0) |
Protected Member Functions | |
virtual void | Init (const StructNode *pCraft, const Mat3x3 &rrot, const StructNode *pRotor, const StructNode *pGround, ResForceSet **ppres, const doublereal &dOR, const doublereal &dR, DriveCaller *pdW, unsigned int iMaxIt, const doublereal &dTol, const doublereal &dE, const doublereal &dCH, const doublereal &dCFF, flag fOut) |
Protected Member Functions inherited from Rotor | |
virtual doublereal | dGetPsi (const Vec3 &X) const |
virtual doublereal | dGetPos (const Vec3 &X) const |
virtual void | GetPos (const Vec3 &X, doublereal &dr, doublereal &dp) const |
virtual void | InitParam (bool bComputeMeanInducedVelocity=true) |
virtual void | Init (const StructNode *pC, const Mat3x3 &rrot, const StructNode *pR, const StructNode *pG, ResForceSet **ppres, const doublereal &dR, unsigned int iMaxIt, const doublereal &dTol, const doublereal &dE, flag fOut) |
ManglerRotor::ManglerRotor | ( | unsigned int | uLabel, |
const DofOwner * | pDO, | ||
const StructNode * | pCraft, | ||
const Mat3x3 & | rrot, | ||
const StructNode * | pRotor, | ||
const StructNode * | pGround, | ||
ResForceSet ** | ppres, | ||
const doublereal & | dOR, | ||
const doublereal & | dR, | ||
DriveCaller * | pdW, | ||
unsigned int | iMaxIt, | ||
const doublereal & | dTol, | ||
const doublereal & | dE, | ||
const doublereal & | dCH, | ||
const doublereal & | dCFF, | ||
flag | fOut | ||
) |
Definition at line 1268 of file rotor.cc.
References Init().
|
virtual |
|
virtual |
Reimplemented from InducedVelocity.
Definition at line 1427 of file rotor.cc.
References ResForces::AddForce(), InducedVelocity::AddForce(), ResForces::AddForces(), ToBeOutput::bToBeOutput(), MYSLEEP, and InducedVelocity::Res.
|
virtual |
Implements Elem.
Definition at line 1358 of file rotor.cc.
References Rotor::dCosAlphad, DEBUGCOUT, Rotor::dGetPos(), Rotor::dGetPsi(), Rotor::dLambda, Rotor::dMu, Rotor::dOmega, Rotor::dPsi0, Rotor::dRadius, Rotor::dSinAlphad, Rotor::dUMean, Rotor::dVelocity, ToBeOutput::fToBeOutput(), GetInducedVelocity(), StructDispNode::GetXCurr(), Rotor::InitParam(), Rotor::pRotor, InducedVelocity::ResetForce(), VectorHandler::Resize(), and Rotor::VCraft.
|
virtual |
Implements InducedVelocity.
Definition at line 1460 of file rotor.cc.
References grad::cos(), Rotor::dSinAlphad, Rotor::dUMeanPrev, Rotor::GetPos(), M_PI, grad::pow(), Rotor::RRot3, grad::sqrt(), and Zero3.
Referenced by AssRes().
|
inlinevirtual |
Implements InducedVelocity.
Definition at line 509 of file rotor.h.
References InducedVelocity::MANGLER.
|
protectedvirtual |
Definition at line 1291 of file rotor.cc.
References ASSERT, Rotor::dArea, Rotor::dForwardFlightCorrection, Rotor::dHoverCorrection, Rotor::dOmegaRef, Rotor::dPsi0, Rotor::dRadius, Rotor::dSinAlphad, Rotor::dUMeanPrev, Rotor::dVTipRef, Rotor::Init(), M_PI, Mat3x3::pGetMat(), Vec3::pGetVec(), ExternResForces::Pole(), InducedVelocity::Res, Rotor::RRot3, Rotor::RRotTranspose, SAFENEWARR, SAFENEWWITHCONSTRUCTOR, DriveOwner::Set(), and Rotor::Weight.
Referenced by ManglerRotor().
|
virtual |
Reimplemented from Rotor.
Definition at line 1417 of file rotor.cc.
References Rotor::dForwardFlightCorrection, Rotor::dHoverCorrection, Rotor::dRadius, DriveOwner::pGetDriveCaller(), Rotor::Restart(), DriveCaller::Restart(), and Rotor::Weight.