OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dtcdk_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 dtcdk_reg (nloc_dmg, thk, nel, off, le, imat, nddl, dt2t)

Function/Subroutine Documentation

◆ dtcdk_reg()

subroutine dtcdk_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 dtcdk_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 . le,off,thk
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,dampfac,le_max
60 ! Coefficient for non-local stability to take into account damping
61 my_real, PARAMETER :: cdamp = 0.7d0
62C=======================================================================
63 ! Recovering non-local parameters
64 l2 = nloc_dmg%LEN(imat)**2 ! Non-local internal length ** 2
65 zeta = nloc_dmg%DENS(imat) ! Non-local density
66 le_max = nloc_dmg%LE_MAX(imat) ! Maximal length of convergence
67c
68 !-----------------------------------------------------------------------
69 ! Computing non-local timestep
70 !-----------------------------------------------------------------------
71 IF (nodadt == 0) THEN
72 DO i = 1,nel
73 ! If the element is not broken, normal computation
74 IF (off(i)/=zero) THEN
75 ! Non-local critical time-step in the plane
76 dtnl = (two*(min(le(i),le_max))*sqrt(three*zeta))/
77 . sqrt(twelve*l2 + (min(le(i),le_max))**2)
78 ! Non-local critical time-step in the thickness
79 IF (nddl>1) THEN
80 IF (nddl > 2) THEN
81 dtnl_th = (two*(min(thk(i)/nddl,le_max))*sqrt(three*zeta))/
82 . sqrt(twelve*l2 + (min(thk(i)/nddl,le_max))**2)
83 ELSE
84 dtnl_th = (two*(min(thk(i),le_max))*sqrt(three*zeta))/
85 . sqrt(twelve*l2 + (min(thk(i),le_max))**2)
86 ENDIF
87 ELSE
88 dtnl_th = ep20
89 ENDIF
90 ! Retaining the minimal value
91 dt2t = min(dt2t,dtfac1(1)*cdamp*dtnl_th,dtfac1(1)*cdamp*dtnl)
92 ENDIF
93 ENDDO
94 ENDIF
95c
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20