OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
m1lawt.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!|| m1lawt ../engine/source/materials/mat/mat001/m1lawt.F
25!||--- called by ------------------------------------------------------
26!|| tforc3 ../engine/source/elements/truss/tforc3.F
27!||====================================================================
28 SUBROUTINE m1lawt(
29 1 PM, GEO, OFF, FOR,
30 2 EINT, AREA, AL0, STI,
31 3 MAT, MGM, EPS, AL,
32 4 NEL)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C G l o b a l P a r a m e t e r s
39C-----------------------------------------------
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "param_c.inc"
45#include "com08_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER, INTENT(IN) :: NEL
50 INTEGER MAT(MVSIZ),MGM(MVSIZ)
51 my_real
52 . PM(NPROPM,*),GEO(NPROPG,*),OFF(*),FOR(*),EINT(*),
53 . area(*),al0(*),sti(*),eps(mvsiz),al(mvsiz)
54C-----------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 INTEGER I,J
58 my_real
59 . PR(MVSIZ),YM(MVSIZ),GAP(MVSIZ),YMA
60C-----------------------------------------------
61 DO i=1,nel
62 ym(i) = pm(20,mat(i))
63 pr(i) = pm(21,mat(i))
64 gap(i) = geo(2,mgm(i))
65 ENDDO
66c
67 DO i=1,nel
68 IF(gap(i) > zero .AND. al(i) <= (al0(i)-gap(i))) off(i)=one
69 ENDDO
70c
71 DO i=1,nel
72 eint(i)=eint(i)+for(i)*eps(i)*al(i)*dt1*half
73 ENDDO
74c
75 DO i=1,nel
76 area(i)=area(i)*(one - two*pr(i)*eps(i)*dt1*off(i))
77 ENDDO
78c
79 DO i=1,nel
80 yma = ym(i)*area(i)
81 for(i) = for(i)+yma*eps(i)*dt1
82 sti(i) = zero
83 IF (al(i) /= zero)
84 . sti(i) = yma / al(i)
85 sti(i) = sti(i)*off(i)
86 for(i) = for(i)*off(i)
87 ENDDO
88c
89 DO i=1,nel
90 eint(i)=eint(i)+for(i)*eps(i)*al(i)*dt1*half
91 ENDDO
92C-----------------------------------------------
93 RETURN
94 END
subroutine area(d1, x, x2, y, y2, eint, stif0)
subroutine m1lawt(pm, geo, off, for, eint, area, al0, sti, mat, mgm, eps, al, nel)
Definition m1lawt.F:33