OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dtsph.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!|| dtsph ../starter/source/materials/time_step/dtsph.F
25!||--- called by ------------------------------------------------------
26!|| dt105law ../starter/source/materials/time_step/dt105law.F
27!|| dt10law ../starter/source/materials/time_step/dt10law.F
28!|| dt14law ../starter/source/materials/time_step/dt14law.F
29!|| dt1law ../starter/source/materials/time_step/dt1law.F
30!|| dt21law ../starter/source/materials/time_step/dt21law.F
31!|| dt34law ../starter/source/materials/time_step/dt34law.F
32!|| dt37law ../starter/source/materials/time_step/dt37law.F
33!|| dt38law ../starter/source/materials/time_step/dt138aw.F
34!|| dt3law ../starter/source/materials/time_step/dt3law.F
35!|| dt42law ../starter/source/materials/time_step/dt42law.F
36!|| dt51law ../starter/source/materials/time_step/dt51law.F
37!|| dt5law ../starter/source/materials/time_step/dt5law.F
38!|| dt6law ../starter/source/materials/time_step/dt6law.F
39!|| dt70law ../starter/source/materials/time_step/dt70law.F
40!||====================================================================
41 SUBROUTINE dtsph(SSP,PM,GEO,PID,MAT,
42 . RHO0, VIS,
43 . DELTAX, VOL, DTX)
44C------------------------
45C CALCUL DT ELEMENT
46C-----------------------------------------------
47C I m p l i c i t T y p e s
48C-----------------------------------------------
49#include "implicit_f.inc"
50C-----------------------------------------------
51C G l o b a l P a r a m e t e r s
52C-----------------------------------------------
53#include "mvsiz_p.inc"
54C-----------------------------------------------
55C C o m m o n B l o c k s
56C-----------------------------------------------
57#include "vect01_c.inc"
58#include "param_c.inc"
59C-----------------------------------------------
60C D u m m y A r g u m e n t s
61C-----------------------------------------------
63 . ssp(*), pm(npropm,*),geo(npropg,*), rho0(*), vis(*),
64 . deltax(*), vol(*), dtx(*)
65 INTEGER PID(*),MAT(*)
66C-----------------------------------------------
67C L o c a l V a r i a b l e s
68C-----------------------------------------------
69 INTEGER I
70C REAL
72 . cx(mvsiz), qx(mvsiz), al(mvsiz),
73 . qa, qb, cns1, cns2
74C=======================================================================
75 DO i=lft,llt
76 cx(i)=ssp(i)
77 END DO
78
79 DO i=lft,llt
80 al(i)=vol(i)**third
81 END DO
82
83 DO i=lft,llt
84 qa =geo(14,pid(i))
85 qb =geo(15,pid(i))
86 cns1=geo(16,pid(i))
87 cns2=geo(17,pid(i))*ssp(i)*al(i)*rho0(i)
88 qx(i)=(qb+cns1)*ssp(i)+(two*vis(i)+cns2)/(rho0(i)*deltax(i))
89 ENDDO
90
91 DO i=lft,llt
92 dtx(i)=deltax(i)/
93 . max(em20,qx(i)+sqrt(qx(i)*qx(i)+cx(i)*cx(i)))
94 END DO
95c-----------
96 RETURN
97 END
#define my_real
Definition cppsort.cpp:32
subroutine dtsph(ssp, pm, geo, pid, mat, rho0, vis, deltax, vol, dtx)
Definition dtsph.F:44
#define max(a, b)
Definition macros.h:21