OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
neo_hook_t.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/.
23C Hyperelastic model: THERMAL DEPENDANT NEO-HOOK
24C compute stresses using MATB which is the
25C left cauchy green tensor [b]=[F][FT]
26!||====================================================================
27!|| neo_hook_t ../engine/source/materials/mat/mat100/neo_hook_t.F
28!||--- called by ------------------------------------------------------
29!|| sigeps100 ../engine/source/materials/mat/mat100/sigeps100.F90
30!||--- calls -----------------------------------------------------
31!|| mullins_or ../engine/source/materials/fail/mullins_or/fail_mullins_OR_s.F
32!||====================================================================
33 SUBROUTINE neo_hook_t(
34 1 NEL , MATB,SIG,
35 4 BI1,JDET ,FLAG_MUL,MU,D,
36 5 NVARF,COEFR, BETAF,COEFM ,UVARF)
37C-----------------------------------------------
38C I M P L I C I T T Y P E S
39C-----------------------------------------------
40#include "implicit_f.inc"
41C----------------------------------------------------------------
42C I N P U T A R G U M E N T S
43C----------------------------------------------------------------
44 INTEGER, INTENT(IN) :: NEL,FLAG_MUL,NVARF
45 my_real, INTENT(IN) :: COEFR, BETAF,COEFM
46
47 my_real, DIMENSION(NEL), INTENT(IN) :: mu,d
48 my_real, DIMENSION(NEL, 3,3), INTENT(IN) :: matb(nel,3,3)
49C my_real, DIMENSION(NEL), INTENT(IN) :: MU
50C----------------------------------------------------------------
51C O U T P U T A R G U M E N T S
52C----------------------------------------------------------------
53 my_real, DIMENSION(NEL), INTENT(OUT) :: bi1,jdet
54 my_real, DIMENSION(NEL, 3,3), INTENT(OUT) :: sig
55C----------------------------------------------------------------
56C I N P U T O U T P U T A R G U M E N T S
57C----------------------------------------------------------------
58 my_real, DIMENSION(NEL,NVARF), INTENT(INOUT) :: uvarf
59C----------------------------------------------------------------
60C L O C A L V A R I B L E S
61C----------------------------------------------------------------
62 INTEGER I
63
64 my_real
65 . lpchain(nel), trace(nel),traceb(nel),j2third(nel),
66 . sb1(nel), sb2(nel),sb3(nel),tbnorm(nel),dgamma(nel),i1(nel),
67 . aa,bb,cc,trb2,trb22,invj(nel),
68 . jthird(nel),j4third(nel),eta(nel),ww(nel) ,
69 . dphidi1(nel) , dphidj(nel)
70C----------------------------------------------------------------
71 eta(1:nel) = one !MULLINS DAMAGE FACTOR
72
73 DO i = 1,nel
74 !J = RHO0/RHO = RELATIVE VOLUME = DET F (F = GRADIENT OF DEFORMATION)
75 jdet(i)=matb(i,1,1)*matb(i,2,2)*matb(i,3,3) -matb(i,1,1)*matb(i,2,3)*matb(i,3,2) -
76 . matb(i,3,3)*matb(i,1,2)*matb(i,2,1) +matb(i,1,2)*matb(i,2,3)*matb(i,3,1) +
77 . matb(i,2,1)*matb(i,3,2)*matb(i,1,3) -matb(i,2,2)*matb(i,3,1)*matb(i,1,3)
78 jdet(i)= sqrt(max(em20, jdet(i)))
79
80 !FIRST INVARIANT
81 i1(i) = matb(i,1,1)+matb(i,2,2)+matb(i,3,3)
82
83 IF(jdet(i)>zero) THEN
84 j2third(i) = exp((-two_third )*log(jdet(i)))
85 ELSE
86 j2third(i) = zero
87 ENDIF
88 ENDDO
89 DO i = 1,nel
90 !INVARIANT BAR
91 !first invariant deviator BI1:
92 bi1(i) = i1(i) * j2third(i)
93 ENDDO
94
95
96 !====================================
97 !dammge by mullins effect
98 !====================================
99 IF(flag_mul == 1)THEN
100 DO i = 1,nel
101 ww(i) = mu(i) *(bi1(i)-three) /two
102
103 ENDDO
104 CALL mullins_or(
105 1 nel ,nvarf, coefr,betaf ,
106 2 coefm, ww , uvarf,eta )
107 ENDIF
108 !====================================
109
110 DO i = 1,nel
111 eta(i) = max(min(eta(i),one),em20)
112 dphidi1(i) = eta(i)*mu(i)/two
113 dphidj(i) = d(i)* (jdet(i)-one)
114 invj(i)=one/max(em20,jdet(i))
115 ENDDO
116
117 DO i=1,nel
118 !CAUCHY STRESS
119 aa = eta(i)*mu(i)/max(em20,jdet(i))
120
121 sig(i,1,1) = aa*(matb(i,1,1)-third*i1(i))
122 . + dphidj(i)
123 sig(i,2,2) = aa*(matb(i,2,2)-third*i1(i))
124 . + dphidj(i)
125 sig(i,3,3) = aa*(matb(i,3,3)-third*i1(i))
126 . + dphidj(i)
127 sig(i,1,2) = aa*matb(i,1,2)
128 sig(i,2,3) = aa*matb(i,2,3)
129 sig(i,3,1) = aa*matb(i,3,1)
130 sig(i,2,1)=sig(i,1,2)
131 sig(i,3,2)=sig(i,2,3)
132 sig(i,1,3)=sig(i,3,1)
133 ENDDO
134C
135 RETURN
136 END
subroutine mullins_or(nel, nuvar, coefr, betaf, coefm, ww, uvar, eta)
#define min(a, b)
Definition macros.h:20
#define max(a, b)
Definition macros.h:21
subroutine neo_hook_t(nel, matb, sig, bi1, jdet, flag_mul, mu, d, nvarf, coefr, betaf, coefm, uvarf)
Definition neo_hook_t.F:37