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

Go to the source code of this file.

Functions/Subroutines

subroutine calchcfa (nface, vfa, cocon, ncocon, ielmat, ntmat_, mi, ielfa, hcfa)
 

Function/Subroutine Documentation

◆ calchcfa()

subroutine calchcfa ( integer  nface,
real*8, dimension(0:7,*)  vfa,
real*8, dimension(0:6,ntmat_,*)  cocon,
integer, dimension(2,*)  ncocon,
integer, dimension(mi(3),*)  ielmat,
integer  ntmat_,
integer, dimension(*)  mi,
integer, dimension(4,*)  ielfa,
real*8, dimension(*)  hcfa 
)
21 !
22 ! calculation of the thermal conductivity at the face centers
23 !
24  implicit none
25 !
26  integer nface,i,ncocon(2,*),imat,ntmat_,mi(*),
27  & ielmat(mi(3),*),ielfa(4,*)
28 !
29  real*8 t1l,vfa(0:7,*),cond,cocon(0:6,ntmat_,*),hcfa(*)
30 !
31 c$omp parallel default(none)
32 c$omp& shared(nface,vfa,ielmat,ielfa,ntmat_,cocon,ncocon,hcfa)
33 c$omp& private(i,t1l,imat,cond)
34 c$omp do
35  do i=1,nface
36  t1l=vfa(0,i)
37 !
38 ! take the material of the first adjacent element
39 !
40  imat=ielmat(1,ielfa(1,i))
41  call materialdata_cond(imat,ntmat_,t1l,cocon,ncocon,cond)
42  hcfa(i)=cond
43  enddo
44 c$omp end do
45 c$omp end parallel
46 !
47  return
subroutine materialdata_cond(imat, ntmat_, t1l, cocon, ncocon, cond)
Definition: materialdata_cond.f:19
Hosted by OpenAircraft.com, (Michigan UAV, LLC)