OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
thermc.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| thermc ../engine/source/materials/mat_share/thermc.F
25!||--- called by ------------------------------------------------------
26!|| cforc3 ../engine/source/elements/shell/coque/cforc3.F
27!|| cforc3_crk ../engine/source/elements/xfem/cforc3_crk.F
28!|| czforc3 ../engine/source/elements/shell/coquez/czforc3.F
29!|| czforc3_crk ../engine/source/elements/xfem/czforc3_crk.F
30!||====================================================================
31 SUBROUTINE thermc(JFT ,JLT ,PM ,MAT ,THK ,IXC ,
32 2 PX1 ,PX2 ,PY1 ,PY2 ,AREA ,DT1C ,
33 3 TEMPNC ,TEMPEL ,DIE ,FPHI ,THEACCFACT)
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
48 my_real
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
86 END
subroutine area(d1, x, x2, y, y2, eint, stif0)
#define max(a, b)
Definition macros.h:21
subroutine thermc(jft, jlt, pm, mat, thk, ixc, px1, px2, py1, py2, area, dt1c, tempnc, tempel, die, fphi, theaccfact)
Definition thermc.F:34