<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.imechanica.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>iMechanica - Problem with 3D Fem sparse matrix ( plz help me) - Comments</title>
 <link>http://www.imechanica.org/node/4047</link>
 <description>Comments for &quot;Problem with 3D Fem sparse matrix ( plz help me)&quot;</description>
 <language>en</language>
<item>
 <title>RE: Isoparametric and quadratic triangle FEM</title>
 <link>http://www.imechanica.org/node/4047#comment-9846</link>
 <description>&lt;p&gt;&lt;font size=&quot;2&quot;&gt;Not sure if I have understood well your question. Let&amp;#39;s assume you have a mesh of N nodes with DOF number of degree of freedoms each, then the total size of the global stiffness matrix before enforcing essential boundary conditions will be (N*DOF) by &lt;/font&gt;&lt;font size=&quot;2&quot;&gt;(N*DOF)&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;. In your case it seems that DOF = 1, so you simply will get N by N. Therefore, if you switch from linear triangle to quadratic triangle the size of the global stiffness matrix will be affected. &lt;/font&gt;&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 18 Feb 2009 15:16:05 -0500</pubDate>
 <dc:creator>Alejandro A. Ortiz</dc:creator>
 <guid isPermaLink="false">comment 9846 at http://www.imechanica.org</guid>
</item>
<item>
 <title>Isoparametric and quadratic triangle FEM</title>
 <link>http://www.imechanica.org/node/4047#comment-9845</link>
 <description>&lt;p&gt;
&amp;nbsp;Dear Sir,
&lt;/p&gt;
&lt;p&gt;
I have one question regarding the quadratic elment in 2D. if i take triangular basis in quadratic form ( six nodes) the stiffness matrix for local triangle is increases 3x3 to 6x6 matrix because of six basis function for six nodes. For linear basis it is 3x3 matrix. If my total number of triangles and node points are constant&amp;nbsp; for mesh, how i will take care of the size of global stiffness matrix? if initial node number is 1500 and triangle 3000, after considering quadratic&amp;nbsp; 6 points triangle, will the global stiffness matrix incease to 4500x4500 ( according to node number)? can i keep it constant 1500x1500 matrix?
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
please give some idea&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 18 Feb 2009 14:47:39 -0500</pubDate>
 <dc:creator>sameer2008</dc:creator>
 <guid isPermaLink="false">comment 9845 at http://www.imechanica.org</guid>
</item>
<item>
 <title>thank you very much Mr.</title>
 <link>http://www.imechanica.org/node/4047#comment-8933</link>
 <description>&lt;p&gt;thank you very much Mr. Temesgen&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Fri, 17 Oct 2008 01:43:09 -0400</pubDate>
 <dc:creator>sameer2008</dc:creator>
 <guid isPermaLink="false">comment 8933 at http://www.imechanica.org</guid>
</item>
<item>
 <title>You should include the BC&#039;s</title>
 <link>http://www.imechanica.org/node/4047#comment-8921</link>
 <description>&lt;p&gt;
&lt;font size=&quot;2&quot;&gt;Hi Sameer,&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=&quot;2&quot;&gt;With out the BC&amp;#39;s, the stiffness matrices are simply singular.&lt;br /&gt;
This isn&amp;#39;t a numerical issue. Even when you solve a DE analytically your&lt;br /&gt;
solution is not uniquely defined until you supply appropriate boundary&lt;br /&gt;
conditions. So include the BC before you go ahead.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
I am Temesgen and I approve this message!
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 15 Oct 2008 12:29:15 -0400</pubDate>
 <dc:creator>Temesgen Markos</dc:creator>
 <guid isPermaLink="false">comment 8921 at http://www.imechanica.org</guid>
</item>
<item>
 <title> 


thank you very much. i</title>
 <link>http://www.imechanica.org/node/4047#comment-8918</link>
 <description>&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
thank you very much. i will do the things that u told.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
but if i dont include the boundary condition and simpliy find the stiffness matrix for each local tetrahedron and to get the global stiffness matrix, i just add the&amp;nbsp; local matrices in there corresponding&amp;nbsp; positions with respect to the global matrix, even after that it will show any problem?&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;for assembling the local matrices i just&amp;nbsp; did these things
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;kk=zeros(total_nod,total_nod); global stiffnes matrix
&lt;/p&gt;
&lt;p&gt;
kk(t(iel,:),t(iel,:))=kk(t(iel,:),t(iel,:))+k; where k is local stiffness matrix for t(iel,:) element
&lt;/p&gt;
&lt;p&gt;
i am using matlab software
&lt;/p&gt;
&lt;p&gt;
once again thank you ( if u have any suggestion plz suggest )&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 15 Oct 2008 11:27:27 -0400</pubDate>
 <dc:creator>sameer2008</dc:creator>
 <guid isPermaLink="false">comment 8918 at http://www.imechanica.org</guid>
</item>
<item>
 <title>Re: Problem with 3D Fem sparse matrix ( plz help me)</title>
 <link>http://www.imechanica.org/node/4047#comment-8911</link>
 <description>&lt;p&gt;
&lt;font size=&quot;2&quot;&gt;What I would do in your case is to try with a simple example done by hand. Thus, you know what numbers the stiffness matrix should have. There are some reasons to get a singular matrix. One of them might be that the global stiffness matrix is not variationally correct meaning that the essential boundary conditions are not properly included in your stiffness matrix. After you form the global stiffness matrix you need to modify it along with the force vector to include the essential boundary conditions. Otherwise the matrix will be singular. If this is not your problem then a wrong assembly procedure might be the cause.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=&quot;2&quot;&gt;Best wishes in your project, &lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=&quot;2&quot;&gt;Alejandro A. Ortiz&lt;/font&gt;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 15 Oct 2008 02:34:14 -0400</pubDate>
 <dc:creator>Alejandro A. Ortiz</dc:creator>
 <guid isPermaLink="false">comment 8911 at http://www.imechanica.org</guid>
</item>
<item>
 <title>Problem with 3D Fem sparse matrix ( plz help me)</title>
 <link>http://www.imechanica.org/node/4047</link>
 <description>&lt;p&gt;
&amp;nbsp;hi,
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;i have calculated the local stiffness matrix and form global stiffness matrix. but when i am solving the equation&amp;nbsp; it is saying the matrix (stiffness) is badly scaled and near to singular matrix. i think there is one problem in assembling the local matrix. anybody can give&amp;nbsp; the idea&amp;nbsp; what will be the probabal solution. i have done the 2d and its working fine. i have some doubt on&amp;nbsp; assembling. what i have done is that i have use the same algorithm of 2d( linear basis is triangle) assemble but different degrees of freedom and ofcourse node number will be differents for 3D ( basia is linear tetrahedron).
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
plz help me&amp;nbsp; i am on my deadline&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <comments>http://www.imechanica.org/node/4047#comments</comments>
 <category domain="http://www.imechanica.org/taxonomy/term/846">FEM</category>
 <pubDate>Tue, 14 Oct 2008 15:05:31 -0400</pubDate>
 <dc:creator>sameer2008</dc:creator>
 <guid isPermaLink="false">4047 at http://www.imechanica.org</guid>
</item>
</channel>
</rss>

