MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   Extract stiffness matrix finite element matlab (https://www.labfans.com/bbs/showthread.php?t=22164)

poster 2019-11-26 21:01

Extract stiffness matrix finite element matlab
 
<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>



[url=https://stackoverflow.com/questions/59051269/extract-stiffness-matrix-finite-element-matlab]More answer...[/url]


所有时间均为北京时间。现在的时间是 19:41

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.