OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dt1lawp.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!|| dt1lawp ../starter/source/elements/beam/dt1lawp.F
25!||--- called by ------------------------------------------------------
26!|| pinit3 ../starter/source/elements/beam/pinit3.F
27!||====================================================================
28 SUBROUTINE dt1lawp(PM,GEO,MAT,MXG,DELTAX,DTX,IGTYP)
29C-----------------------------------------------
30C I m p l i c i t T y p e s
31C-----------------------------------------------
32#include "implicit_f.inc"
33C-----------------------------------------------
34C G l o b a l P a r a m e t e r s
35C-----------------------------------------------
36#include "mvsiz_p.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "param_c.inc"
41#include "vect01_c.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER MAT(MVSIZ), MXG(MVSIZ),IGTYP
46C REAL
48 . pm(npropm,*), geo(npropg,*), deltax(mvsiz), dtx(mvsiz)
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER I, MX, IG,INEW
53C REAL
55 . rho0, g, c1, ssp, c,
56 . iyy, izz, sl2i, shf, dmp,
57 . dsh, phi, f1, f2, fac, young,cst,fsh
58C=======================================================================
59 DO i=lft,llt
60 mx = mat(i)
61 rho0 = pm( 1,mx)
62 g = pm(22,mx)
63 c1 = pm(32,mx)
64 ssp = pm(27,mx)
65 ig = mxg(i)
66 iyy = geo(2,ig)
67 izz = geo(18,ig)
68C
69 sl2i = geo(1,ig)*deltax(i)**2/ max(em20,izz,iyy)
70 cst = six_over_5*pm(20,mx)/g
71 fsh = deltax(i)/(one_over_12*sl2i+cst)
72 fsh = max(one,fsh)
73C
74 dmp =max(geo(16,ig),geo(17,ig))
75 dmp =dmp*sqrt(two)
76 fac =sqrt(one+dmp*dmp)-dmp
77C
78 dtx(i) = fac * deltax(i) / max(em20,ssp)
79 IF (igtyp /= 18) dtx(i) = dtx(i)/sqrt(fsh)
80 ENDDO
81C-----------
82 RETURN
83 END
#define my_real
Definition cppsort.cpp:32
subroutine dt1lawp(pm, geo, mat, mxg, deltax, dtx, igtyp)
Definition dt1lawp.F:29
#define max(a, b)
Definition macros.h:21