Discussion ClosedThis 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.

Degree of Freedom

Please login with a confirmed email address before reporting spam

Hi, I am using 4 quadratic element in 2D square geometry for calculation of temperature. I get9 values of temperatureat each node using functionmpheval, but when i usefuction mphmatrixto getK matrix it come 25x25. It says number ofdegree of freedom is 25.

How it is possible for scalar 2D Heat conduction problem? The K matrix should also be 9x9.

I am unable to find in document regarding degree of freedom. and internal degree of freedom Please help.

Hitesh Kumar Sinha Thank You



3 Replies Last Post 2022年5月23日 GMT+2 11:36
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022年5月18日 GMT+2 13:01

If you look underDiscretizationin theHeat Transfer in Solidsnode, you will see that the shape functions used areQuadratic Lagrange, so there are 25 nodes in the mesh.

If you want to visualize the nodes, add aMeshplot in any plot group, and select the physics interface in theNode pointsdrop-down menu.

-------------------
Henrik Sönnerlind
COMSOL
If you look under *Discretization* in the *Heat Transfer in Solids* node, you will see that the shape functions used are *Quadratic Lagrange*, so there are 25 nodes in the mesh. If you want to visualize the nodes, add a *Mesh* plot in any plot group, and select the physics interface in the *Node points* drop-down menu.

Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022年5月23日 GMT+2 10:35

Hi Hitesh

mpheval assumes first order elements by default.

If you set 'refine' to 2 then you'll get the second order information - and usually much larger matrices.

-------------------
Lars Gregersen
Comsol Denmark
Hi Hitesh mpheval assumes first order elements by default. If you set 'refine' to 2 then you'll get the second order information - and usually much larger matrices.

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022年5月23日 GMT+2 11:36

Thank Henrik and Lars. Thank you so much for your reply. I helped me alot, thank once again for your guidence

Thank Henrik and Lars. Thank you so much for your reply. I helped me alot, thank once again for your guidence

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

Baidu
map