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

Go to the source code of this file.

Functions/Subroutines

subroutine networkstiff (voldl, s, imat, konl, mi, ntmat_, shcon, nshcon, rhcon, nrhcon)
 

Function/Subroutine Documentation

◆ networkstiff()

subroutine networkstiff ( real*8, dimension(0:mi(2),9), intent(in)  voldl,
real*8, dimension(60,60), intent(inout)  s,
integer, intent(in)  imat,
integer, dimension(20), intent(in)  konl,
integer, dimension(*), intent(in)  mi,
integer, intent(in)  ntmat_,
real*8, dimension(0:3,ntmat_,*), intent(in)  shcon,
integer, dimension(*), intent(in)  nshcon,
real*8, dimension(0:1,ntmat_,*), intent(in)  rhcon,
integer, dimension(*), intent(in)  nrhcon 
)
21 !
22 ! calculates the stiffness of a generic networkelement
23 ! element label: D + blank
24 !
25  implicit none
26 !
27  integer konl(20),mi(*),imat,nshcon(*),nrhcon(*),ntmat_
28 !
29  real*8 voldl(0:mi(2),9),s(60,60),gastemp,shcon(0:3,ntmat_,*),
30  & cp,r,dvi,rhcon(0:1,ntmat_,*),rho
31 !
32  intent(in) voldl,imat,konl,mi,ntmat_,shcon,
33  & nshcon,rhcon,nrhcon
34 !
35  intent(inout) s
36 !
37  gastemp=(voldl(0,1)+voldl(0,3))/2.d0
38 !
39  call materialdata_tg(imat,ntmat_,gastemp,shcon,nshcon,cp,r,
40  & dvi,rhcon,nrhcon,rho)
41 !
42  if(voldl(1,2).gt.0.d0) then
43  s(3,1)=-cp*voldl(1,2)
44  s(3,3)=-s(3,1)
45  else
46  s(1,1)=-cp*voldl(1,2)
47  s(1,3)=-s(1,1)
48  endif
49 !
50  return
subroutine materialdata_tg(imat, ntmat_, t1l, shcon, nshcon, sph, r, dvi, rhcon, nrhcon, rho)
Definition: materialdata_tg.f:20
Hosted by OpenAircraft.com, (Michigan UAV, LLC)