OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
lcgeo19.F File Reference
#include "implicit_f.inc"
#include "units_c.inc"
#include "com04_c.inc"
#include "param_c.inc"
#include "scr17_c.inc"
#include "drape_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine lcgeo19 (geo, igeo, pm, ipm, unitab, iunit, istack, idrapeid, lsubmodel)

Function/Subroutine Documentation

◆ lcgeo19()

subroutine lcgeo19 ( geo,
integer, dimension(npropgi) igeo,
pm,
integer, dimension(npropmi,*) ipm,
type (unit_type_), intent(in) unitab,
integer iunit,
integer istack,
integer, dimension(*) idrapeid,
type(submodel_data), dimension(nsubmod), intent(in) lsubmodel )

Definition at line 37 of file lcgeo19.F.

39 USE unitab_mod
40 USE message_mod
41 USE submodel_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 "units_c.inc"
51#include "com04_c.inc"
52#include "param_c.inc"
53#include "scr17_c.inc"
54#include "drape_c.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
58 TYPE (UNIT_TYPE_),INTENT(IN) ::UNITAB
59 INTEGER IGEO(NPROPGI),IPM(NPROPMI,*),ISTACK,IDRAPEID(*),IUNIT
61 . geo(npropg), pm(npropm,*)
62 TYPE(SUBMODEL_DATA), DIMENSION(NSUBMOD), INTENT(IN) :: LSUBMODEL
63C-----------------------------------------------
64C L o c a l V a r i a b l e s
65C-----------------------------------------------
66 CHARACTER ISS*3
67 INTEGER IMID, IG, J
69 . thickt
70 INTEGER ISH3N,DRAPE_ID
71 CHARACTER(LEN=NCHARTITLE)::TITR,TITR1
72 LOGICAL :: IS_AVAILABLE, IS_ENCRYPTED
73 LOGICAL :: FOUND
74
75
76 is_encrypted = .false.
77 is_available = .false.
78
79 CALL hm_option_is_encrypted(is_encrypted)
80
81 ish3n = igeo(18)
82 CALL hm_get_intv('mat_ID', imid, is_available, lsubmodel)
83 CALL hm_get_floatv('t', geo(1), is_available, lsubmodel, unitab)
84 CALL hm_get_floatv('delta_phi', geo(2), is_available, lsubmodel, unitab)
85 CALL hm_get_intv('grsh4n_ID', igeo(40), is_available, lsubmodel)
86 CALL hm_get_intv('grsh3n_ID', igeo(41), is_available, lsubmodel)
87 CALL hm_get_intv('Npt_ply', igeo(4), is_available, lsubmodel)
88 CALL hm_get_floatv('alpha_i', geo(212), is_available, lsubmodel, unitab)
89
90 CALL hm_get_intv('drape_ID', drape_id, is_available, lsubmodel)
91 CALL hm_get_intv('def_orth', igeo(49), is_available, lsubmodel)
92
93 ig = igeo(1)
94 IF (igeo(4) <= 0) igeo(4) = 1
95 IF (geo(212) == zero) geo(212) = ninety
96 IF (is_encrypted) THEN
97 WRITE(iout,1000)ig
98 1000 FORMAT(
99 & 5x,' LAYER SHELL PROPERTY SET'/,
100 & 5x,'------------------------------------'/,
101 & 5x,'PROPERTY SET NUMBER . . . . . . . . . .=',i10/,
102 & 5x,'CONFIDENTIAL DATA'//)
103 ELSE
104 WRITE(iout,2000)ig,imid,geo(1),geo(2),igeo(40),igeo(41),igeo(4),
105 . geo(212),drape_id,igeo(49)
106 ENDIF
107 geo(2)=geo(2)*pi/hundred80
108 geo(212)=geo(212)*pi/hundred80
109 igeo(48) = 0 ! keeped for DRAPE IDENTIFICATION NUMBER
110C ------------------------------------
111C
112C check for layer materials compatibility moved to "lecgeo"
113C
114 found = .false.
115 IF(imid > 0) THEN
116 DO j=1,nummat
117 IF (ipm(1,j) == imid) THEN
118 igeo(101) = j
119 found = .true.
120 EXIT
121 ENDIF
122 ENDDO
123 ENDIF
124 IF (.NOT. found) THEN
125 CALL fretitl2(titr,igeo(npropgi-ltitr+1),ltitr)
126 IF(istack == 0) THEN
127 CALL ancmsg(msgid=31,
128 . msgtype=msgerror,
129 . anmode=aninfo_blind_2,
130 . i1=ig,
131 . c1=titr,
132 . i2=imid)
133 ELSE
134 CALL ancmsg(msgid=1151,
135 . msgtype=msgerror,
136 . anmode=aninfo_blind_2,
137 . i1=ig,
138 . c1=titr,
139 . i2=imid)
140
141 ENDIF
142 igeo(101) = 1
143 ENDIF
144C
145C check for wright drape id definition
146C
147 IF (ndrape > 0 .OR. drape_id > 0) THEN
148 found = .false.
149 DO j=1,ndrape
150 IF (drape_id > 0 .AND. drape_id == idrapeid(j)) THEN
151 igeo(48) = drape_id
152 found = .true.
153 EXIT
154 ENDIF
155 ENDDO
156 IF (.NOT. found) THEN
157 IF (drape_id > 0)THEN
158 CALL fretitl2(titr,igeo(npropgi-ltitr+1),ltitr)
159 CALL ancmsg(msgid=1153,
160 . msgtype=msgerror,
161 . anmode=aninfo,
162 . i1=ig,
163 . c1=titr,
164 . i2=drape_id)
165 ENDIF
166 ENDIF
167 ENDIF ! IF (NDRAPE > 0)
168c-----------
169 RETURN
170c-----------
171 2000 FORMAT(/,
172 & 5x,'ply property set ',/,
173 & 5X,'property set number . . . . . . . . . . . . . .=',I10/,
174 & 5X,'material number . . . . . . . . . . . . . . . .=',I10/,
175 & 5X,'layer thickness . . . . . . . . . . . . . . . .=',1PG20.13/,
176 & 5X,'incremental angle(dir 1,proj(dir 1 / shell). . .=',1PG20.13/,
177 & 5X,'shell 4-nodes group identifier. . . . . . . . .=',I10/,
178 & 5X,'shell 3-nodes group identifier. . . . . . . . .=',I10/,
179 & 5X,'number of integration points through layer. . .=',I10/,
180 & 5X,'orthotropy angle between(dir 1,dir 2). . . . . =',1PG20.13/,
181 & 5X,'drape identifier . . . . . . . . . . . . . . .=',I10/,
182 & 5X,'def_orth flag . . . . . . . . . . . . . . . . . =',I10/)
#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)
integer, parameter nchartitle
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:895
subroutine fretitl2(titr, iasc, l)
Definition freform.F:799