OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sfor_n2stria.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!|| sfor_n2stria ../engine/source/elements/solid/solide4/sfor_n2stria.F
25!||--- called by ------------------------------------------------------
26!|| s4for_distor ../engine/source/elements/solid/solide4/s4for_distor.F
27!|| s6for_distor ../engine/source/elements/thickshell/solide6c/s6for_distor.F90
28!||--- calls -----------------------------------------------------
29!|| sfor_n2s3 ../engine/source/elements/solid/solide4/sfor_n2s3.F
30!||====================================================================
31 SUBROUTINE sfor_n2stria(XC, YC, ZC,
32 . X1, X2, X3,
33 . Y1, Y2, Y3,
34 . Z1, Z2, Z3,
35 . VCX, VCY, VCZ,
36 . VX1, VX2, VX3,
37 . VY1, VY2, VY3,
38 . VZ1, VZ2, VZ3,
39 . FOR_T1, FOR_T2, FOR_T3,
40 . FORC_N, STIF0, STIF,
41 . FQMAX , PENMIN, PENREF,
42 . LL, IFCTL, NEL ,
43 . E_DISTOR, DT1)
44C-----------------------------------------------
45C I m p l i c i t T y p e s
46C-----------------------------------------------
47#include "implicit_f.inc"
48C-----------------------------------------------
49C G l o b a l P a r a m e t e r s
50C-----------------------------------------------
51#include "mvsiz_p.inc"
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER, INTENT (IN) :: NEL
56 INTEGER, INTENT (OUT) :: IFCTL
57 my_real, INTENT (IN) :: FQMAX,DT1
58 my_real, DIMENSION(MVSIZ), INTENT (IN) :: STIF0,LL,
59 . X1, X2, X3,
60 . Y1, Y2, Y3,
61 . Z1, Z2, Z3,
62 . XC, YC, ZC,
63 . VCX, VCY, VCZ,
64 . VX1, VX2, VX3,
65 . VY1, VY2, VY3,
66 . VZ1, VZ2, VZ3,
67 . penmin, penref
68 my_real, DIMENSION(MVSIZ), INTENT (INOUT) :: stif
69 my_real, DIMENSION(MVSIZ,3), INTENT (INOUT) :: forc_n,
70 . for_t1, for_t2, for_t3
71 my_real, DIMENSION(NEL), INTENT (INOUT) :: e_distor
72C-----------------------------------------------
73C C o m m o n B l o c k s
74C-----------------------------------------------
75C
76C-----------------------------------------------
77C L o c a l V a r i a b l e s
78C-----------------------------------------------
79 INTEGER I,J,IFCTL1,IFC2(MVSIZ)
80C 12
81 my_real
82 . fx,fy,fz,fkt(mvsiz)
83C----------------------------
84 ifc2(1:nel) = 1
85 fkt(1:nel) = one
86 DO i=1,nel
87 IF (stif0(i)>zero) cycle
88 ifc2(i) = 0
89 ENDDO
90 CALL sfor_n2s3(xc , yc , zc , forc_n,
91 . x1, y1, z1, for_t1,
92 . x2, y2, z2, for_t2,
93 . x3, y3, z3, for_t3,
94 . stif0, ifc2, ifctl, penmin,
95 . penref, fkt, ll , fqmax,
96 . vx1, vx2, vx3, vcx ,
97 . vy1, vy2, vy3, vcy ,
98 . vz1, vz2, vz3, vcz ,
99 . nel,e_distor, dt1)
100 DO i=1,nel
101 IF (stif0(i)==zero) cycle
102 stif(i) =max(stif(i),fkt(i)*stif0(i))
103 ENDDO
104C
105 RETURN
106 END
#define max(a, b)
Definition macros.h:21
subroutine sfor_n2s3(xi, yi, zi, forc_n, x1, y1, z1, for_t1, x2, y2, z2, for_t2, x3, y3, z3, for_t3, stif, ifc1, ifctl, penmin, penref, fktmax, ll, fqmax, vx1, vx2, vx3, vxi, vy1, vy2, vy3, vyi, vz1, vz2, vz3, vzi, nel, e_distor, dt1)
Definition sfor_n2s3.F:40
subroutine sfor_n2stria(xc, yc, zc, x1, x2, x3, y1, y2, y3, z1, z2, z3, vcx, vcy, vcz, vx1, vx2, vx3, vy1, vy2, vy3, vz1, vz2, vz3, for_t1, for_t2, for_t3, forc_n, stif0, stif, fqmax, penmin, penref, ll, ifctl, nel, e_distor, dt1)