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

Go to the source code of this file.

Functions/Subroutines

subroutine calcumfa (nface, vfa, shcon, nshcon, ielmat, ntmat_, ithermal, mi, ielfa, umfa)
 

Function/Subroutine Documentation

◆ calcumfa()

subroutine calcumfa ( integer  nface,
real*8, dimension(0:7,*)  vfa,
real*8, dimension(0:3,ntmat_,*)  shcon,
integer, dimension(*)  nshcon,
integer, dimension(mi(3),*)  ielmat,
integer  ntmat_,
integer  ithermal,
integer, dimension(*)  mi,
integer, dimension(4,*)  ielfa,
real*8, dimension(*)  umfa 
)
21 !
22 ! calculation of the dynamic viscosity at the face centers
23 !
24  implicit none
25 !
26  integer nface,i,nshcon(*),imat,ithermal,ntmat_,mi(*),
27  & ielmat(mi(3),*),ielfa(4,*)
28 !
29  real*8 t1l,vfa(0:7,*),dvi,shcon(0:3,ntmat_,*),umfa(*)
30 !
31 c$omp parallel default(none)
32 c$omp& shared(nface,vfa,ielmat,ielfa,shcon,nshcon,ntmat_,ithermal,umfa)
33 c$omp& private(i,t1l,imat,dvi)
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_dvi(shcon,nshcon,imat,dvi,t1l,ntmat_,
42  & ithermal)
43  umfa(i)=dvi
44 c write(*,*) 'calcumfa ',umfa(i)
45  enddo
46 c$omp end do
47 c$omp end parallel
48 !
49  return
subroutine materialdata_dvi(shcon, nshcon, imat, dvi, t1l, ntmat_, ithermal)
Definition: materialdata_dvi.f:20
Hosted by OpenAircraft.com, (Michigan UAV, LLC)