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

Go to the source code of this file.

Functions/Subroutines

subroutine calcrhoel (nef, vel, rhcon, nrhcon, ielmat, ntmat_, ithermal, mi)
 

Function/Subroutine Documentation

◆ calcrhoel()

subroutine calcrhoel ( integer  nef,
real*8, dimension(nef,0:7)  vel,
real*8, dimension(0:1,ntmat_,*)  rhcon,
integer, dimension(*)  nrhcon,
integer, dimension(mi(3),*)  ielmat,
integer  ntmat_,
integer  ithermal,
integer, dimension(*)  mi 
)
21 !
22 ! calculation of rho in the element centers (incompressible
23 ! fluids)
24 !
25  implicit none
26 !
27  integer nef,i,nrhcon(*),imat,ithermal,ntmat_,mi(*),
28  & ielmat(mi(3),*)
29 !
30  real*8 t1l,vel(nef,0:7),rho,rhcon(0:1,ntmat_,*)
31 !
32  do i=1,nef
33  t1l=vel(i,0)
34  imat=ielmat(1,i)
35  call materialdata_rho(rhcon,nrhcon,imat,rho,t1l,ntmat_,
36  & ithermal)
37  vel(i,5)=rho
38 c write(*,*) 'calcrhoel rho',i,rho
39  enddo
40 c write(*,*)
41 !
42  return
subroutine materialdata_rho(rhcon, nrhcon, imat, rho, t1l, ntmat_, ithermal)
Definition: materialdata_rho.f:20
Hosted by OpenAircraft.com, (Michigan UAV, LLC)