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

Go to the source code of this file.

Functions/Subroutines

subroutine hgforce (fn, elas, a, gs, vl, mi, konl)
 

Function/Subroutine Documentation

◆ hgforce()

subroutine hgforce ( real*8, dimension(0:mi(2),*)  fn,
real*8, dimension(1)  elas,
real*8  a,
real*8, dimension(8,4)  gs,
real*8, dimension(0:mi(2),20)  vl,
integer, dimension(*)  mi,
integer, dimension(20)  konl 
)
20 !
21 ! hourglass control forces 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  integer i,j,k,mi(*),konl(20)
31  real*8 gs(8,4),a,elas(1),ahr
32  real*8 vl(0:mi(2),20), fn(0:mi(2),*)
33  real*8 hglf(3,4)
34 !
35  ahr=elas(1)*a
36 c write(6,*) "force:", ahr
37 !
38  do i=1,3
39  do k=1,4
40  hglf(i,k)=0.0d0
41  do j=1,8
42  hglf(i,k)=hglf(i,k)+gs(j,k)*vl(i,j)
43  enddo
44  hglf(i,k)=hglf(i,k)*ahr
45  enddo
46  enddo
47  do i=1,3
48  do j=1,8
49  do k=1,4
50  fn(i,konl(j))=fn(i,konl(j))+hglf(i,k)*gs(j,k)
51  enddo
52  enddo
53  enddo
54  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)