OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
radioss0.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!|| radioss0 ../engine/source/engine/radioss0.F
25!||--- called by ------------------------------------------------------
26!|| radioss ../engine/source/engine/radioss.F
27!||--- calls -----------------------------------------------------
28!|| execargcheck ../engine/source/engine/execargcheck.F
29!|| file_init ../common_source/tools/input_output/write_routines.c
30!|| init_dyn_lib_struc ../engine/share/modules/dynlib_mod.F
31!|| radioss2 ../engine/source/engine/radioss2.F
32!|| radioss_set_env_variable ../common_source/comm/radioss_set_env_variable.c
33!||--- uses -----------------------------------------------------
34!|| dynlib_mod ../engine/share/modules/dynlib_mod.F
35!|| inoutfile_mod ../common_source/modules/inoutfile_mod.F
36!||====================================================================
37 SUBROUTINE radioss0
38C-----------------------------------------------
39C M o d u l e s
40C-----------------------------------------------
42 USE dynlib_mod
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 "chara_c.inc"
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER MRDATA, MIDATA
55 parameter(mrdata=3,midata=9)
56 INTEGER, DIMENSION(:),ALLOCATABLE :: IDATA
58 + , DIMENSION(:),ALLOCATABLE :: rdata
59 INTEGER I
60
61
62 INTEGER :: DYN_LIB_MODE
63C Reading the D01 file to detect the /MADYMO/ON option
64C is not allowed in SPMD.
65C => A modify if this option should be supported in SPMD ../ ..
66C----------------------------------------------
67C Run argument parameters
68 CALL file_init() ! Initialize C FILE buffer for IEEE writing
69
70C
71 ALLOCATE( dlib_struct(nbr_dlib) )
72 dyn_lib_mode = 0
73 CALL init_dyn_lib_struc(dyn_lib_mode)
74 CALL execargcheck(got_input, input, leninput,
75 * got_path, path, lenpath )
76
77! ----------------------------
78! if -infile or outfile cdl are used, then one needs to change $TMPDIR
79! in order to write all scratch files in the user folder
81! ----------------------------
82C-----------------------------------------------
83C Minimum allowance (in the absence of Madymo coupling).
84 ALLOCATE(idata(midata))
85 ALLOCATE(rdata(mrdata))
86 DO i=1,midata
87 idata(i)=0
88 ENDDO
89 DO i=1,mrdata
90 rdata(i)=zero
91 ENDDO
92C-----------------------------------------------
93 CALL radioss2(idata, midata, rdata, mrdata)
94C-----------------------------------------------
95 RETURN
96 END
97
98
#define my_real
Definition cppsort.cpp:32
type(dyn_lib_type), dimension(:), allocatable dlib_struct
Definition dynlib_mod.F:72
subroutine init_dyn_lib_struc(mode)
Definition dynlib_mod.F:97
integer, parameter nbr_dlib
Definition dynlib_mod.F:63
character(len=outfile_char_len) outfile_name
integer outfile_name_len
subroutine radioss0
Definition radioss0.F:38
subroutine radioss2(idata, midata, rdata, mrdata)
Definition radioss2.F:145
void radioss_set_env_variable(char *variable, char *value, int *len_value)
subroutine execargcheck(output)
void file_init()