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

Go to the source code of this file.

Functions/Subroutines

subroutine hm_read_prop05 (geo, igeo, ig, igtyp, idtitl, unitab, lsubmodel)

Function/Subroutine Documentation

◆ hm_read_prop05()

subroutine hm_read_prop05 ( geo,
integer, dimension(npropgi) igeo,
integer ig,
integer igtyp,
character(len=nchartitle) idtitl,
type (unit_type_), intent(in) unitab,
type(submodel_data), dimension(*), intent(in) lsubmodel )

Definition at line 35 of file hm_read_prop05.F.

36C============================================================================
37C M o d u l e s
38C-----------------------------------------------
39 USE unitab_mod
40 USE message_mod
41 USE submodel_mod
44C-----------------------------------------------
45C I m p l i c i t T y p e s
46C-----------------------------------------------
47#include "implicit_f.inc"
48C-----------------------------------------------
49C C o m m o n B l o c k s
50C-----------------------------------------------
51#include "units_c.inc"
52#include "param_c.inc"
53C-----------------------------------------------
54C D u m m y A r g u m e n t s
55C-----------------------------------------------
56 TYPE (UNIT_TYPE_),INTENT(IN) ::UNITAB
57 INTEGER IGEO(NPROPGI),IG,IGTYP
58C REAL
59 my_real geo(npropg)
60 CHARACTER(LEN=NCHARTITLE) :: IDTITL
61 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 INTEGER IROT ,IMODE
66C REAL
68 . pun ,fn ,ft ,dx
69 LOGICAL IS_AVAILABLE, IS_ENCRYPTED
70C-----------------------------------------------
71C E x t e r n a l F u n c t i o n s
72C-----------------------------------------------
73 DATA pun/0.1/
74C======================================================================|
75c------------------------------
76C RIVETS (Obsolete)
77C----------------------
78
79 is_encrypted = .false.
80 is_available = .false.
81
82 imode = 0
83C--------------------------------------------------
84C EXTRACT DATAS (INTEGER VALUES)
85C--------------------------------------------------
86 CALL hm_get_intv('WFLAG',irot,is_available,lsubmodel)
87 CALL hm_get_intv('Imod',imode,is_available,lsubmodel)
88C--------------------------------------------------
89C EXTRACT DATAS (REAL VALUES)
90C--------------------------------------------------
91 CALL hm_get_floatv('NFORCE',fn,is_available,lsubmodel,unitab)
92 CALL hm_get_floatv('TFORCE',ft,is_available,lsubmodel,unitab)
93 CALL hm_get_floatv('LENGTH',dx,is_available,lsubmodel,unitab)
94
95 igeo( 1)=ig
96 igeo(11)=igtyp
97 geo(12) =igtyp+pun
98c
99
100 IF (imode==0) imode = 1
101 IF(fn==zero)fn=ep15
102 IF(ft==zero)ft=ep15
103 IF(dx==zero)dx=ep15
104 IF(.NOT.is_encrypted)THEN
105 WRITE(iout,1500)ig,fn,ft,dx,irot,imode
106 ELSE
107 WRITE(iout,1599)ig
108 ENDIF
109
110 geo(1)=fn**2
111 geo(2)=ft**2
112 geo(3)=dx**2
113 geo(4)=irot+pun
114 geo(5)=imode+pun
115
116C----
117 RETURN
118C---
119 1500 FORMAT(
120 & 5x,'RIVET PROPERTY SET'/,
121 & 5x,'PROPERTY SET NUMBER . . . . . . . . . .=',i10/,
122 & 5x,'MAX. TENSILE FORCE. . . . . . . . . . .=',1pg20.13/,
123 & 5x,'MAX. SHEAR FORCE. . . . . . . . . . . .=',1pg20.13/,
124 & 5x,'MAX. RIVET LENGTH . . . . . . . . . . .=',1pg20.13/,
125 & 5x,'ROTATION FLAG . . . . . . . . . . . . .=',i10/,
126 & 5x,' (TRANS = 0 / TRANS+ROT = 1)'/
127 & 5x,'FORMULATION FLAG. . . . . . . . . . . .=',i10/,
128 & 5x,' RIGID BODY = 1 / RIGID LINK = 2'/)
129 1599 FORMAT(
130 & 5x,'RIVET PROPERTY SET'/,
131 & 5x,'PROPERTY SET NUMBER . . . . . . . . . .=',i10/,
132 & 5x,'CONFIDENTIAL DATA'//)
133C---
#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)
integer, parameter nchartitle