FEM-Course-Matlab/10.四节点八节点四边形单元悬臂梁的Matlab有限元编程/8_nodes/Jacobi1.m

8 lines
340 B
Mathematica
Raw Permalink Normal View History

2024-01-28 16:46:36 +00:00
function J=Jacobi(ie,s,t,Elements,Nodes)
ENodes = Elements(ie,:); %<EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
xe = Nodes(ENodes(:),:); %<EFBFBD><EFBFBD>ȡ<EFBFBD>ڵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
x1=xe(1,1);y1=xe(1,2);
x2=xe(2,1);y2=xe(2,2);
x3=xe(3,1);y3=xe(3,2);
x4=xe(4,1);y4=xe(4,2);
J=1/4*[-(1+t) -(1-t) 1-t 1+t;1-s -(1-s) -(1+s) 1+s]*[x1 y1;x2 y2;x3 y3;x4 y4];