CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
hgstiffness.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine hgstiffness (s, elas, a, gs)
 

Function/Subroutine Documentation

◆ hgstiffness()

subroutine hgstiffness ( real*8, dimension(60,60), intent(inout)  s,
real*8, dimension(1), intent(in)  elas,
real*8, intent(in)  a,
real*8, dimension(8,4), intent(in)  gs 
)
20 !
21 ! hourglass control stiffness for 8-node solid mean strain element
22 !
23 ! Reference: Flanagan, D.P., Belytschko, T.; "Uniform strain hexahedron
24 ! and quadrilateral with orthogonal Hourglass control". Int. J. Num.
25 ! Meth. Engg., Vol. 17, 679-706, 1981.
26 !
27 ! author: Otto-Ernst Bernhardi
28 !
29  implicit none
30 !
31  integer ii1,jj1,ii,jj,m1
32 !
33  real*8 s(60,60),gs(8,4),a,elas(1),hgls,ahr
34 !
35  intent(in) elas,a,gs
36 !
37  intent(inout) s
38 !
39  ahr=elas(1)*a
40 c write(6,*) "stiffness:", ahr
41 !
42  jj1=1
43  do jj=1,8
44  ii1=1
45  do ii=1,jj
46  hgls=0.0d0
47  do m1=1,4
48  hgls=hgls+gs(jj,m1)*gs(ii,m1)
49  enddo
50  hgls=hgls*ahr
51  s(ii1,jj1)=s(ii1,jj1)+hgls
52  s(ii1+1,jj1+1)=s(ii1+1,jj1+1)+hgls
53  s(ii1+2,jj1+2)=s(ii1+2,jj1+2)+hgls
54  ii1=ii1+3
55  enddo
56  jj1=jj1+3
57  enddo
58  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)