OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sigaboyce.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: ARRUDA BOYCE strain energy potential
24C compute stresses using MATB which is the
25C left cauchy green tensor [b]=[F][FT]
26!||====================================================================
27!|| sigaboyce ../engine/source/materials/mat/mat100/sigaboyce.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 sigaboyce(
34 1 NEL , MATB ,C1,C2,C3,
35 3 C4 ,C5 ,MU,BETA,D ,
36 4 SIG ,BI1 ,JDET ,FLAG_MUL,
37 5 NVARF,COEFR, BETAF,COEFM ,UVARF)
38C-----------------------------------------------
39C I M P L I C I T T Y P E S
40C-----------------------------------------------
41#include "implicit_f.inc"
42C----------------------------------------------------------------
43C I N P U T A R G U M E N T S
44C----------------------------------------------------------------
45 INTEGER, INTENT(IN) :: NEL,FLAG_MUL,NVARF
46 my_real, INTENT(IN) :: C1,C2,C3,C4,C5,MU,BETA,D ,
47 . COEFR, BETAF,COEFM
48 my_real, DIMENSION(NEL, 3,3) , INTENT(IN) :: MATB
49C----------------------------------------------------------------
50C O U T P U T A R G U M E N T S
51C----------------------------------------------------------------
52 my_real, DIMENSION(NEL), INTENT(OUT) :: bi1 ,jdet
53 my_real, DIMENSION(NEL, 3,3) :: sig
54C----------------------------------------------------------------
55C I N P U T O U T P U T A R G U M E N T S
56C----------------------------------------------------------------
57 my_real, DIMENSION(NEL,NVARF), INTENT(INOUT) :: uvarf
58C----------------------------------------------------------------
59C L O C A L V A R I B L E S
60C----------------------------------------------------------------
61 INTEGER I
62
63 my_real
64 . J2THIRD(NEL),I1(NEL),JTHIRD(NEL),WW (NEL),
65 . dphidi1(nel) ,dphidj(nel) ,eta(nel)
66C----------------------------------------------------------------
67 eta(1:nel) = one !MULLINS DAMAGE FACTOR
68 DO i = 1,nel
69 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) -
70 . matb(i,3,3)*matb(i,1,2)*matb(i,2,1) +matb(i,1,2)*matb(i,2,3)*matb(i,3,1) +
71 . matb(i,2,1)*matb(i,3,2)*matb(i,1,3) -matb(i,2,2)*matb(i,3,1)*matb(i,1,3)
72 jdet(i)= sqrt(max(em20, jdet(i)))
73 !INVARIANT BAR
74 i1(i) = matb(i,1,1)+matb(i,2,2)+matb(i,3,3)
75 IF(jdet(i)>zero) THEN
76 jthird(i) = exp((-third )*log(jdet(i)))
77 j2third(i) = jthird(i)**2
78 ELSE
79 jthird(i) = zero
80 j2third(i) = zero
81 ENDIF
82 !first invariant deviator BI1:
83 bi1(i) = i1(i) * j2third(i)
84 ENDDO
85 !====================================
86 !dammge by mullins effect
87 !====================================
88 IF(flag_mul == 1)THEN
89 DO i = 1,nel
90 ww(i) = mu *( c1 * (bi1(i)- three)+c2 * beta * (bi1(i)**2- nine)
91 . + c3 * beta**2 *(bi1(i)**3- three**3)
92 . + c4 * beta**3 *(bi1(i)**4- three**4)
93 . + c5 * beta**4 *(bi1(i)**5- three**5) )
94
95 ENDDO
96 CALL mullins_or(
97 1 nel ,nvarf, coefr,betaf ,
98 2 coefm, ww , uvarf,eta )
99
100 ENDIF
101 !====================================
102
103 DO i = 1,nel
104 eta(i) = max(min(eta(i),one),em20)
105 dphidi1(i) = eta(i)* two*mu *( c1 + two * c2 * beta * bi1(i)
106 . + three* c3 *(beta *bi1(i))**2
107 . + four* c4 *(beta *bi1(i))**3
108 . + five * c5 *(beta *bi1(i))**4)/max(em20,jdet(i))
109
110 dphidj(i) = d * ( jdet(i) - one /max(em20,jdet(i)) ) !d=1/d
111 ENDDO
112 DO i = 1,nel
113 sig(i,1,1) = dphidi1(i)* (matb(i,1,1)-third*bi1(i))
114 . + dphidj(i)
115 sig(i,2,2) = dphidi1(i)* (matb(i,2,2)-third*bi1(i))
116 . + dphidj(i)
117 sig(i,3,3) = dphidi1(i)* (matb(i,3,3)-third*bi1(i))
118 . + dphidj(i)
119 sig(i,1,2) = dphidi1(i)*matb(i,1,2)
120 sig(i,2,3) = dphidi1(i)*matb(i,2,3)
121 sig(i,3,1) = dphidi1(i)*matb(i,3,1)
122 sig(i,2,1)=sig(i,1,2)
123 sig(i,3,2)=sig(i,2,3)
124 sig(i,1,3)=sig(i,3,1)
125 ENDDO
126
127 RETURN
128 END
129C Hyperelastic model: ARRUDA BOYCE strain energy potential
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 sigaboyce(nel, matb, c1, c2, c3, c4, c5, mu, beta, d, sig, bi1, jdet, flag_mul, nvarf, coefr, betaf, coefm, uvarf)
Definition sigaboyce.F:38