OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_prop05.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| hm_read_prop05 ../starter/source/properties/rivet/hm_read_prop05.F
25!||--- called by ------------------------------------------------------
26!|| hm_read_properties ../starter/source/properties/hm_read_properties.F
27!||--- calls -----------------------------------------------------
28!|| hm_get_floatv ../starter/source/devtools/hm_reader/hm_get_floatv.F
29!|| hm_get_intv ../starter/source/devtools/hm_reader/hm_get_intv.F
30!||--- uses -----------------------------------------------------
31!|| hm_option_read_mod ../starter/share/modules1/hm_option_read_mod.F
32!|| message_mod ../starter/share/message_module/message_mod.F
33!|| submodel_mod ../starter/share/modules1/submodel_mod.F
34!||====================================================================
35 SUBROUTINE hm_read_prop05(GEO,IGEO,IG,IGTYP,IDTITL,UNITAB,LSUBMODEL )
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---
134 END SUBROUTINE hm_read_prop05
#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_read_prop05(geo, igeo, ig, igtyp, idtitl, unitab, lsubmodel)
integer, parameter nchartitle