OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
h3d_fld_tsh.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!|| h3d_fld_tsh ../engine/source/output/h3d/h3d_results/h3d_fld_tsh.F
25!||--- called by ------------------------------------------------------
26!|| h3d_skin_scalar ../engine/source/output/h3d/h3d_results/h3d_skin_scalar.F
27!||--- calls -----------------------------------------------------
28!|| fail_fld_tsh ../engine/source/materials/fail/fld/fail_fld_tsh.F
29!||--- uses -----------------------------------------------------
30!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
31!|| fail_param_mod ../common_source/modules/mat_elem/fail_param_mod.F90
32!||====================================================================
33 SUBROUTINE h3d_fld_tsh(ELBUF_TAB,FAIL,
34 . IR,IS,IT,ILAY,IFAIL,
35 . NPF,TF,NGL,EVAR,NEL )
36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
39 USE elbufdef_mod
40 USE fail_param_mod
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48#include "mvsiz_p.inc"
49#include "com04_c.inc"
50#include "com08_c.inc"
51#include "param_c.inc"
52#include "tabsiz_c.inc"
53C-----------------------------------------------
54C D u m m y A r g u m e n t s
55C-----------------------------------------------
56 INTEGER , INTENT(IN) :: IR,IS,IT,ILAY,IFAIL,NEL
57 INTEGER , DIMENSION(NEL), INTENT(IN) :: NGL
58 my_real , DIMENSION(3,MVSIZ), INTENT(IN) :: evar
59 my_real , DIMENSION(STF), INTENT(IN) :: tf
60 INTEGER , DIMENSION(SNPC), INTENT(IN) :: NPF
61 TYPE (ELBUF_STRUCT_), TARGET :: ELBUF_TAB
62 TYPE (FAIL_PARAM_) ,INTENT(IN) :: FAIL
63C-----------------------------------------------
64C L o c a l V a r i a b l e s
65C-----------------------------------------------
66 INTEGER I,I1,II,J,IL
67 INTEGER NPAR,NFUNC,IPG,NVARF,NIPAR,LF_DAMMX
68 INTEGER, DIMENSION(:) ,POINTER :: FLD_IDX,FOFF
69 my_real, DIMENSION(:), POINTER :: uvarf,dfmax,tdel,dam
70 my_real, DIMENSION(NEL) :: es1,es2,es4,es5,es6
71
72 TYPE(g_bufel_) ,POINTER :: GBUF
73 TYPE(L_BUFEL_) ,POINTER :: LBUF
74 TYPE(buf_fail_) ,POINTER :: FBUF
75C-----------------------------------------------
76 gbuf => elbuf_tab%GBUF
77 lbuf => elbuf_tab%BUFLY(ilay)%LBUF(ir,is,it)
78 fbuf => elbuf_tab%BUFLY(ilay)%FAIL(ir,is,it)
79 npar = fail%NUPARAM
80 nipar = fail%NIPARAM
81 nfunc = fail%NFUNC
82 lf_dammx = fbuf%FLOC(ifail)%LF_DAMMX
83 uvarf => fbuf%FLOC(ifail)%VAR
84 nvarf = fbuf%FLOC(ifail)%NVAR
85 dfmax => fbuf%FLOC(ifail)%DAMMX
86 tdel => fbuf%FLOC(ifail)%TDEL
87 fld_idx=> fbuf%FLOC(ifail)%INDX
88 foff => fbuf%FLOC(ifail)%OFF
89 dam => fbuf%FLOC(ifail)%DAM
90 es1(1:nel) = evar(1,1:nel)
91 es2(1:nel) = evar(2,1:nel)
92 es4(1:nel) = two*evar(3,1:nel)
93
94 CALL fail_fld_tsh(
95 1 nel ,npar ,nvarf ,nfunc ,fail%IFUNC ,
96 2 npf ,tf ,tt ,dt1 ,fail%UPARAM,
97 3 uvarf ,ngl ,it ,ilay ,it ,
98 4 es1 ,es2 ,es4 ,es5 ,es6 ,
99 5 lbuf%OFF ,foff ,fld_idx ,dam ,dfmax ,
100 6 nipar ,fail%IPARAM,lbuf%PLA ,lf_dammx )
101C-----------
102 RETURN
103 END SUBROUTINE h3d_fld_tsh
#define my_real
Definition cppsort.cpp:32
subroutine fail_fld_tsh(nel, nuparam, nuvar, nfunc, ifunc, npf, tf, time, timestep, uparam, uvar, ngl, ipg, ilay, iptt, epsxx, epsyy, epsxy, epsyz, epszx, off, foff, fld_idx, dam, dfmax, niparam, iparam, pla, lf_dammx)
subroutine h3d_fld_tsh(elbuf_tab, fail, ir, is, it, ilay, ifail, npf, tf, ngl, evar, nel)
Definition h3d_fld_tsh.F:36