Dear Prof. Taylor,
Thank you very much for your kind help and answer.
Based on EPRInt, the stiffness for last element is different for FEAP element and user element. Also, I am using FEAP 8.4 in Linux environment. Also, I attached the user element for quadrilateral which work fine and exact with FEAP element.
triangle Element Quad Element Comments
++++++++++++++++ ++++++++++++++++++ ++++++++++++++++
call TINT2D ( 2, LINT, GP ) call INT2D ( -3, LINT, GP ) !Gauss Quadrature
do ig=1,LINT do ig=1,LINT
SS=GP(1:3,ig); SS=GP(1:2,ig); ! Integration points
W=GP(4,ig); W=GP(3,ig); ! Weights
CALL TRISHP ( SS, XL, NDM, NEL, XJAC, shp ) CALL SHP2D ( SS, XL, shp, XJAC, NDM, NEL, IX, FLG )
(….) (….)
Enddo Enddo
d.o.f=6 d.o.f=8
GP(4,3) GP(3,4) !allocation of Guass points
However, for numerical integration, I used as follows (which are same in both Quad and Triangle):
S=S+transpose(B)*C*B*W*det(J)
However, I am not sure this numerical integration also is correct for the Triangle (maybe I sould normalaize W by multiplying to 0.5- but still it doesn't work).
P.S. I extend it even to 3D brick element and Tet element it works fine. Then I really confused why it doesn't work.
Thank you for your help.