OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fail_johnson_b.F File Reference
#include "implicit_f.inc"
#include "comlock.inc"
#include "lockon.inc"
#include "lockoff.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine fail_johnson_b (nel, ngl, nuparam, uparam, time, tstar, svm, pressure, dpla, epsd, off, dfmax, tdel, iout, istdo)

Function/Subroutine Documentation

◆ fail_johnson_b()

subroutine fail_johnson_b ( integer, intent(in) nel,
integer, dimension(nel), intent(in) ngl,
integer, intent(in) nuparam,
intent(in) uparam,
intent(in) time,
intent(in) tstar,
intent(in) svm,
intent(in) pressure,
intent(in) dpla,
intent(in) epsd,
intent(inout) off,
intent(inout) dfmax,
intent(inout) tdel,
integer, intent(in) iout,
integer, intent(in) istdo )

Definition at line 28 of file fail_johnson_b.F.

33C-----------------------------------------------
34c Johnson-Cook failure model for standard beams (TYPE 3)
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C G l o b a l P a r a m e t e r s
41C-----------------------------------------------
42#include "comlock.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER ,INTENT(IN) :: NEL ! size of element group
47 INTEGER ,INTENT(IN) :: NUPARAM ! size of parameter array
48 INTEGER ,INTENT(IN) :: IOUT ! output file unit
49 INTEGER ,INTENT(IN) :: ISTDO ! output file unit
50 INTEGER ,DIMENSION(NEL) ,INTENT(IN) :: NGL ! table of element identifiers
51 my_real ,INTENT(IN) :: time ! current time
52 my_real ,DIMENSION(NUPARAM) ,INTENT(IN) :: uparam ! failure model parameter array
53 my_real ,DIMENSION(NEL) ,INTENT(IN) :: dpla ! plastic strain increment
54 my_real ,DIMENSION(NEL) ,INTENT(IN) :: svm ! von mises stress
55 my_real ,DIMENSION(NEL) ,INTENT(IN) :: pressure! element pressure
56 my_real ,DIMENSION(NEL) ,INTENT(IN) :: epsd ! strain rate
57 my_real ,DIMENSION(NEL) ,INTENT(IN) :: tstar ! normalized temperature
58 my_real ,DIMENSION(NEL) ,INTENT(INOUT) :: off ! element deactivation flag
59 my_real ,DIMENSION(NEL) ,INTENT(INOUT) :: dfmax ! maximum damage
60 my_real ,DIMENSION(NEL) ,INTENT(INOUT) :: tdel ! deactivation time
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER :: I,J,NINDX
65 INTEGER ,DIMENSION(NEL) :: INDX
66 my_real :: d1,d2,d3,d4,d5,epsd0,epsf,epsf_min
67C=======================================================================
68 nindx = 0
69 d1 = uparam(1)
70 d2 = uparam(2)
71 d3 = uparam(3)
72 d4 = uparam(4)
73 d5 = uparam(5)
74 epsd0 = uparam(6)
75 epsf_min = uparam(12)
76c-----------------------------
77 DO i=1,nel
78 IF (off(i) == one .and. dpla(i) > zero) THEN
79 epsf = d3 * pressure(i) / max(em20, svm(i))
80 epsf = d1 + d2 * exp(epsf)
81 IF (d4 /= zero) epsf = epsf * (one + d4*log(max(one,epsd(i)/epsd0)))
82 IF (d5 /= zero) epsf = epsf * (one + d5*tstar(i))
83 epsf = max(epsf,epsf_min)
84 IF (epsf > zero) dfmax(i) = dfmax(i) + dpla(i) / epsf
85 IF (dfmax(i) >= one) THEN ! total damage in integration point
86 nindx = nindx + 1
87 indx(nindx) = i
88 tdel(i) = time
89 dfmax(i) = one
90 off(i) = four_over_5
91 ENDIF
92 ENDIF
93 ENDDO
94c------------------------
95 IF (nindx > 0) THEN
96 DO j=1,nindx
97 i = indx(j)
98#include "lockon.inc"
99 WRITE(iout, 1000) ngl(i),time
100 WRITE(istdo,1000) ngl(i),time
101#include "lockoff.inc"
102 END DO
103 END IF ! NINDX
104c------------------
105 1000 FORMAT(5x,'FAILURE (JC) OF BEAM ELEMENT ',i10,1x,'AT TIME :',1pe12.4)
106c------------------
107 RETURN
#define my_real
Definition cppsort.cpp:32
#define max(a, b)
Definition macros.h:21