OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
aleso2.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/.
23C
24!||====================================================================
25!|| aleso2 ../starter/source/ale/ale2d/aleso2.F
26!||--- called by ------------------------------------------------------
27!|| alelec ../starter/source/ale/alelec.F
28!||--- uses -----------------------------------------------------
29!||====================================================================
30 SUBROUTINE aleso2(ALE_CONNECTIVITY,PM,IXQ,IGEO)
31C-----------------------------------------------
32C D e s c r i p t i o n
33C-----------------------------------------------
34C This subroutine is displaying in Starter listing file
35C Connectivities element/element (ALE)
36C specific case of quads (4-node-solid-elems in 2D) : buffer is IXQ contrary to IXTG for triangles
37C Precondition : IPRI >= 3 (/IOFLAG Starter option)
38C-----------------------------------------------
39C M o d u l e s
40C-----------------------------------------------
42 use element_mod , only : nixq
43C-----------------------------------------------
44C I m p l i c i t T y p e s
45C-----------------------------------------------
46#include "implicit_f.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50#include "com04_c.inc"
51#include "units_c.inc"
52#include "param_c.inc"
53#include "scr03_c.inc"
54C-----------------------------------------------
55C D u m m y A r g u m e n t s
56C-----------------------------------------------
57 INTEGER,INTENT(IN) :: IXQ(7,NUMELQ),IGEO(NPROPGI,NUMGEO)
58 my_real,INTENT(IN) :: pm(npropm,nummat)
59 TYPE(t_ale_connectivity), INTENT(INOUT) :: ALE_CONNECTIVITY
60C-----------------------------------------------
61C L o c a l V a r i a b l e s
62C-----------------------------------------------
63 INTEGER IVPR(4), M, IAL, I, IAD1, LGTH
64 INTEGER JALE_FROM_MAT, JALE_FROM_PROP, JTHE_FROM_MAT
65C-----------------------------------------------
66C S o u r c e L i n e s
67C-----------------------------------------------
68 IF(ipri <= 3)THEN
69 WRITE(iout,1200)
70 DO m=1,numelq
71 jthe_from_mat = nint(pm(71,iabs(ixq(1,m)))) !/HEAT/MAT
72 jale_from_mat = nint(pm(72,iabs(ixq(1,m)))) !/EULER/MAT or /ALE/MAT
73 jale_from_prop = igeo(62,iabs(ixq(6,m))) !/PROP/TYPE14 (IALE_FLAG)
74 ial = jthe_from_mat + jale_from_mat + jale_from_prop
75 IF(ial == 0)cycle
76 iad1 = ale_connectivity%ee_connect%iad_connect(m)
77 lgth = ale_connectivity%ee_connect%iad_connect(m+1)-ale_connectivity%ee_connect%iad_connect(m)
78 DO i=1,lgth
79 ivpr(i)=ale_connectivity%ee_connect%connected(iad1 + i - 1)
80 IF(ivpr(i) /= 0)ivpr(i)=ixq(7,ivpr(i))
81 ENDDO
82 WRITE(iout,'(5I10)')ixq(7,m),(ivpr(i),i=1,4)
83 ENDDO
84 ENDIF
85C-----------------------------------------------
86 RETURN
87C-----------------------------------------------
88 1200 FORMAT(//
89 & 6x,'A.L.E. ELEMENT CONNECTIVITIES ',/
90 & 6x,'------------------------------ ',/
91 & 6x,'ELEM ELE1 ELE2 ELE3 ELE4 ')
92 END
subroutine aleso2(ale_connectivity, pm, ixq, igeo)
Definition aleso2.F:31
#define my_real
Definition cppsort.cpp:32