OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ede112.F File Reference
#include "implicit_f.inc"
#include "param_c.inc"
#include "com04_c.inc"
#include "com08_c.inc"
#include "vect01_c.inc"
#include "tabsiz_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine ede112 (pm, v, x, ixq, ale_connect, wyz, dyz, dzy, eyy, ezz)

Function/Subroutine Documentation

◆ ede112()

subroutine ede112 ( dimension(npropm,nummat), intent(in) pm,
dimension(3,numnod), intent(in) v,
dimension(3,sx/3), intent(in) x,
integer, dimension(nixq,sixq/nixq), intent(in) ixq,
type(t_ale_connectivity), intent(in) ale_connect,
dimension(*), intent(inout) wyz,
dimension(*), intent(inout) dyz,
dimension(*), intent(inout) dzy,
dimension(*), intent(inout) eyy,
dimension(*), intent(inout) ezz )

Definition at line 31 of file ede112.F.

33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
37 use element_mod , only : nixq
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "param_c.inc"
46#include "com04_c.inc"
47#include "com08_c.inc"
48#include "vect01_c.inc"
49#include "tabsiz_c.inc"
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53! SPMD CASE : SIXQ >= NIXQ*NUMELQ (SIXQ = NIXQ*NUMELQ_L+NIXQ*NQVOIS_L)
54! IXQ(1:NIXQ, 1:NUMELQ) local elems
55! (1:NIXQ, NUMELQ+1:) additional elems (also on adjacent domains but connected to the boundary of the current domain)
56 INTEGER,INTENT(IN) :: IXQ(NIXQ,SIXQ/NIXQ)
57! SPMD CASE : SX >= 3*NUMNOD (SX = 3*(NUMNOD_L+NRCVVOIS_L))
58! X(1:3,1:NUMNOD) : local nodes
59! (1:3, NUMNOD+1:) additional nodes (also on adjacent domains but connected to the boundary of the current domain)
60 my_real,INTENT(IN) :: x(3,sx/3)
61!
62 my_real,INTENT(IN) :: v(3,numnod), pm(npropm,nummat)
63 my_real,INTENT(INOUT) :: eyy(*),ezz(*),dyz(*), dzy(*),wyz(*)
64 TYPE(t_ale_connectivity), INTENT(IN) :: ALE_CONNECT
65C-----------------------------------------------
66C L o c a l V a r i a b l e s
67C-----------------------------------------------
68 INTEGER I, II,IADJ,ML,NC1,NC2,NC3,NC4,J,IAD2
69 my_real vy13, vy24, vz13,vz24,py1,py2,pz1,pz2,aire
70C-----------------------------------------------
71C S o u r c e L i n e s
72C-----------------------------------------------
73 DO i=lft,llt
74 ii=i+nft
75 iad2 = ale_connect%ee_connect%iad_connect(ii)
76 DO j=1,4
77 iadj=ale_connect%ee_connect%connected(iad2 + j - 1)
78 IF(iadj /= 0) THEN
79 ml=nint(pm(19,ixq(1,iadj)))
80 IF(ml /= 11) THEN
81 nc1=ixq(2,iadj)
82 nc2=ixq(3,iadj)
83 nc3=ixq(4,iadj)
84 nc4=ixq(5,iadj)
85 py1=half*(x(3,nc2)-x(3,nc4))
86 py2=half*(x(3,nc3)-x(3,nc1))
87 pz1=half*(x(2,nc4)-x(2,nc2))
88 pz2=half*(x(2,nc1)-x(2,nc3))
89 aire=two*(py1*pz2-pz1*py2)
90 vy13=v(2,nc1)-v(2,nc3)
91 vy24=v(2,nc2)-v(2,nc4)
92 vz13=v(3,nc1)-v(3,nc3)
93 vz24=v(3,nc2)-v(3,nc4)
94 eyy(i)=(py1*vy13+py2*vy24)/aire
95 ezz(i)=(pz1*vz13+pz2*vz24)/aire
96 dzy(i)=(py1*vz13+py2*vz24)/aire
97 dyz(i)=(pz1*vy13+pz2*vy24)/aire
98 ezz(i)=zero
99 wyz(i)=half*dt1*(dzy(i)-dyz(i))
100 ENDIF
101 ENDIF
102 enddo!next J
103 enddo!next I
104C-----------------------------------------------
105 RETURN
#define my_real
Definition cppsort.cpp:32