fekinepb.m

来自「采用Matlab编写的有限元方法」· M 代码 · 共 27 行

M
27
字号
function [kinmtpb]=fekinepb(nnel,dhdx,dhdy)

%--------------------------------------------------------------------------
%  Purpose:
%     determine the kinematic matrix expression relating bending curvatures 
%     to rotations and displacements for shear deformable plate bending
%
%  Synopsis:
%     [kinmtpb]=fekinepb(nnel,dhdx,dhdy) 
%
%  Variable Description:
%     nnel - number of nodes per element
%     dhdx - derivatives of shape functions with respect to x   
%     dhdy - derivatives of shape functions with respect to y
%--------------------------------------------------------------------------

 for i=1:nnel
 i1=(i-1)*3+1;  
 i2=i1+1;
 i3=i2+1;
 kinmtpb(1,i1)=dhdx(i);
 kinmtpb(2,i2)=dhdy(i);
 kinmtpb(3,i1)=dhdy(i);
 kinmtpb(3,i2)=dhdx(i);
 kinmtpb(3,i3)=0;
 end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?