fem Triangular Mesh有限元三角网格生成器
Posted fpga&matlab
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了fem Triangular Mesh有限元三角网格生成器相关的知识,希望对你有一定的参考价值。
%This example generates NE elements for a rectangular structure of
%length = Ly units and width = Lx units with Nx divisions on the x
%axis using femTriangularMeshGenerator function
% Kehinde Orolu
% Systems Engineering
% University of Lagos, Nigeria
% olukeh@yahoo.com
cla
Lx=100;
Ly=100;
Nx=8;
NE=144;
[coords cT nNodes ]=femTriangularMeshGenerator(Lx,Ly,Nx,NE);
disp(['Number of nodes = ',num2str(nNodes)])
disp('Connectivity Table')
disp(cT)
z=1;
for i=1:NE
figure(1),patch('Vertices',coords(z:z+2,:),'Faces',[1,2,3],'FaceColor','none','EdgeColor','g')
hold on
z=z+3;
end
figure(1),scatter(coords(:,1),coords(:,2),'MarkerFaceColor','r')
hold off
D145
以上是关于fem Triangular Mesh有限元三角网格生成器的主要内容,如果未能解决你的问题,请参考以下文章