1095 const char* sKeyWords[] = {
1127 << f1 << std::endl <<
"(global frame): "
1145 << f2 << std::endl <<
"(global frame): "
1146 << pNode2->GetXCurr()+pNode2->GetRCurr()*R2*f2 << std::endl);
1154 <<
": HBeam(" << uLabel <<
") does not support "
1155 "dynamic constitutive laws yet"
1162 Mat3x3 D11(MTmp.GetMat11());
1163 Mat3x3 D12(MTmp.GetMat12());
1164 Mat3x3 D21(MTmp.GetMat21());
1165 Mat3x3 D22(MTmp.GetMat22());
1168 "First point matrix D11: " << std::endl << D11 << std::endl
1169 <<
"First point matrix D12: " << std::endl << D12 << std::endl
1170 <<
"First point matrix D21: " << std::endl << D21 << std::endl
1171 <<
"First point matrix D22: " << std::endl << D22 << std::endl);
1179 if (HP.
IsKeyWord(
"piezoelectricactuator")) {
1182 "Piezoelectric actuator beam is expected"
1187 "piezo actuator " << uLabel
1188 <<
" has " << iNumElec
1189 <<
" electrodes" << std::endl);
1190 if (iNumElec <= 0) {
1191 silent_cerr(
"HBeam(" << uLabel <<
"): "
1192 "illegal number of electric nodes "
1201 for (
integer i = 0; i < iNumElec; i++) {
1205 PiezoMat[0].
Resize(iNumElec);
1206 PiezoMat[1].
Resize(iNumElec);
1209 HP.
GetMat6xN(PiezoMat[0], PiezoMat[1], iNumElec);
1213 << PiezoMat[0][0] << PiezoMat[1][0]);
1238 PiezoActuatorHBeam(uLabel,
1245 PiezoMat[0], PiezoMat[1],
1251 #ifdef VISCOELASTIC_BEAM
1257 ViscoElasticHBeam(uLabel,
1266 PiezoActuatorVEHBeam,
1267 PiezoActuatorVEHBeam(uLabel,
1274 PiezoMat[0], PiezoMat[1],
1280 silent_cerr(
"Sorry, the ViscoElasticHBeam element"
1281 " is not available yet" << std::endl);
1288 silent_cerr(
"semicolon expected at line "
flag fReadOutput(MBDynParser &HP, const T &t) const
Mat3x3 GetRotRel(const ReferenceFrame &rf)
#define MBDYN_EXCEPT_ARGS
#define DEBUGCOUTFNAME(fname)
virtual integer GetInt(integer iDefval=0)
virtual const Mat3x3 & GetRCurr(void) const
virtual void GetMat6xN(Mat3xN &m1, Mat3xN &m2, integer iNumCols)
virtual const Tder & GetFDE(void) const
Vec3 GetPosRel(const ReferenceFrame &rf)
virtual bool IsKeyWord(const char *sKeyWord)
ConstitutiveLaw6D * GetConstLaw6D(ConstLawType::Type &clt)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
virtual const Vec3 & GetXCurr(void) const
virtual unsigned int iGetNumDof(void) const
#define SAFENEWARR(pnt, item, sz)
virtual HighParser::ErrOut GetLineData(void) const
Node * ReadNode(MBDynParser &HP, Node::Type type) const
#define DEBUGLCOUT(level, msg)