OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
r23_114_coor3.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
!||====================================================================
24
!|| r23_114_coor3 ../engine/source/tools/seatbelts/r23_114_coor3.F
25
!||--- called by ------------------------------------------------------
26
!|| r23law114 ../engine/source/elements/spring/r23law114.F
27
!||--- uses -----------------------------------------------------
28
!|| element_mod ../common_source/modules/elements/element_mod.F90
29
!||====================================================================
30
SUBROUTINE
r23_114_coor3
(
31
1 X, V, IXR, XDP,
32
2 X3DP, NC3, VX3, VY3,
33
3 VZ3, NEL)
34
use
element_mod ,
only
: nixr
35
C-----------------------------------------------
36
C I m p l i c i t T y p e s
37
C-----------------------------------------------
38
#include "implicit_f.inc"
39
C-----------------------------------------------
40
C C o m m o n B l o c k s
41
C-----------------------------------------------
42
#include "scr05_c.inc"
43
C-----------------------------------------------
44
C D u m m y A r g u m e n t s
45
C-----------------------------------------------
46
INTEGER
,
INTENT(IN)
:: NEL
47
INTEGER
IXR(NIXR,*),NC3(*)
48
my_real
X(3,*),V(3,*),VX3(*),VY3(*),VZ3(*)
49
DOUBLE PRECISION
XDP
(3,*),X3DP(3,*)
50
C-----------------------------------------------
51
C L o c a l V a r i a b l e s
52
C-----------------------------------------------
53
INTEGER
I
54
C-----------------------------------------------
55
DO I=1,nel
56
C-- to prevent NC3 to be zero fo seatblet outside slipring
57
IF
(ixr(4,i) > 0)
THEN
58
nc3(i)=ixr(4,i)
59
ELSE
60
nc3(i)=ixr(2,i)
61
ENDIF
62
ENDDO
63
C----------------------------
64
C COORDONNEES NOEUD ADDITIONEL
65
C----------------------------
66
IF
(iresp == 1)
THEN
67
DO
i=1,nel
68
x3dp(1,i)=xdp(1,nc3(i))
69
x3dp(2,i)=xdp(2,nc3(i))
70
x3dp(3,i)=xdp(3,nc3(i))
71
ENDDO
72
ELSE
73
DO
i=1,nel
74
x3dp(1,i)=x(1,nc3(i))
75
x3dp(2,i)=x(2,nc3(i))
76
x3dp(3,i)=x(3,nc3(i))
77
ENDDO
78
ENDIF
79
C
80
DO
i=1,nel
81
vx3(i)=v(1,nc3(i))
82
vy3(i)=v(2,nc3(i))
83
vz3(i)=v(3,nc3(i))
84
ENDDO
85
C---
86
RETURN
87
END
r23_114_coor3
subroutine r23_114_coor3(x, v, ixr, xdp, x3dp, nc3, vx3, vy3, vz3, nel)
Definition
r23_114_coor3.F:34
engine
source
tools
seatbelts
r23_114_coor3.F
Generated by
1.15.0