OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sigeps122c.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!|| sigeps122c ../engine/source/materials/mat/mat122/sigeps122c.F
25!||--- called by ------------------------------------------------------
26!|| mulawc ../engine/source/materials/mat_share/mulawc.F90
27!||--- calls -----------------------------------------------------
28!|| mat122c_newton ../engine/source/materials/mat/mat122/mat122c_newton.F
29!|| mat122c_nice ../engine/source/materials/mat/mat122/mat122c_nice.F
30!||--- uses -----------------------------------------------------
31!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
32!||====================================================================
33 SUBROUTINE sigeps122c(
34 1 NEL ,NUPARAM ,NUVAR ,UPARAM ,UVAR ,
35 2 EPSXX ,EPSYY ,RHO ,PLA ,DPLA ,
36 3 DEPSXX ,DEPSYY ,DEPSXY ,DEPSYZ ,DEPSZX ,
37 4 SIGOXX ,SIGOYY ,SIGOXY ,SIGOYZ ,SIGOZX ,
38 5 SIGNXX ,SIGNYY ,SIGNXY ,SIGNYZ ,SIGNZX ,
39 6 THK ,THKLY ,OFF ,SIGY ,ETSE ,
40 7 DMG ,SEQ ,SHF ,SOUNDSP ,ASRATE ,
41 8 EPSD_PG ,NFUNC ,IFUNC ,NPF ,TF ,
42 9 NVARTMP ,VARTMP ,IOFF_DUCT)
43C-----------------------------------------------
44C M o d u l e s
45C-----------------------------------------------
46 USE elbufdef_mod
47C-----------------------------------------------
48C I m p l i c i t T y p e s
49C-----------------------------------------------
50#include "implicit_f.inc"
51C-----------------------------------------------
52C C O M M O N
53C-----------------------------------------------
54#include "tabsiz_c.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
58 INTEGER, INTENT(IN) :: NEL,NUPARAM,NUVAR,
59 . NFUNC,IFUNC(NFUNC),NPF(SNPC),NVARTMP
60 my_real, INTENT(IN) :: ASRATE
61 my_real, INTENT(IN) ::
62 . UPARAM(NUPARAM),TF(STF)
63 my_real,DIMENSION(NEL), INTENT(IN) ::
64 . RHO,EPSXX,EPSYY,
65 . DEPSXX,DEPSYY,DEPSXY,DEPSYZ,DEPSZX,
66 . SIGOXX,SIGOYY,SIGOXY,SIGOYZ,SIGOZX,
67 . thkly,shf
68 my_real ,DIMENSION(NEL), INTENT(OUT) ::
69 . soundsp,signxx,signyy,signxy,signyz,signzx,
70 . sigy,etse
71 my_real ,DIMENSION(NEL), INTENT(IN) :: epsd_pg
72 my_real ,DIMENSION(NEL), INTENT(INOUT) :: pla,thk,off,seq,dpla
73 my_real ,DIMENSION(NEL,6), INTENT(INOUT) :: dmg
74 my_real ,DIMENSION(NEL,NUVAR), INTENT(INOUT) ::
75 . uvar
76 INTEGER ,DIMENSION(NEL,NVARTMP), INTENT(INOUT) :: VARTMP
77 INTEGER, DIMENSION(NEL), INTENT(INOUT) :: IOFF_DUCT
78C-----------------------------------------------
79C L o c a l V a r i a b l e s
80C-----------------------------------------------
81 INTEGER IRES,I
82 my_real ,DIMENSION(NEL) :: epsd
83C=======================================================================
84c
85 ires = nint(uparam(17)) ! plastic projection method
86 ! = 1 => Nice method
87 ! = 2 => Cutting plane
88
89 ! strain rate filtering, using global element strain rate
90 do i=1,nel
91 epsd(i) = asrate*epsd_pg(i) + (one-asrate)*uvar(i,18)
92 uvar(i,18) = epsd(i)
93 end do
94c--------------------------
95 SELECT CASE (ires)
96c
97 CASE(1)
98c
99 CALL mat122c_nice(
100 1 nel ,nuparam ,nuvar ,uparam ,uvar ,
101 2 epsxx ,epsyy ,rho ,pla ,dpla ,
102 3 depsxx ,depsyy ,depsxy ,depsyz ,depszx ,
103 4 sigoxx ,sigoyy ,sigoxy ,sigoyz ,sigozx ,
104 5 signxx ,signyy ,signxy ,signyz ,signzx ,
105 6 thk ,thkly ,off ,sigy ,etse ,
106 7 dmg ,seq ,epsd ,shf ,soundsp ,
107 8 nfunc ,ifunc ,npf ,tf ,nvartmp ,
108 9 vartmp )
109c
110 CASE(2)
111c
112 CALL mat122c_newton(
113 1 nel ,nuparam ,nuvar ,uparam ,uvar ,
114 2 epsxx ,epsyy ,rho ,pla ,dpla ,
115 3 depsxx ,depsyy ,depsxy ,depsyz ,depszx ,
116 4 sigoxx ,sigoyy ,sigoxy ,sigoyz ,sigozx ,
117 5 signxx ,signyy ,signxy ,signyz ,signzx ,
118 6 thk ,thkly ,off ,sigy ,etse ,
119 7 dmg ,seq ,epsd ,shf ,soundsp ,
120 8 nfunc ,ifunc ,npf ,tf ,nvartmp ,
121 9 vartmp )
122
123 END SELECT
124c
125 ! Ductile failure activation
126 ioff_duct(1:nel) = 1
127c
128c-----------
129 END
subroutine mat122c_newton(nel, nuparam, nuvar, uparam, uvar, epsxx, epsyy, rho, pla, dpla, depsxx, depsyy, depsxy, depsyz, depszx, sigoxx, sigoyy, sigoxy, sigoyz, sigozx, signxx, signyy, signxy, signyz, signzx, thk, thkly, off, sigy, etse, dmg, seq, epspl, shf, soundsp, nfunc, ifunc, npf, tf, nvartmp, vartmp)
subroutine mat122c_nice(nel, nuparam, nuvar, uparam, uvar, epsxx, epsyy, rho, pla, dpla, depsxx, depsyy, depsxy, depsyz, depszx, sigoxx, sigoyy, sigoxy, sigoyz, sigozx, signxx, signyy, signxy, signyz, signzx, thk, thkly, off, sigy, etse, dmg, seq, epspl, shf, soundsp, nfunc, ifunc, npf, tf, nvartmp, vartmp)
subroutine sigeps122c(nel, nuparam, nuvar, uparam, uvar, epsxx, epsyy, rho, pla, dpla, depsxx, depsyy, depsxy, depsyz, depszx, sigoxx, sigoyy, sigoxy, sigoyz, sigozx, signxx, signyy, signxy, signyz, signzx, thk, thkly, off, sigy, etse, dmg, seq, shf, soundsp, asrate, epsd_pg, nfunc, ifunc, npf, tf, nvartmp, vartmp, ioff_duct)
Definition sigeps122c.F:43