OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
th_time_output.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!|| th_time_output ../engine/source/output/th/th_time_output.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- uses -----------------------------------------------------
28!|| output_mod ../common_source/modules/output/output_mod.F90
29!|| sensor_mod ../common_source/modules/sensor_mod.F90
30!||====================================================================
31 SUBROUTINE th_time_output(ITHOUT,SENSORS,OUTPUT)
32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35 USE sensor_mod
36 USE output_mod
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "com01_c.inc"
45#include "com08_c.inc"
46#include "scr07_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER ,INTENT(INOUT) :: ITHOUT
51 TYPE (SENSORS_) ,INTENT(IN) :: SENSORS
52 TYPE(output_) ,INTENT(INOUT) :: OUTPUT !< output structure
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER :: I, J, ISENS
57 my_real :: this_l, ts, tabfis_l(10)
58C---------------------------------------------------------------------------
59C ITHOUT : flag to check if TH file will be written for CAREA output
60C--------------------------------------------------------------------------
61
62C ****** IF /STOP/LSENSOR *****
63
64 this_l = output%TH%THIS
65 tabfis_l(1:10) =tabfis(1:10)
66 IF (sensors%NSTOP > 0) THEN
67 DO i=1,sensors%NSTOP
68 isens = sensors%STOP(i)
69 ts = ep20
70 IF (sensors%SENSOR_TAB(isens)%STATUS == 1) ts = tt
71 IF (tt >= ts) THEN
72 IF(sensors%STOP_NSTH/=0)THEN !IF THIS FILE
73 this_l= tt
74 ENDIF
75 IF(sensors%STOP_NSABF/=0)THEN !IF ABF FILE
76 DO j=1,10
77 IF(abfile(j)/=0) THEN
78 tabfis_l(j) = tt
79 ENDIF
80 ENDDO
81 ENDIF
82
83 ENDIF
84 ENDDO
85 ENDIF
86C
87
88 IF(tt>=this_l.
89 . or.tt>=output%TH%THIS1(1).OR.tt>=output%TH%THIS1(2).
90 . or.tt>=output%TH%THIS1(3).OR.tt>=output%TH%THIS1(4).OR.tt>=output%TH%THIS1(5).
91 . or.tt>=output%TH%THIS1(6).OR.tt>=output%TH%THIS1(7).OR.tt>=output%TH%THIS1(8).
92 . or.tt>=output%TH%THIS1(9).
93 . or.tt>=tabfis_l(1).OR.tt>=tabfis_l(2).
94 . or.tt>=tabfis_l(3).OR.tt>=tabfis_l(4).OR.tt>=tabfis_l(5).
95 . or.tt>=tabfis_l(6).OR.tt>=tabfis_l(7).OR.tt>=tabfis_l(8).
96 . or.tt>=tabfis_l(9).OR.tt>=tabfis_l(10)) ithout=1
97
98
99 RETURN
100 END SUBROUTINE th_time_output
101
102
#define my_real
Definition cppsort.cpp:32
subroutine th_time_output(ithout, sensors, output)