Dear all,
I am looking at the source code of the elasticbeamcolumn element. When you dont specify rho and specify the nodal mass, how does it calculates the mass matrix?
const Matrix &
ElasticBeam2d::getMass(void)
{
K.Zero();
if (rho > 0.0) {
double L = theCoordTransf->getInitialLength();
double m = 0.5*rho*L;
K(0,0) = m;
K(1,1) = m;
K(3,3) = m;
K(4,4) = m;
}
return K;
Thanks
elasticbeamcolumn element
Moderators: silvia, selimgunay, Moderators