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

Go to the source code of this file.

Functions/Subroutines

subroutine calccvelcomp (nef, vel, shcon, nshcon, ielmat, ntmat_, mi, cvel, physcon)
 

Function/Subroutine Documentation

◆ calccvelcomp()

subroutine calccvelcomp ( integer  nef,
real*8, dimension(nef,0:7)  vel,
real*8, dimension(0:3,ntmat_,*)  shcon,
integer, dimension(*)  nshcon,
integer, dimension(mi(3),*)  ielmat,
integer  ntmat_,
integer, dimension(*)  mi,
real*8, dimension(*)  cvel,
real*8, dimension(*)  physcon 
)
22 !
23 ! calculation of the secant heat capacity at constant volume
24 ! in the element centers (compressible media)
25 !
26  implicit none
27 !
28  integer nef,i,nshcon(*),imat,ntmat_,mi(*),ielmat(mi(3),*)
29 !
30  real*8 t1l,vel(nef,0:7),cp,shcon(0:3,ntmat_,*),cvel(*),
31  & physcon(*)
32 !
33 c$omp parallel default(none)
34 c$omp& shared(nef,vel,ielmat,ntmat_,shcon,nshcon,physcon,cvel)
35 c$omp& private(i,t1l,imat,cp)
36 c$omp do
37  do i=1,nef
38  t1l=vel(i,0)
39  imat=ielmat(1,i)
40  call materialdata_cp_sec(imat,ntmat_,t1l,shcon,nshcon,cp,
41  & physcon)
42 !
43 ! cv=cp-r
44 !
45  cvel(i)=cp-shcon(3,1,imat)
46  enddo
47 c$omp end do
48 c$omp end parallel
49 !
50  return
subroutine materialdata_cp_sec(imat, ntmat_, t1l, shcon, nshcon, cp, physcon)
Definition: materialdata_cp_sec.f:20
Hosted by OpenAircraft.com, (Michigan UAV, LLC)