OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dtcba_reg.F File Reference
#include "implicit_f.inc"
#include "scr02_c.inc"
#include "scr18_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine dtcba_reg (nloc_dmg, thk, nel, off, le, imat, nddl, dt2t)

Function/Subroutine Documentation

◆ dtcba_reg()

subroutine dtcba_reg ( type(nlocal_str_), target nloc_dmg,
intent(in) thk,
integer nel,
intent(in) off,
intent(in) le,
integer imat,
integer nddl,
intent(inout) dt2t )

Definition at line 30 of file dtcba_reg.F.

32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C G l o b a l P a r a m e t e r s
42C-----------------------------------------------
43#include "scr02_c.inc"
44#include "scr18_c.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER :: NEL,IMAT,NDDL
49 my_real, INTENT(INOUT) ::
50 . dt2t
51 my_real, DIMENSION(NEL), INTENT(IN) ::
52 . off,thk,le
53 TYPE(NLOCAL_STR_), TARGET :: NLOC_DMG
54C-----------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 INTEGER I
58 my_real
59 . l2,zeta,dtnl_th,dtnl,le_max
60C=======================================================================
61 ! Recovering non-local parameters
62 l2 = nloc_dmg%LEN(imat)**2 ! Non-local internal length ** 2
63 zeta = nloc_dmg%DENS(imat) ! Non-local density
64 le_max = nloc_dmg%LE_MAX(imat) ! Maximal length of convergence
65c
66 !-----------------------------------------------------------------------
67 ! Computing non-local timestep
68 !-----------------------------------------------------------------------
69 IF (nodadt == 0) THEN
70 DO i = 1,nel
71 ! If the element is not broken, normal computation
72 IF (off(i)/=zero) THEN
73 ! Non-local critical time-step in the plane
74 dtnl = (two*(min(le(i),le_max))*sqrt(three*zeta))/
75 . sqrt(twelve*l2 + (min(le(i),le_max))**2)
76 ! Non-local critical time-step in the thickness
77 IF (nddl>1) THEN
78 IF (nddl > 2) THEN
79 dtnl_th = (two*(min(thk(i)/nddl,le_max))*sqrt(three*zeta))/
80 . sqrt(twelve*l2 + (min(thk(i)/nddl,le_max))**2)
81 ELSE
82 dtnl_th = (two*(min(thk(i),le_max))*sqrt(three*zeta))/
83 . sqrt(twelve*l2 + (min(thk(i),le_max))**2)
84 ENDIF
85 ELSE
86 dtnl_th = ep20
87 ENDIF
88 ! Retaining the minimal value
89 dt2t = min(dt2t,dtfac1(1)*cdamp*dtnl_th,dtfac1(1)*cdamp*dtnl)
90 ENDIF
91 ENDDO
92 ENDIF
93c
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20