OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
check_qeph_stra.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!|| check_qeph_stra ../starter/source/starter/check_qeph_stra.F
25!||--- called by ------------------------------------------------------
26!|| lectur ../starter/source/starter/lectur.F
27!||--- uses -----------------------------------------------------
28!||====================================================================
29 SUBROUTINE check_qeph_stra(ISTR_24)
30C-----------------------------------------------
31C M o d u l e s
32C-----------------------------------------------
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C C o m m o n B l o c k s
41C-----------------------------------------------
42#include "scr15_c.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45 INTEGER , INTENT(INOUT) :: ISTR_24
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER I, J,IO_ERR1,IFUND,LEN_TMP_NAME
50 CHARACTER FILNAM*109, KEYA*80, KEYA2*80
51 CHARACTER(LEN=NCHARLINE) :: CARTE
52 CHARACTER(len=4096) :: TMP_NAME
53C-----------------------------------------------
54 ifund=0
55 io_err1 = 0
56C-----------------------------------------------
57C READING ENGINE FILE
58C-----------------------------------------------
59 filnam=rootnam(1:rootlen)//'_0001.rad'
60
61 tmp_name=infile_name(1:infile_name_len)//filnam(1:rootlen+9)
62 len_tmp_name = infile_name_len+rootlen+9
63 OPEN(unit=71,file=tmp_name(1:len_tmp_name),access='SEQUENTIAL',status='OLD',iostat=io_err1)
64
65 DO WHILE (io_err1 == 0 .AND. ifund==0)
66 READ(71,fmt='(A)',iostat=io_err1) keya
67 IF(io_err1 == 0)THEN
68 IF (keya(1:25)=='/DYNAIN/SHELL/STRAIN/FULL') THEN
69 ifund = 1
70 ELSEIF (keya(1:25)=='/STATE/SHELL/STRAIN/GLOBF') THEN
71 ifund = 1
72 END IF
73 ENDIF
74 END DO
75
76 CLOSE(71)
77 IF (ifund==1) istr_24 = 1
78
79 RETURN
80 END
subroutine check_qeph_stra(istr_24)
integer infile_name_len
character(len=infile_char_len) infile_name
integer, parameter ncharline