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

Go to the source code of this file.

Functions/Subroutines

subroutine calccvfacomp (nface, vfa, shcon, nshcon, ielmat, ntmat_, mi, ielfa, cvfa, physcon)
 

Function/Subroutine Documentation

◆ calccvfacomp()

subroutine calccvfacomp ( integer  nface,
real*8, dimension(0:7,*)  vfa,
real*8, dimension(0:3,ntmat_,*)  shcon,
integer, dimension(2,*)  nshcon,
integer, dimension(mi(3),*)  ielmat,
integer  ntmat_,
integer, dimension(*)  mi,
integer, dimension(4,*)  ielfa,
real*8, dimension(*)  cvfa,
real*8, dimension(*)  physcon 
)
21 !
22 ! calculation of the secant heat capacity at constant volume
23 ! at the face centers (compressible media)
24 !
25  implicit none
26 !
27  integer nface,i,nshcon(2,*),imat,ntmat_,mi(*),
28  & ielmat(mi(3),*),ielfa(4,*)
29 !
30  real*8 t1l,vfa(0:7,*),cp,shcon(0:3,ntmat_,*),cvfa(*),physcon(*)
31 !
32 c$omp parallel default(none)
33 c$omp& shared(nface,vfa,ielmat,ielfa,ntmat_,shcon,nshcon,physcon,cvfa)
34 c$omp& private(i,t1l,imat,cp)
35 c$omp do
36  do i=1,nface
37  t1l=vfa(0,i)
38 !
39 ! take the material of the first adjacent element
40 !
41  imat=ielmat(1,ielfa(1,i))
42  call materialdata_cp_sec(imat,ntmat_,t1l,shcon,nshcon,cp,
43  & physcon)
44 !
45 ! cv=cp-r
46 !
47  cvfa(i)=cp-shcon(3,1,imat)
48  enddo
49 c$omp end do
50 c$omp end parallel
51 !
52  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)