FEM-Course-Matlab/17.接触问题matlab有限元编程/fem-contact/ShapeFun.m

8 lines
163 B
Mathematica
Raw Permalink Normal View History

2024-01-28 16:46:36 +00:00
function N=ShapeFun(s,t)
N1=1/4*(1-s)*(1-t);
N2=1/4*(1+s)*(1-t);
N3=1/4*(1+s)*(1+t);
N4=1/4*(1-s)*(1+t);
N=[N1 0 N2 0 N3 0 N4 0;
0 N1 0 N2 0 N3 0 N4];