-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfekineax.m
28 lines (26 loc) · 929 Bytes
/
fekineax.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
function [kinmtxax]=fekineax(nnel,dhdx,dhdy,shape,radist)
%------------------------------------------------------------------------
% Purpose:
% determine kinematic equations between strains and displacements
% for axisymmetric solids
%
% Synopsis:
% [kinmtxax]=fekineax(nnel,dhdx,dhdy,shape,radist)
%
% Variable Description:
% nnel - number of nodes per element
% shape - shape functions
% dhdx - derivatives of shape functions with respect to x
% dhdy - derivatives of shape functions with respect to y
% radist - radial distance of integration point or central point
% for hoop strain component
%------------------------------------------------------------------------
for i=1:nnel
i1=(i-1)*2+1;
i2=i1+1;
kinmtxax(1,i1)=dhdx(i);
kinmtxax(2,i1)=shape(i)/radist;
kinmtxax(3,i2)=dhdy(i);
kinmtxax(4,i1)=dhdy(i);
kinmtxax(4,i2)=dhdx(i);
end