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 30 of file ede112.F.

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