OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
init_mat_keyword.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine init_mat_keyword (matparam, keyword)

Function/Subroutine Documentation

◆ init_mat_keyword()

subroutine init_mat_keyword ( type(matparam_struct_), intent(inout) matparam,
character(len=*) keyword )

Definition at line 152 of file init_mat_keyword.F.

153C-----------------------------------------------
154C M o d u l e s
155C-----------------------------------------------
156 USE matparam_def_mod
157C============================================================================
158C I m p l i c i t T y p e s
159C-----------------------------------------------
160#include "implicit_f.inc"
161C-----------------------------------------------
162C D u m m y A r g u m e n t s
163C-----------------------------------------------
164 CHARACTER(LEN=*) :: KEYWORD
165 TYPE(MATPARAM_STRUCT_) ,INTENT(INOUT) :: MATPARAM
166C=======================================================================
167 SELECT CASE (keyword)
168c---
169 CASE ("COMPRESSIBLE")
170 matparam%COMPRESSIBILITY = 1
171c
172 CASE ("INCOMPRESSIBLE")
173 matparam%COMPRESSIBILITY = 2
174c
175 CASE ("ELASTO_PLASTIC")
176 matparam%COMPRESSIBILITY = 3
177c
178 CASE ("INCREMENTAL")
179 matparam%STRAIN_FORMULATION = 1
180c
181 CASE ("TOTAL")
182 matparam%STRAIN_FORMULATION = 2
183c
184 CASE ("LARGE_STRAIN")
185 matparam%SMSTR = 2
186c
187 CASE ("SMALL_STRAIN")
188 matparam%SMSTR = 1
189c
190 CASE ("HYDROSTATIC")
191 matparam%IPRES = 1
192c
193 CASE ("HYDRO_EOS")
194 matparam%IPRES = 2
195c
196 CASE ("HOOK")
197 matparam%IPRES = 3
198c
199 CASE ("ISOTROPIC")
200 matparam%ORTHOTROPY = 1
201c
202 CASE ("ORTHOTROPIC")
203 matparam%ORTHOTROPY = 2
204c
205 CASE ("ANISOTROPIC")
206 matparam%ORTHOTROPY = 3
207c
208 CASE ("SOLID_ISOTROPIC") ! Compatibility with /PROP/TYPE 6/14/20/21/22
209 matparam%PROP_SOLID = 1
210c
211 CASE ("SOLID_ORTHOTROPIC") ! Compatibility with /PROP/TYPE 6/21/22
212 matparam%PROP_SOLID = 2
213c
214 CASE ("SOLID_COMPOSITE") ! Compatibility with /PROP/TYPE 22
215 matparam%PROP_SOLID = 3
216c
217 CASE ("SOLID_COHESIVE") ! Compatibility with /PROP/TYPE 43
218 matparam%PROP_SOLID = 4
219c
220 CASE ("SOLID_POROUS") ! Compatibility with /PROP/TYPE 14/15
221 matparam%PROP_SOLID = 5
222c
223 CASE ("SOLID_ALL") ! Compatibility with /PROP/TYPE 6/14/20/21/22/43
224 matparam%PROP_SOLID = 6
225c
226 CASE ("SHELL_ISOTROPIC") ! Compatibility with /PROP/TYPE 1/9/10/11/17/19/51/52
227 matparam%PROP_SHELL = 1
228c
229 CASE ("SHELL_ORTHOTROPIC") ! Compatibility with /PROP/TYPE 9/10/11/17/19/51/52
230 matparam%PROP_SHELL = 2
231c
232 CASE ("SHELL_COMPOSITE") ! Compatibility with /PROP/TYPE 10/11/17/19/51/52
233 matparam%PROP_SHELL = 3
234c
235 CASE ("SHELL_ANISOTROPIC") ! Compatibility with /PROP/TYPE 10/11/16/17/19/51/52
236 matparam%PROP_SHELL = 4
237c
238 CASE ("SHELL_ALL") ! Compatibility with /PROP/TYPE 1/9/10/11/16/17/19/51/52
239 matparam%PROP_SHELL = 5
240c
241 CASE ("BEAM_CLASSIC") ! Compatibility with /PROP/TYPE 3
242 matparam%PROP_BEAM = 1
243c
244 CASE ("BEAM_INTEGRATED") ! Compatibility with /PROP/TYPE 18
245 matparam%PROP_BEAM = 2
246c
247 CASE ("BEAM_ALL") ! Compatibility with /PROP/TYPE 3/18
248 matparam%PROP_BEAM = 3
249c
250 CASE ("SPRING_PREDIT") ! Compatibility with /PROP/TYPE 36
251 matparam%PROP_SPRING = 1
252c
253 CASE ("SPRING_MATERIAL") ! Compatibility with /PROP/TYPE 23
254 matparam%PROP_SPRING = 2
255c
256 CASE ("SPRING_ALL") ! Compatibility with /PROP/TYPE 23/36
257 matparam%PROP_SPRING = 3
258c
259 CASE ("TRUSS") ! Compatibility with /PROP/TYPE 2
260 matparam%PROP_TRUSS = 1
261c
262 CASE ("SPH") ! Compatibility with /PROP/TYPE 34
263 matparam%PROP_SPH = 1
264c
265 CASE ("EOS")
266 matparam%COMPATIBILITY_EOS = 1 ! Compatibility with option /EOS
267c
268 CASE ("VISC")
269 matparam%COMPATIBILITY_VISC = 1 ! Compatibility with option /VISC
270 CASE DEFAULT
271 ! write error : keyword not recognized"
272c---
273 END SELECT
274c-----------
275 RETURN