poster
2019-11-26, 21:01
<p>I've read MatLab documentatin on <a href="https://it.mathworks.com/help/pde/ug/assema.html" rel="nofollow noreferrer">how to assemble</a> the stiffness matrix for the finite element approach.
The sintax is </p>
<p><code>[K,M,F] = assema(p,t,c,a,f) #assembles the matrices from the mesh data in p and t</code>
Here <code>c,a,f</code> are just the cofficients like 0 or 1 and are not of interesent for the purpose of the question.</p>
<p>In this example, <code>p</code> and <code>t</code> are already computed by the command <code>initmesh</code>. </p>
<p><strong>My question is the following</strong>: I have a triangulation that has been given to me from an other people, so I already have <code>p</code> and <code>t</code>, and I want to run the <code>assema</code> command. The format is the same of the one of matlab, but I don't understand why it doesn't work. Maybe because it's not generated by the command <code>initmesh</code> ?</p>
More answer... (https://stackoverflow.com/questions/59051269/extract-stiffness-matrix-finite-element-matlab)
The sintax is </p>
<p><code>[K,M,F] = assema(p,t,c,a,f) #assembles the matrices from the mesh data in p and t</code>
Here <code>c,a,f</code> are just the cofficients like 0 or 1 and are not of interesent for the purpose of the question.</p>
<p>In this example, <code>p</code> and <code>t</code> are already computed by the command <code>initmesh</code>. </p>
<p><strong>My question is the following</strong>: I have a triangulation that has been given to me from an other people, so I already have <code>p</code> and <code>t</code>, and I want to run the <code>assema</code> command. The format is the same of the one of matlab, but I don't understand why it doesn't work. Maybe because it's not generated by the command <code>initmesh</code> ?</p>
More answer... (https://stackoverflow.com/questions/59051269/extract-stiffness-matrix-finite-element-matlab)