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 149 of file init_mat_keyword.F.

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