OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dtel.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "com01_c.inc"
#include "vect01_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine dtel (ssp, pm, geo, pid, mat, rho0, vis, deltax, aire, vol, dtx)
subroutine dt70el (ssp, pm, geo, pid, mat, rho0, vis, deltax, aire, vol, dtx, igeo)

Function/Subroutine Documentation

◆ dt70el()

subroutine dt70el ( ssp,
pm,
geo,
integer, dimension(*) pid,
integer, dimension(*) mat,
rho0,
vis,
deltax,
aire,
vol,
dtx,
integer, dimension(npropgi,*) igeo )

Definition at line 107 of file dtel.F.

110C------------------------
111C CALCUL DT ELEMENT
112C-----------------------------------------------
113C I m p l i c i t T y p e s
114C-----------------------------------------------
115#include "implicit_f.inc"
116C-----------------------------------------------
117C G l o b a l P a r a m e t e r s
118C-----------------------------------------------
119#include "mvsiz_p.inc"
120C-----------------------------------------------
121C C o m m o n B l o c k s
122C-----------------------------------------------
123#include "com01_c.inc"
124#include "vect01_c.inc"
125#include "param_c.inc"
126C-----------------------------------------------
127C D u m m y A r g u m e n t s
128C-----------------------------------------------
129 my_real
130 . ssp(*), pm(npropm,*),geo(npropg,*),
131 . rho0(*), vis(*), deltax(*), aire(*), vol(*), dtx(*)
132 INTEGER PID(*),MAT(*),IGEO(NPROPGI,*)
133C-----------------------------------------------
134C L o c a l V a r i a b l e s
135C-----------------------------------------------
136 INTEGER I
137C REAL
138 my_real
139 . cx(mvsiz), qx(mvsiz), al(mvsiz)
140 my_real
141 . qa, qb, cns1, cns2,facq
142C-----------------------------------------------
143C=======================================================================
144 facq = one
145!! qa=qb=zero by default for law70
146 IF(igeo(31,pid(1)) == 1) facq = zero
147 DO i=lft,llt
148 cx(i)=ssp(i)
149 al(i)=vol(i)** third
150 IF(n2d>0) al(i)=sqrt(aire(i))
151 ENDDO
152C
153 DO i=lft,llt
154 qa =facq*geo(14,pid(i))
155 qb =facq*geo(15,pid(i))
156 cns1=geo(16,pid(i))
157 cns2=geo(17,pid(i))*ssp(i)*al(i)*rho0(i)
158 qx(i)= (qb+cns1)*ssp(i)
159 . +(two*vis(i)+cns2)/(rho0(i)*max(em20,deltax(i)))
160 ENDDO
161C
162 DO i=lft,llt
163 dtx(i)=deltax(i)/
164 . max(em20,qx(i)+sqrt(qx(i)*qx(i)+cx(i)*cx(i)))
165 END DO
166C-----------
167 RETURN
#define my_real
Definition cppsort.cpp:32
#define max(a, b)
Definition macros.h:21

◆ dtel()

subroutine dtel ( ssp,
pm,
geo,
integer, dimension(*) pid,
integer, dimension(*) mat,
rho0,
vis,
deltax,
aire,
vol,
dtx )

Definition at line 43 of file dtel.F.

46C------------------------
47C CALCUL DT ELEMENT
48C-----------------------------------------------
49C I m p l i c i t T y p e s
50C-----------------------------------------------
51#include "implicit_f.inc"
52C-----------------------------------------------
53C G l o b a l P a r a m e t e r s
54C-----------------------------------------------
55#include "mvsiz_p.inc"
56C-----------------------------------------------
57C C o m m o n B l o c k s
58C-----------------------------------------------
59#include "com01_c.inc"
60#include "vect01_c.inc"
61#include "param_c.inc"
62C-----------------------------------------------
63C D u m m y A r g u m e n t s
64C-----------------------------------------------
66 . ssp(*), pm(npropm,*),geo(npropg,*),
67 . rho0(*), vis(*), deltax(*), aire(*), vol(*), dtx(*)
68 INTEGER PID(*),MAT(*)
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72 INTEGER I
73C REAL
75 . cx(mvsiz), qx(mvsiz), al(mvsiz)
77 . qa, qb, cns1, cns2
78C-----------------------------------------------
79C=======================================================================
80 DO i=lft,llt
81 cx(i)=ssp(i)
82 al(i)=vol(i)** third
83 IF(n2d>0) al(i)=sqrt(aire(i))
84 ENDDO
85C
86 DO i=lft,llt
87 qa =geo(14,pid(i))
88 qb =geo(15,pid(i))
89 cns1=geo(16,pid(i))
90 cns2=geo(17,pid(i))*ssp(i)*al(i)*rho0(i)
91 qx(i)= (qb+cns1)*ssp(i)
92 . +(two*vis(i)+cns2)/(rho0(i)*max(em20,deltax(i)))
93 ENDDO
94C
95 DO i=lft,llt
96 dtx(i)=deltax(i)/
97 . max(em20,qx(i)+sqrt(qx(i)*qx(i)+cx(i)*cx(i)))
98 END DO
99C-----------
100 RETURN