Calculate mass matrix

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
Jriera
Posts: 3
Joined: Mon Oct 30, 2017 9:46 am
Location: Universidad Politecnica de Madrid

Calculate mass matrix

Post by Jriera »

Are there any instructions to obtain the mass matrix of a structure?

Thank you.
dgale
Posts: 57
Joined: Fri Jan 15, 2016 4:01 am
Location: UPM

Re: Calculate mass matrix

Post by dgale »

I have the same problem.

In the OpenSees manual is written the following:

------------MANUAL--------------
printA <-file $fileName>

will print the contents of a FullGeneral system that the integrator creates to the screen or a file if the -file option is used. If using a static integrator, the resulting matrix is the stiffness matrix. If a transient integrator, it will be some combination of mass and stiffness matrices
------------------------------------

But, what kind of combination is?

Thanks in advance
David
yinghaozhao
Posts: 1
Joined: Mon May 14, 2018 1:44 pm
Location: the ohio state university

Re: Calculate mass matrix

Post by yinghaozhao »

have you solved the problem now?
I take several trial but still don't know what is the combinantion of the " mass and stiffness matrices"

could someone give us a solution?

thanks
Yinghao
selimgunay
Posts: 916
Joined: Mon Sep 09, 2013 8:50 pm
Location: University of California, Berkeley

Re: Calculate mass matrix

Post by selimgunay »

If you use the transient integrator "Explicit Newmark" with zero damping, the output of the printA command will be the mass matrix
dgale
Posts: 57
Joined: Fri Jan 15, 2016 4:01 am
Location: UPM

Re: Calculate mass matrix

Post by dgale »

Thanks Silimgunay!
And what about Force vector?, is there any implemented function to obtain it? like printA for K and M
selimgunay
Posts: 916
Joined: Mon Sep 09, 2013 8:50 pm
Location: University of California, Berkeley

Re: Calculate mass matrix

Post by selimgunay »

As far as I know there is not. You can obtain it by multiplying K with the displacements when you use consistent dof in K and the displacement
Post Reply