OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dtnoda_stifint.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine dtnoda_stifint (ms, stifn, dt_stifint)

Function/Subroutine Documentation

◆ dtnoda_stifint()

subroutine dtnoda_stifint ( dimension(numnod), intent(in) ms,
dimension(numnod), intent(in) stifn,
intent(inout) dt_stifint )

Definition at line 30 of file dtnoda_stifint.F.

31C-----------------------------------------------
32C M o d u l e s
33C-----------------------------------------------
34 USE message_mod
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C C o m m o n B l o c k s
41C-----------------------------------------------
42#include "com04_c.inc"
43C-----------------------------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 my_real , INTENT(INOUT) :: dt_stifint
47 my_real , INTENT(IN) :: ms(numnod) ,stifn(numnod)
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER
52 . N
53 my_real
54 . dtnod, dtfac, dtn
55C----------------------------------------------------------
56C Estimation Time step needed for contact stiffness computation
57C----------------------------------------------------------
58
59 dtfac = zep9
60 dtnod = ep20
61 DO n=1,numnod
62 IF(stifn(n)>zero.AND.ms(n)>zero)THEN
63 dtn = dtfac*sqrt(two * ms(n) / stifn(n))
64 dtnod = min(dtnod,dtn)
65 ENDIF
66 ENDDO
67C
68 dt_stifint = dtnod
69
70 RETURN
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20