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

Go to the source code of this file.

Functions/Subroutines

subroutine radresult (ntr, xloadact, bcr, nloadtr, tarea, tenv, physcon, erad, auview, fenv, irowrad, jqrad, nzsrad, q)
 

Function/Subroutine Documentation

◆ radresult()

subroutine radresult ( integer  ntr,
real*8, dimension(2,*)  xloadact,
real*8, dimension(ntr)  bcr,
integer, dimension(*)  nloadtr,
real*8, dimension(*)  tarea,
real*8, dimension(*)  tenv,
real*8, dimension(*)  physcon,
real*8, dimension(*)  erad,
real*8, dimension(*)  auview,
real*8, dimension(*)  fenv,
integer, dimension(*)  irowrad,
integer, dimension(*)  jqrad,
integer  nzsrad,
real*8, dimension(*)  q 
)
22 !
23  implicit none
24 !
25  integer i,j,k,ntr,nloadtr(*),irowrad(*),jqrad(*),nzsrad
26 !
27  real*8 xloadact(2,*), tarea(*),tenv(*),auview(*),
28  & erad(*),fenv(*),physcon(*),bcr(ntr),q(*)
29 !
30 ! calculating the flux and transforming the flux into an
31 ! equivalent temperature
32 !
33  write(*,*) ''
34 !
35  do i=1,ntr
36  q(i)=bcr(i)
37  enddo
38 !
39 ! lower triangle
40 !
41  do i=1,ntr
42  do j=jqrad(i),jqrad(i+1)-1
43  k=irowrad(j)
44  q(k)=q(k)-auview(j)*bcr(i)
45 !
46 ! upper triangle
47 !
48  q(i)=q(i)-auview(nzsrad+j)*bcr(k)
49  enddo
50  enddo
51 !
52  do i=1,ntr
53  j=nloadtr(i)
54  q(i)=q(i)-fenv(i)*physcon(2)*tenv(i)**4
55  xloadact(2,j)=
56  & max(tarea(i)**4-q(i)/(erad(i)*physcon(2)),0.d0)
57 c xloadact(2,j)=(xloadact(2,j))**0.25-physcon(1)
58  xloadact(2,j)=(xloadact(2,j))**0.25+physcon(1)
59  enddo
60 !
61  return
#define max(a, b)
Definition: cascade.c:32
static double * auview
Definition: radflowload.c:42
Hosted by OpenAircraft.com, (Michigan UAV, LLC)