OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dtcba_reg.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/.
23!||====================================================================
24!|| dtcba_reg ../engine/source/elements/shell/coqueba/dtcba_reg.F
25!||--- called by ------------------------------------------------------
26!|| cbaforc3 ../engine/source/elements/shell/coqueba/cbaforc3.F
27!||--- uses -----------------------------------------------------
28!|| nlocal_reg_mod ../common_source/modules/nlocal_reg_mod.F
29!||====================================================================
30 SUBROUTINE dtcba_reg(NLOC_DMG,THK ,NEL ,OFF ,
31 . LE ,IMAT ,NDDL ,DT2T )
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
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
96 END
#define my_real
Definition cppsort.cpp:32
subroutine dtcba_reg(nloc_dmg, thk, nel, off, le, imat, nddl, dt2t)
Definition dtcba_reg.F:32
#define min(a, b)
Definition macros.h:20