


{"id":359950,"date":"2024-04-02T09:25:43","date_gmt":"2024-04-02T09:25:43","guid":{"rendered":"\/forum\/forums\/topic\/creation-of-a-matrix27-element-but-no-effect-on-the-result\/"},"modified":"2024-04-10T13:14:46","modified_gmt":"2024-04-10T13:14:46","slug":"creation-of-a-matrix27-element-but-no-effect-on-the-result","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/creation-of-a-matrix27-element-but-no-effect-on-the-result\/","title":{"rendered":"Creation of a MATRIX27 element, but no effect on the result"},"content":{"rendered":"<p><span style=\"font-size: 14pt\">Hi there,<\/span><\/p>\n<p><span style=\"font-size: 14pt\">I&#8217;m currently investigating the influence of a new type of bearing on the rotordynamic behavior of a rotor system. What is special about this bearing is that it has unsymmetrical stiffness and damping matrix in X, Y, ROTX and ROTY directions, and sometimes it has negative values of these dynamic properties, which means I cannot just use a general joint to model it. So I turned to creating a MATRIX27 element by inserting an APDL command snippet object. Here is my code, for example, to model the stiffness of the bearing:<\/span><\/p>\n<p><span style=\"font-size: 10pt\">\/PREP7<\/span><br \/><span style=\"font-size: 10pt\">! define a node<\/span><br \/><span style=\"font-size: 10pt\">local,12,0,10,5,5,0,0,0 !CS definition &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! &nbsp;Defines a local coordinate system by a location and orientation.<\/span><br \/><span style=\"font-size: 10pt\">csys,0 ! Use a specific CS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! &nbsp;Activates a previously defined coordinate system.<\/span><br \/><span style=\"font-size: 10pt\">toffst,273.15, &nbsp;! Temperature offset from absolute zero<\/span><br \/><span style=\"font-size: 10pt\">*GET,NodeJ,NODE,,COUNT<\/span><br \/><span style=\"font-size: 10pt\">NodeJ = NodeJ + 1<\/span><br \/><span style=\"font-size: 10pt\">n,NodeJ,0,0,0,0,0,0<\/span><br \/><span style=\"font-size: 10pt\">d,NodeJ,UX,%_FIX%<\/span><br \/><span style=\"font-size: 10pt\">d,NodeJ,UY,%_FIX%<\/span><br \/><span style=\"font-size: 10pt\">d,NodeJ,UZ,%_FIX%<\/span><br \/><span style=\"font-size: 10pt\">d,NodeJ,ROTX,%_FIX%<\/span><br \/><span style=\"font-size: 10pt\">d,NodeJ,ROTY,%_FIX%<\/span><br \/><span style=\"font-size: 10pt\">*GET,KLid,ELEM,,COUNT<\/span><br \/><span style=\"font-size: 10pt\">KLid = KLid + 1<\/span><br \/><span style=\"font-size: 10pt\">DOF,UX,UY,UZ,ROTX,ROTY,ROTZ<\/span><br \/><span style=\"font-size: 10pt\">ET,KLid,27,0,2,4,1, &nbsp; &nbsp; &nbsp;! KOP(3) = 4 is Stiffness, = 5 is damping, = 2 is inertia output result<\/span><br \/><span style=\"font-size: 10pt\">r,KLid,4725.1761,3258.2165,0,-33261.2676,1626946.9728,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,-3258.2191,4725.1777,0,-1626946.5781,-33261.299,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,-15434.1567,89265.2558,0,-5182223.0717,625042.0062,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,-89265.2446,-15434.1487,0,-625040.2455,-5182222.0351,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><br \/><span style=\"font-size: 10pt\">rmore,0,0,0,0,0,0,<\/span><\/p>\n<p><span style=\"font-size: 10pt\">mat,KLid<\/span><br \/><span style=\"font-size: 10pt\">real,KLid<\/span><br \/><span style=\"font-size: 10pt\">type,KLid<\/span><br \/><span style=\"font-size: 10pt\">secnum,KLid &nbsp;! section ID<\/span><br \/><span style=\"font-size: 10pt\">MP,BETD,KLid,0.00000001,0,0,0,0<\/span><br \/><span style=\"font-size: 10pt\">EN,KLid,NodeJ,EPKL &nbsp; &nbsp; &nbsp; ! define an element by the nodal connectivity<\/span><\/p>\n<p><span style=\"font-size: 10pt\">\/SOLU<\/span><\/p>\n<p><span style=\"font-size: 14pt\">It appears that the snippet successfully created the MATRIX27 element. When I set:<\/span><\/p>\n<p><span style=\"font-size: 10pt\">ET,KLid,27,0,0,2,1,<\/span><\/p>\n<p>to model the mass matrix of the bearing, I can see that the mass summary in the Mechanical Solution Information has really changed (Type 68945 is the MATRIX27 element type):<\/p>\n<div id=\"paraDiv\">\n<p id=\"paragraphData\" class=\"paragraphText\" style=\"font-size: 12px;display: inline\"><span style=\"font-size: 10pt\">***********&nbsp; PRECISE MASS SUMMARY&nbsp; ***********<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp;&nbsp; TOTAL RIGID BODY MASS MATRIX ABOUT ORIGIN<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Translational mass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; Coupled translational\/rotational mass<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10000E+06&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.44899E-02&nbsp;&nbsp; 0.47978E-13<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10000E+06&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; -0.44899E-02&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.86666E-13<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10000E+06 |&nbsp;&nbsp; -0.47978E-13&nbsp; -0.86666E-13&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp; <\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rotational mass (inertia)<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; 0.18592&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -0.25673E-11&nbsp; -0.59732E-11<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; -0.25673E-11&nbsp;&nbsp; 0.18592&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.46053E-11<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; -0.59732E-11&nbsp;&nbsp; 0.46053E-11&nbsp;&nbsp; 0.94659E-02<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp;&nbsp; TOTAL MASS = 0.10000E+06<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp; The mass principal axes coincide with the global Cartesian axes<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp;&nbsp; CENTER OF MASS (X,Y,Z)=&nbsp;&nbsp; 0.86666E-18&nbsp; -0.47978E-18&nbsp;&nbsp; 0.44899E-07<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp;&nbsp; TOTAL INERTIA ABOUT CENTER OF MASS<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.18592&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -0.25673E-11&nbsp; -0.59732E-11<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -0.25673E-11&nbsp;&nbsp; 0.18592&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.46053E-11<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -0.59732E-11&nbsp;&nbsp; 0.46053E-11&nbsp;&nbsp; 0.94659E-02<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp; The inertia principal axes coincide with the global Cartesian axes<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp; *** MASS SUMMARY BY ELEMENT TYPE ***<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MASS<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 0.169594E-03<\/span><br \/><span style=\"font-size: 10pt\">&nbsp;68945&nbsp;&nbsp; 100000.&nbsp;&nbsp;&nbsp;<\/span><\/p>\n<p class=\"paragraphText\" style=\"font-size: 12px;display: inline\">&nbsp;<\/p>\n<p class=\"paragraphText\" style=\"font-size: 12px;display: inline\">&nbsp;<\/p>\n<div><span style=\"font-size: 14pt\">However, the modal analysis results are the same compared to the results without the MATRIX27 element. Theoretically, if I create a MATRIX27 element with a stiffness matrix, the eigenfrequencies should be higher for the geometry that is radially and axially fixed on one side and founded with the bearing on the other side, and if I create a MATRIX27 element with a mass matrix, the eigenfrequencies should be lower. But no matter how I change the type of matrix or the values in the matrix. The results are always the same.<\/span><\/div>\n<div>&nbsp;<\/div>\n<div><span style=\"font-size: 14pt\">I also tried using the APDL command snippet object to create a generic joint, similar to the code I posted above. It works fine and gives the desired results. So I think it&#8217;s because of my lack of understanding of the MATRIX27 element, even though I have read the element reference of MATRIX27 carefully. Could you give me some advice about this element? Thanks in advance.<\/span><\/div>\n<p class=\"paragraphText\" style=\"font-size: 12px;display: inline\"><span style=\"font-size: 14pt\">Best regards,<\/span><\/p>\n<p class=\"paragraphText\" style=\"font-size: 12px;display: inline\">&nbsp;<\/p>\n<p class=\"paragraphText\" style=\"font-size: 12px;display: inline\"><span style=\"font-size: 14pt\">Oliver<\/span><\/p>\n<\/div>\n","protected":false},"template":"","class_list":["post-359950","topic","type-topic","status-closed","hentry","topic-tag-Modal_Analysis-1","topic-tag-apdl","topic-tag-Matrix27-1","topic-tag-mechanical"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["48109","20905"],"_bbp_author_ip":["96.7.218.223"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1171"],"_bbp_topic_status":["answered"],"_edit_lock":["1712050186:290635"],"_bbp_likes_count":["1"],"_bbp_topic_id":["359950"],"_bbp_forum_id":["27791"],"_bbp_engagement":["20905","48109"],"_bbp_voice_count":["2"],"_bbp_last_reply_id":["361164"],"_bbp_last_active_id":["361164"],"_bbp_last_active_time":["2024-04-08 16:45:33"]},"test":"zhengzhong-gaostud-tu-darmstadt-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/359950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/359950\/revisions"}],"predecessor-version":[{"id":359952,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/359950\/revisions\/359952"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=359950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}