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

Go to the source code of this file.

Functions/Subroutines

subroutine calcumel (nef, vel, shcon, nshcon, ielmat, ntmat_, ithermal, mi, umel)
 

Function/Subroutine Documentation

◆ calcumel()

subroutine calcumel ( 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  ithermal,
integer, dimension(*)  mi,
real*8, dimension(*)  umel 
)
21 !
22 ! calculation of the dynamic viscosity in the element centers
23 !
24  implicit none
25 !
26  integer nef,i,nshcon(*),imat,ithermal,ntmat_,mi(*),
27  & ielmat(mi(3),*)
28 !
29  real*8 t1l,vel(nef,0:7),dvi,shcon(0:3,ntmat_,*),umel(*)
30 !
31 c$omp parallel default(none)
32 c$omp& shared(nef,vel,ielmat,shcon,nshcon,ntmat_,ithermal,umel)
33 c$omp& private(i,t1l,imat,dvi)
34 c$omp do
35  do i=1,nef
36  t1l=vel(i,0)
37  imat=ielmat(1,i)
38  call materialdata_dvi(shcon,nshcon,imat,dvi,t1l,ntmat_,
39  & ithermal)
40  umel(i)=dvi
41  enddo
42 c$omp end do
43 c$omp end parallel
44 !
45  return
subroutine materialdata_dvi(shcon, nshcon, imat, dvi, t1l, ntmat_, ithermal)
Definition: materialdata_dvi.f:20
Hosted by OpenAircraft.com, (Michigan UAV, LLC)