Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Size of matrix exported from Comsol : understanding?

Please login with a confirmed email address before reporting spam

Deal all,

can you explain how to understand the size of stiffness matrix which is exported from comsol,

for example i have a 2d cantilever beam, discritized with nel_x x nel_y=20 x 10 => nnode_x x nnode_y = (20+1) x (10+1)=231 nodes, and ndofs=231 x 2=462 degree of freedoms,

so i expect the size of stiffness matrix will be K(full)=462x462, but the size exported from Comsol is: 1322x1322

you can following the matlab file for runing in Comsol server;



1 Reply Last Post 11.09.2018, 07:08 GMT-4
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 11.09.2018, 07:08 GMT-4
Updated: 6 years ago 11.09.2018, 11:22 GMT-4

Hi,

You are probably using 2nd order serendipity elements (which is the default in Solid Mechanics).

(41*21 - 10*20)*2 = 1322

Regards,
Henrik

-------------------
Henrik Sönnerlind
COMSOL
Hi, You are probably using 2nd order serendipity elements (which is the default in Solid Mechanics). (41\*21 - 10\*20)\*2 = 1322 Regards, Henrik

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.