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

Go to the source code of this file.

Functions/Subroutines

subroutine hm_read_prop43 (geo, igeo, iout, ig, nuvar, pargeo, igtyp, prop_tag, unitab, lsubmodel, defaults_solid)

Function/Subroutine Documentation

◆ hm_read_prop43()

subroutine hm_read_prop43 ( geo,
integer, dimension(npropgi) igeo,
integer iout,
integer ig,
integer nuvar,
pargeo,
integer igtyp,
type(prop_tag_), dimension(0:maxprop) prop_tag,
type (unit_type_), intent(in) unitab,
type(submodel_data), dimension(*), intent(in) lsubmodel,
type(solid_defaults_), intent(in) defaults_solid )

Definition at line 37 of file hm_read_prop43.F.

40C============================================================================
41C M o d u l e s
42C-----------------------------------------------
43 USE unitab_mod
44 USE message_mod
45 USE submodel_mod
46 USE elbuftag_mod
47 USE defaults_mod
48C-----------------------------------------------
49C I m p l i c i t T y p e s
50C-----------------------------------------------
51#include "implicit_f.inc"
52C-----------------------------------------------
53C C o m m o n B l o c k s
54C----------+---------+---+---+--------------------------------------------
55#include "param_c.inc"
56#include "tablen_c.inc"
57C----------+---------+---+---+--------------------------------------------
58C VAR | SIZE |TYP| RW| DEFINITION
59C----------+---------+---+---+--------------------------------------------
60C IOUT | 1 | I | R | OUTPUT FILE UNIT (L00 file)
61C NUVAR | 1 | I | W | NUMBER OF USER ELEMENT VARIABLES
62C----------+---------+---+---+--------------------------------------------
63C PARGEO | * | F | W | 1)SKEW NUMBER
64C | | | | 2)STIFNESS FOR INTERFACE
65C | | | | 3)FRONT WAVE OPTION
66C | | | | 4)... not yet used
67C----------+---------+---+---+--------------------------------------------
68C D u m m y A r g u m e n t s
69C-----------------------------------------------
70 TYPE (UNIT_TYPE_),INTENT(IN) ::UNITAB
71 INTEGER IGEO(NPROPGI)
72 INTEGER IG,IGTYP
73 my_real geo(*)
74
75 TYPE(PROP_TAG_) , DIMENSION(0:MAXPROP) :: PROP_TAG
76 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
77 my_real
78 . pargeo(*)
79 TYPE(SOLID_DEFAULTS_), INTENT(IN) :: DEFAULTS_SOLID
80C-----------------------------------------------
81C L o c a l V a r i a b l e s
82C-----------------------------------------------
83 INTEGER IOUT,IERROR,NUVAR,NPG,JCVT,ISMSTR
84 INTEGER IHBE_DS,ISST_DS,IPLA_DS,IFRAME_DS
86 . tthick
87 LOGICAL IS_AVAILABLE, IS_ENCRYPTED
88C=======================================================================
89 is_encrypted = .false.
90 is_available = .false.
91C
92 nuvar = 0
93 npg = 4
94 jcvt = 1
95 ismstr = 0
96!--- defaults values
97 ihbe_ds= defaults_solid%ISOLID
98 isst_ds= defaults_solid%ISMSTR
99 iframe_ds= defaults_solid%IFRAME
100C
101C--------------------------------------------------
102C EXTRACT DATA (IS OPTION CRYPTED)
103C--------------------------------------------------
104 CALL hm_option_is_encrypted(is_encrypted)
105C--------------------------------------------------
106C EXTRACT DATAS (INTEGER VALUES)
107C--------------------------------------------------
108 CALL hm_get_intv('Ismstr',ismstr,is_available,lsubmodel)
109C--------------------------------------------------
110C EXTRACT DATAS (REAL VALUES)
111C--------------------------------------------------
112 CALL hm_get_floatv('THICK',tthick,is_available,lsubmodel,unitab)
113C
114 geo(41) = tthick
115C
116 pargeo(1) = 0
117 pargeo(2) = 0
118 pargeo(3) = 0
119 pargeo(4) = npg
120 pargeo(5) = jcvt
121 IF (ismstr == 0) ismstr = isst_ds
122 IF (ismstr < 0 .OR. isst_ds==-2) ismstr = 1
123 IF (ismstr == 0 .OR. ismstr == 2 .OR. ismstr == 3) ismstr = 1
124 IF (ismstr == 10) ismstr = 4
125
126 igeo(5) = ismstr
127c
128C-----------
129c
130 IF(.NOT. is_encrypted)THEN
131 IF(tthick > 0) THEN
132 WRITE(iout,1100) ig,ismstr,tthick
133 ELSE
134 WRITE(iout,1000) ig,ismstr
135 ENDIF
136 ELSE
137 WRITE(iout,'(5X,A,//)')'CONFIDENTIAL DATA'
138 ENDIF
139
140 prop_tag(igtyp)%G_SIG = 6
141 prop_tag(igtyp)%L_SIG = 6
142 prop_tag(igtyp)%G_VOL = 1
143 prop_tag(igtyp)%L_VOL = 1
144 prop_tag(igtyp)%G_EINT = 1
145 prop_tag(igtyp)%L_EINT = 1
146 prop_tag(igtyp)%G_GAMA = 9
147 prop_tag(igtyp)%G_FILL = 1
148
149C-----------
150 RETURN
151C-----------
152 1000 FORMAT(
153 & 5x,'SOLID SPOTWELD PROPERTY SET'/,
154 & 5x,'PROPERTY SET ID . . . . . . . . . . . .=',i10/,
155 & 5x,'SMALL STRAIN FLAG . . . . . . . . . . .=',i10/)
156 1100 FORMAT(
157 & 5x,'SOLID SPOTWELD PROPERTY SET'/,
158 & 5x,'PROPERTY SET ID . . . . . . . . . . . .=',i10/,
159 & 5x,'SMALL STRAIN FLAG . . . . . . . . . . .=',i10/,
160 & 5x,'TRUE THICKNESS . . . . . . . . . . . .=',1pg20.13/)
161C-----------
162 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine hm_get_floatv(name, rval, is_available, lsubmodel, unitab)
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_is_encrypted(is_encrypted)