OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s10nx3.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!|| s10nx3 ../engine/source/elements/solid/solide10/s10nx3.F
25!||--- called by ------------------------------------------------------
26!|| s10forc3 ../engine/source/elements/solid/solide10/s10forc3.F
27!||====================================================================
28 SUBROUTINE s10nx3(
29 1 NX, NEL, NPT)
30C-----------------------------------------------
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C G l o b a l P a r a m e t e r s
36C-----------------------------------------------
37#include "mvsiz_p.inc"
38C-----------------------------------------------
39C D u m m y A r g u m e n t s
40C-----------------------------------------------
41 INTEGER, INTENT(IN) :: NEL
42 INTEGER, INTENT(IN) :: NPT
44 . nx(mvsiz,10,5)
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER I,IP,N,K1,K2,K3,K4,K5,K6,K7,K8,K9,K10,
52 . m,iperm(10,4)
53
54 DATA iperm/
55 . 2, 4, 3, 1, 9,10, 6, 5, 8, 7,
56 . 4, 1, 3, 2, 8, 7,10, 9, 5, 6,
57 . 1, 4, 2, 3, 8, 9, 5, 7,10, 6,
58 . 1, 2, 3, 4, 5, 6, 7, 8, 9,10/
60 . alph,beta,aa,bb,ab,b2
61C-----------------------------------------------
62 alph=zep5854102
63 beta=zep1381966
64 aa = (two*alph - one)*alph
65 bb = (two*beta - one)*beta
66 b2 = four*beta*beta
67 ab = four*alph*beta
68C
69 DO ip=1,4
70 k1 = iperm(1,ip)
71 k2 = iperm(2,ip)
72 k3 = iperm(3,ip)
73 k4 = iperm(4,ip)
74 k5 = iperm(5,ip)
75 k6 = iperm(6,ip)
76 k7 = iperm(7,ip)
77 k8 = iperm(8,ip)
78 k9 = iperm(9,ip)
79 k10= iperm(10,ip)
80 DO i=1,nel
81 nx(i,k1,ip) = bb
82 nx(i,k2,ip) = bb
83 nx(i,k3,ip) = bb
84 nx(i,k4,ip) = aa
85 nx(i,k5,ip) = b2
86 nx(i,k6,ip) = b2
87 nx(i,k7,ip) = b2
88 nx(i,k8,ip) = ab
89 nx(i,k9,ip) = ab
90 nx(i,k10,ip)= ab
91 ENDDO
92 ENDDO
93C
94 IF (npt==5) THEN
95 nx(1:nel,1:10,5) = zero
96 ENDIF
97C-----------
98 RETURN
99 END
100
#define my_real
Definition cppsort.cpp:32
subroutine s10nx3(nx, nel, npt)
Definition s10nx3.F:30