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

Go to the source code of this file.

Functions/Subroutines

subroutine networkforc (vl, tnl, imat, konl, mi, ntmat_, shcon, nshcon, rhcon, nrhcon)
 

Function/Subroutine Documentation

◆ networkforc()

subroutine networkforc ( real*8, dimension(0:mi(2),20)  vl,
real*8, dimension(9)  tnl,
integer  imat,
integer, dimension(20)  konl,
integer, dimension(*)  mi,
integer  ntmat_,
real*8, dimension(0:3,ntmat_,*)  shcon,
integer, dimension(*)  nshcon,
real*8, dimension(0:1,ntmat_,*)  rhcon,
integer, dimension(*)  nrhcon 
)
21 !
22 ! calculates the concentrated flux 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 vl(0:mi(2),20),tnl(9),gastemp,shcon(0:3,ntmat_,*),
30  & cp,r,dvi,rhcon(0:1,ntmat_,*),rho
31 !
32  gastemp=(vl(0,1)+vl(0,3))/2.d0
33 !
34  call materialdata_tg(imat,ntmat_,gastemp,shcon,nshcon,cp,r,
35  & dvi,rhcon,nrhcon,rho)
36 !
37 ! internal force = - external force
38 !
39  if(vl(1,2).gt.0.d0) then
40  tnl(3)=cp*(vl(0,3)-vl(0,1))*vl(1,2)
41  else
42  tnl(1)=-cp*(vl(0,1)-vl(0,3))*vl(1,2)
43  endif
44 !
45  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)