查看单个帖子
旧 2019-11-26, 21:01   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 Extract stiffness matrix finite element matlab

I've read MatLab documentatin on how to assemble the stiffness matrix for the finite element approach.
The sintax is



[K,M,F] = assema(p,t,c,a,f) #assembles the matrices from the mesh data in p and t
Here c,a,f are just the cofficients like 0 or 1 and are not of interesent for the purpose of the question.



In this example, p and t are already computed by the command initmesh.



My question is the following: I have a triangulation that has been given to me from an other people, so I already have p and t, and I want to run the assema 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 initmesh ?





More answer...
poster 当前离线   回复时引用此帖