MBDyn-1.7.3
|
#include <aeroelem.h>
Public Member Functions | |
AerodynamicBeam (unsigned int uLabel, const DofOwner *pDO, const Beam *pB, InducedVelocity *pR, bool bPassive, const Vec3 &fTmp1, const Vec3 &fTmp2, const Vec3 &fTmp3, const Mat3x3 &Ra1Tmp, const Mat3x3 &Ra2Tmp, const Mat3x3 &Ra3Tmp, const Shape *pC, const Shape *pF, const Shape *pV, const Shape *pT, const Shape *pTL, integer iN, AeroData *a, const DriveCaller *pDC, bool bUseJacobian, OrientationDescription ood, flag fOut) | |
virtual | ~AerodynamicBeam (void) |
virtual std::ostream & | Restart (std::ostream &out) const |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &, const VectorHandler &) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual SubVectorHandler & | InitialAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr) |
virtual void | Output (OutputHandler &OH) const |
virtual 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 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 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 | Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const |
virtual flag | fToBeOutput (void) const |
virtual bool | bToBeOutput (void) const |
Public Member Functions inherited from Aerodynamic2DElem< 3 > | |
Aerodynamic2DElem (unsigned int uLabel, const DofOwner *pDO, InducedVelocity *pR, bool bPassive, const Shape *pC, const Shape *pF, const Shape *pV, const Shape *pT, const Shape *pTL, integer iN, AeroData *a, const DriveCaller *pDC, bool bUseJacobian, OrientationDescription ood, flag fOut) | |
virtual | ~Aerodynamic2DElem (void) |
virtual Elem::Type | GetElemType (void) const |
virtual unsigned int | iGetNumDof (void) const |
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 DofOrder::Order | GetDofType (unsigned int) const |
virtual void | OutputPrepare (OutputHandler &OH) |
virtual void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *h=0) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual unsigned int | iGetInitialNumDof (void) const |
virtual void | InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &) |
virtual const InducedVelocity * | pGetInducedVelocity (void) const |
Public Member Functions inherited from AerodynamicElem | |
AerodynamicElem (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~AerodynamicElem (void) |
virtual bool | NeedsAirProperties (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) |
Public Member Functions inherited from DriveOwner | |
DriveOwner (const DriveCaller *pDC=0) | |
DriveOwner (const DriveOwner &drive) | |
virtual | ~DriveOwner (void) |
void | Set (const DriveCaller *pDC) |
DriveCaller * | pGetDriveCaller (void) const |
doublereal | dGet (const doublereal &dVar) const |
doublereal | dGet (void) const |
bool | bIsDifferentiable (void) const |
doublereal | dGetP (const doublereal &dVar) const |
doublereal | dGetP (void) const |
Public Member Functions inherited from AerodynamicOutput | |
AerodynamicOutput (flag f, int iNP, OrientationDescription ood) | |
~AerodynamicOutput (void) | |
void | SetOutputFlag (flag f, int iNP) |
void | ResetIterator (void) |
void | SetData (const Vec3 &v, const doublereal *pd, const Vec3 &X, const Mat3x3 &R, const Vec3 &V, const Vec3 &W, const Vec3 &F, const Vec3 &M) |
AerodynamicOutput::eOutput | GetOutput (void) const |
bool | IsOutput (void) const |
bool | IsSTD (void) const |
bool | IsPGAUSS (void) const |
bool | IsNODE (void) const |
Protected Types | |
enum | { NODE1 = 0, NODE2, NODE3, LASTNODE } |
enum | { DELTAx1 = 0, DELTAg1, DELTAx2, DELTAg2, DELTAx3, DELTAg3 } |
Protected Member Functions | |
void | AssVec (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
Protected Member Functions inherited from Aerodynamic2DElem< 3 > | |
virtual void | SetOutputFlag (flag f=flag(1)) |
void | Output_int (OutputHandler &OH) const |
void | AddForce_int (const StructNode *pN, const Vec3 &F, const Vec3 &M, const Vec3 &X) const |
void | AddSectionalForce_int (unsigned uPnt, const Vec3 &F, const Vec3 &M, doublereal dW, const Vec3 &X, const Mat3x3 &R, const Vec3 &V, const Vec3 &W) const |
Additional Inherited Members | |
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 Types inherited from AerodynamicOutput | |
enum | eOutput { AEROD_OUT_NONE = 0x0U, AEROD_OUT_STD = (ToBeOutput::OUTPUT_PRIVATE << 0), AEROD_OUT_PGAUSS = (ToBeOutput::OUTPUT_PRIVATE << 1), AEROD_OUT_NODE = (ToBeOutput::OUTPUT_PRIVATE << 2), AEROD_OUT_MASK = (AEROD_OUT_STD | AEROD_OUT_PGAUSS | AEROD_OUT_NODE) } |
enum | { OUTPUT_NONE = 0x0U, OUTPUT_GP_X = (ToBeOutput::OUTPUT_PRIVATE << 4), OUTPUT_GP_R = (ToBeOutput::OUTPUT_PRIVATE << 5), OUTPUT_GP_V = (ToBeOutput::OUTPUT_PRIVATE << 6), OUTPUT_GP_W = (ToBeOutput::OUTPUT_PRIVATE << 7), OUTPUT_GP_CONFIGURATION = (OUTPUT_GP_X | OUTPUT_GP_R | OUTPUT_GP_V | OUTPUT_GP_W), OUTPUT_GP_F = (ToBeOutput::OUTPUT_PRIVATE << 8), OUTPUT_GP_M = (ToBeOutput::OUTPUT_PRIVATE << 9), OUTPUT_GP_FORCES = (OUTPUT_GP_F | OUTPUT_GP_M), OUTPUT_DEFAULT = (OUTPUT_GP_F | OUTPUT_GP_M), OUTPUT_GP_ALL = (ToBeOutput::OUTPUT_PRIVATE_MASK & (~AEROD_OUT_MASK)) } |
Definition at line 341 of file aeroelem.h.
|
protected |
Enumerator | |
---|---|
NODE1 | |
NODE2 | |
NODE3 | |
LASTNODE |
Definition at line 346 of file aeroelem.h.
|
protected |
Enumerator | |
---|---|
DELTAx1 | |
DELTAg1 | |
DELTAx2 | |
DELTAg2 | |
DELTAx3 | |
DELTAg3 |
Definition at line 347 of file aeroelem.h.
AerodynamicBeam::AerodynamicBeam | ( | unsigned int | uLabel, |
const DofOwner * | pDO, | ||
const Beam * | pB, | ||
InducedVelocity * | pR, | ||
bool | bPassive, | ||
const Vec3 & | fTmp1, | ||
const Vec3 & | fTmp2, | ||
const Vec3 & | fTmp3, | ||
const Mat3x3 & | Ra1Tmp, | ||
const Mat3x3 & | Ra2Tmp, | ||
const Mat3x3 & | Ra3Tmp, | ||
const Shape * | pC, | ||
const Shape * | pF, | ||
const Shape * | pV, | ||
const Shape * | pT, | ||
const Shape * | pTL, | ||
integer | iN, | ||
AeroData * | a, | ||
const DriveCaller * | pDC, | ||
bool | bUseJacobian, | ||
OrientationDescription | ood, | ||
flag | fOut | ||
) |
Definition at line 1477 of file aeroelem.cc.
References ASSERT, Elem::BEAM, DEBUGCOUTFNAME, Beam::GetElemType(), pBeam, Beam::pGetNode(), pNode, and Node::STRUCTURAL.
|
virtual |
|
virtual |
Implements Elem.
Definition at line 1562 of file aeroelem.cc.
References Aerodynamic2DElem< 3 >::aerodata, AeroData::AssJac(), Aerodynamic2DElem< 3 >::bJacobian, c, Aerodynamic2DElem< 3 >::Chord, grad::cos(), Aerodynamic2DElem< 3 >::cq, Vec3::Cross(), DEBUGCOUT, DELTAg1, DELTAg2, DELTAg3, DELTAx1, DELTAx2, DELTAx3, ShapeOwner::dGet(), DriveOwner::dGet(), Rotor::dGetOmega(), PntWght::dGetPnt(), PntWght::dGetWght(), dN2, dN3, DxDcsi3N(), Eye3, f1, f2, f3, AirPropOwner::fGetAirVelocity(), GaussDataIterator::fGetNext(), Aerodynamic2DElem< 3 >::ForcePoint, Aerodynamic2DElem< 3 >::fq, Aerodynamic2DElem< 3 >::GDI, AirPropOwner::GetAirProps(), Elem::GetElemType(), GaussDataIterator::GetFirst(), AeroData::GetForcesJac(), InducedVelocity::GetInducedVelocity(), WithLabel::GetLabel(), Mat6x6::GetMat11(), Mat6x6::GetMat12(), Mat6x6::GetMat21(), Mat6x6::GetMat22(), Mat3xN::GetVec(), StructDispNode::GetXCurr(), DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), AeroData::iGetNumDof(), LASTNODE, MatCross, MatCrossCross, ER_Rot::MatG, ER_Rot::MatGm1, ER_Rot::MatR, Mat3x3::MulMT(), Mat3x3::MulTM(), MultRMRt(), Mat3x3::MulTV(), NODE1, NODE2, NODE3, Aerodynamic2DElem< 3 >::OUTA, ER_Rot::Param, pdsf3, pdsi3, Aerodynamic2DElem< 3 >::pIndVel, pNode, FullSubMatrixHandler::PutColIndex(), Mat3xN::PutMat3x3(), FullSubMatrixHandler::PutRowIndex(), Vec3::PutTo(), Ra1, Ra2, Ra3, Mat3x3::Reset(), AerodynamicOutput::ResetIterator(), FullSubMatrixHandler::ResizeReset(), AeroData::SetAirData(), VariableSubMatrixHandler::SetFull(), VariableSubMatrixHandler::SetNullMatrix(), AeroData::SetSectionData(), ShapeFunc3N(), grad::sin(), FullSubMatrixHandler::Sub(), Mat3x3::Transpose(), Aerodynamic2DElem< 3 >::Twist, Aerodynamic2DElem< 3 >::VelocityPoint, Aerodynamic2DElem< 3 >::vx, Elem::WorkSpaceDim(), Aerodynamic2DElem< 3 >::wx, and Zero3.
|
virtual |
Implements Elem.
Definition at line 1929 of file aeroelem.cc.
References AssVec(), DEBUGCOUTFNAME, StructDispNode::iGetFirstMomentumIndex(), NODE1, NODE2, NODE3, pNode, SubVectorHandler::PutRowIndex(), VectorHandler::ResizeReset(), and Elem::WorkSpaceDim().
|
protected |
Definition at line 1980 of file aeroelem.cc.
References VectorHandler::Add(), Aerodynamic2DElem< 3 >::AddForce_int(), Aerodynamic2DElem< 3 >::AddSectionalForce_int(), Aerodynamic2DElem< 3 >::aerodata, AeroData::AssRes(), ToBeOutput::bToBeOutput(), c, Aerodynamic2DElem< 3 >::Chord, grad::cos(), Vec3::Cross(), grad::Cross(), DEBUGCOUTFNAME, ShapeOwner::dGet(), DriveOwner::dGet(), Rotor::dGetOmega(), PntWght::dGetPnt(), PntWght::dGetWght(), dN2, dN3, DxDcsi3N(), F, f1, f2, f3, AirPropOwner::fGetAirVelocity(), GaussDataIterator::fGetNext(), Aerodynamic2DElem< 3 >::ForcePoint, Aerodynamic2DElem< 3 >::GDI, AirPropOwner::GetAirProps(), Elem::GetElemType(), GaussDataIterator::GetFirst(), AeroData::GetForces(), InducedVelocity::GetInducedVelocity(), WithLabel::GetLabel(), StructDispNode::GetXCurr(), DofOwnerOwner::iGetFirstIndex(), AeroData::iGetNumDof(), VectorHandler::iGetSize(), LASTNODE, M, ER_Rot::MatR, Mat3x3::MulTM(), Mat3x3::MulTV(), NODE1, NODE2, NODE3, Aerodynamic2DElem< 3 >::OUTA, ER_Rot::Param, pdsf3, pdsi3, Aerodynamic2DElem< 3 >::pIndVel, pNode, SubVectorHandler::PutRowIndex(), Vec3::PutTo(), Ra1, Ra2, Ra3, Vec3::Reset(), AerodynamicOutput::ResetIterator(), AeroData::SetAirData(), AerodynamicOutput::SetData(), AeroData::SetSectionData(), ShapeFunc3N(), grad::sin(), Aerodynamic2DElem< 3 >::TipLoss, Aerodynamic2DElem< 3 >::Twist, Aerodynamic2DElem< 3 >::VelocityPoint, and Zero3.
Referenced by AssRes(), and InitialAssRes().
|
inlinevirtual |
Implements AerodynamicElem.
Definition at line 424 of file aeroelem.h.
References AerodynamicElem::AERODYNAMICBEAM.
|
inlinevirtual |
Reimplemented from Elem.
Definition at line 434 of file aeroelem.h.
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 1957 of file aeroelem.cc.
References AssVec(), DEBUGCOUTFNAME, StructDispNode::iGetFirstPositionIndex(), NODE1, NODE2, NODE3, pNode, SubVectorHandler::PutRowIndex(), and VectorHandler::ResizeReset().
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 2209 of file aeroelem.cc.
References AerodynamicOutput::AEROD_OUT_NODE, AerodynamicOutput::AEROD_OUT_PGAUSS, AerodynamicOutput::AEROD_OUT_STD, OutputHandler::AERODYNAMIC, OutputHandler::Aerodynamic(), ASSERT, ToBeOutput::bToBeOutput(), DEBUGCOUTFNAME, F, Aerodynamic2DElem< 3 >::GDI, WithLabel::GetLabel(), AerodynamicOutput::GetOutput(), NumIntData::iGetNum(), M, NODE1, NODE2, NODE3, Aerodynamic2DElem< 3 >::OUTA, Aerodynamic2DElem< iNN >::Output_int(), AerodynamicOutput::OutputData, pBeam, OutputHandler::UseText(), and Vec3::Write().
|
virtual |
Implements Elem.
Definition at line 1528 of file aeroelem.cc.
References Aerodynamic2DElem< 3 >::aerodata, Aerodynamic2DElem< 3 >::Chord, DEBUGCOUTFNAME, f1, f2, f3, Aerodynamic2DElem< 3 >::ForcePoint, Aerodynamic2DElem< 3 >::GDI, WithLabel::GetLabel(), Mat3x3::GetVec(), NumIntData::iGetNum(), pBeam, DriveOwner::pGetDriveCaller(), ShapeOwner::pGetShape(), Aerodynamic2DElem< 3 >::pIndVel, Ra1, Ra2, Ra3, Shape::Restart(), AeroData::Restart(), DriveCaller::Restart(), Aerodynamic2DElem< 3 >::Twist, Aerodynamic2DElem< 3 >::VelocityPoint, Write(), and Vec3::Write().
Definition at line 366 of file aeroelem.h.
|
protected |
Definition at line 352 of file aeroelem.h.
|
protected |
Definition at line 353 of file aeroelem.h.
|
protected |
Definition at line 354 of file aeroelem.h.
Definition at line 367 of file aeroelem.h.
|
protected |
Definition at line 349 of file aeroelem.h.
Referenced by AerodynamicBeam(), Output(), and Restart().
|
protected |
Definition at line 350 of file aeroelem.h.
Referenced by AerodynamicBeam(), AssJac(), AssRes(), AssVec(), and InitialAssRes().
|
protected |
Definition at line 355 of file aeroelem.h.
|
protected |
Definition at line 358 of file aeroelem.h.
|
protected |
Definition at line 356 of file aeroelem.h.
|
protected |
Definition at line 359 of file aeroelem.h.
|
protected |
Definition at line 357 of file aeroelem.h.
|
protected |
Definition at line 360 of file aeroelem.h.