OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ede112.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!|| ede112 ../engine/source/ale/euler2d/ede112.f
25!||--- called by ------------------------------------------------------
26!|| qforc2 ../engine/source/elements/solid_2d/quad/qforc2.F
27!||--- uses -----------------------------------------------------
28!|| ale_connectivity_mod ../common_source/modules/ale/ale_connectivity_mod.F
29!||====================================================================
30 SUBROUTINE ede112(PM ,V ,X ,IXQ ,ALE_CONNECT ,
31 . WYZ ,DYZ ,DZY ,EYY ,EZZ )
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
104 END
#define my_real
Definition cppsort.cpp:32
subroutine ede112(pm, v, x, ixq, ale_connect, wyz, dyz, dzy, eyy, ezz)
Definition ede112.F:32