OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
thermc.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine thermc (jft, jlt, pm, mat, thk, ixc, px1, px2, py1, py2, area, dt1c, tempnc, tempel, die, fphi, theaccfact)

Function/Subroutine Documentation

◆ thermc()

subroutine thermc ( integer jft,
integer jlt,
pm,
integer, dimension(*) mat,
thk,
integer, dimension(nixc,*) ixc,
px1,
px2,
py1,
py2,
area,
dt1c,
tempnc,
tempel,
die,
fphi,
intent(in) theaccfact )

Definition at line 31 of file thermc.F.

34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C G l o b a l P a r a m e t e r s
40C-----------------------------------------------
41#include "mvsiz_p.inc"
42#include "param_c.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER JFT, JLT,MAT(*),IXC(NIXC,*)
47 my_real ,INTENT(IN) :: theaccfact
49 . area(*), px1(*), px2(*), py1(*), py2(*),
50 . tempnc(*), fphi(mvsiz,4), pm(npropm,*),die(*),
51 . dt1c(*), thk(*),tempel(*)
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 INTEGER I, J,MX
56 my_real :: ca,cb ,kc ,phix,phiy,a
57!=======================================================================
58 mx =mat(jft)
59 ca = pm(75,mx)
60 cb = pm(76,mx)
61!
62 DO i=jft,jlt
63C
64C - flux
65C
66 kc = (ca + cb*tempel(i))*dt1c(i)/max(em20,area(i))*theaccfact
67 phix = tempnc(ixc(2,i))*px1(i) + tempnc(ixc(3,i))*px2(i) -
68 . tempnc(ixc(4,i))*px1(i) - tempnc(ixc(5,i))*px2(i)
69
70 phiy = tempnc(ixc(2,i))*py1(i) + tempnc(ixc(3,i))*py2(i) -
71 . tempnc(ixc(4,i))*py1(i) - tempnc(ixc(5,i))*py2(i)
72C
73 phix = kc*phix*thk(i)
74 phiy = kc*phiy*thk(i)
75C
76C nodal thermal force
77C
78 a = fourth * die(i)
79 fphi(i,1) = a - (phix*px1(i) + phiy*py1(i))
80 fphi(i,2) = a - (phix*px2(i) + phiy*py2(i))
81 fphi(i,3) = a + (phix*px1(i) + phiy*py1(i))
82 fphi(i,4) = a + (phix*px2(i) + phiy*py2(i))
83 ENDDO
84C
85 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine area(d1, x, x2, y, y2, eint, stif0)
#define max(a, b)
Definition macros.h:21