OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_prop33.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_prop33 ../starter/source/properties/spring/hm_read_prop33.F
25!||--- called by ------------------------------------------------------
26!|| hm_read_prop_generic ../starter/source/properties/hm_read_prop_generic.F
27!||--- calls -----------------------------------------------------
28!|| ancmsg ../starter/source/output/message/message.f
29!|| hm_get_intv ../starter/source/devtools/hm_reader/hm_get_intv.F
30!|| hm_option_is_encrypted ../starter/source/devtools/hm_reader/hm_option_is_encrypted.F
31!|| hm_read_prop33_cyl_jnt ../starter/source/properties/spring/hm_read_prop33_cyl_jnt.F
32!|| hm_read_prop33_fix_jnt ../starter/source/properties/spring/hm_read_prop33_fix_jnt.F
33!|| hm_read_prop33_free_jnt ../starter/source/properties/spring/hm_read_prop33_free_jnt.F
34!|| hm_read_prop33_old_jnt ../starter/source/properties/spring/hm_read_prop33_old_jnt.f
35!|| hm_read_prop33_plan_jnt ../starter/source/properties/spring/hm_read_prop33_plan_jnt.F
36!|| hm_read_prop33_rev_jnt ../starter/source/properties/spring/hm_read_prop33_rev_jnt.F
37!|| hm_read_prop33_sph_jnt ../starter/source/properties/spring/hm_read_prop33_sph_jnt.F
38!|| hm_read_prop33_trans_jnt ../starter/source/properties/spring/hm_read_prop33_trans_jnt.F
39!|| hm_read_prop33_univ_jnt ../starter/source/properties/spring/hm_read_prop33_univ_jnt.F
40!||--- uses -----------------------------------------------------
41!|| elbuftag_mod ../starter/share/modules1/elbuftag_mod.F
42!|| message_mod ../starter/share/message_module/message_mod.F
43!|| submodel_mod ../starter/share/modules1/submodel_mod.F
44!||====================================================================
45 SUBROUTINE hm_read_prop33(IOUT ,NUVAR ,PARGEO ,UNITAB,
46 . IUNIT,ID ,TITR ,PROP_TAG,
47 . IGTYP,LSUBMODEL)
48C-----------------------------------------------
49C M o d u l e s
50C-----------------------------------------------
51 USE unitab_mod
52 USE message_mod
53 USE elbuftag_mod
54 USE submodel_mod
56C-----------------------------------------------
57C I m p l i c i t T y p e s
58C-----------------------------------------------
59#include "implicit_f.inc"
60#include "tablen_c.inc"
61C-----------------------------------------------
62C A n a l y s e M o d u l e
63C-----------------------------------------------
64C----------+---------+---+---+--------------------------------------------
65C VAR | SIZE |TYP| RW| DEFINITION
66C----------+---------+---+---+--------------------------------------------
67C IOUT | 1 | I | R | OUTPUT FILE UNIT (L00 file)
68C NUVAR | 1 | I | W | NUMBER OF USER ELEMENT VARIABLES
69C----------+---------+---+---+--------------------------------------------
70C PARGEO | * | F | W | 1)SKEW NUMBER
71C | | | | 2)STIFNESS FOR INTERFACE
72C | | | | 3)FRONT WAVE OPTION
73C | | | | 4)... not yet used
74C----------+---------+---+---+--------------------------------------------
75C D u m m y A r g u m e n t s
76C-----------------------------------------------
77 TYPE (UNIT_TYPE_),INTENT(IN) ::UNITAB
78 INTEGER IOUT,NUVAR,IUNIT
79 my_real pargeo(*)
80 INTEGER ID, IGTYP
81 CHARACTER(LEN=NCHARTITLE) :: TITR
82 TYPE(prop_tag_) , DIMENSION(0:MAXPROP) :: PROP_TAG
83 TYPE(submodel_data),INTENT(IN)::LSUBMODEL(*)
84C-----------------------------------------------
85C L o c a l V a r i a b l e s
86C-----------------------------------------------
87 INTEGER ITYP,SKFLAG
88 LOGICAL IS_AVAILABLE, IS_ENCRYPTED
89C=======================================================================
90C EXTRACT DATA (IS OPTION CRYPTED)
91C--------------------------------------------------
92 CALL hm_option_is_encrypted(is_encrypted)
93C--------------------------------------------------
94C EXTRACT DATAS (INTEGER VALUES)
95C--------------------------------------------------
96 CALL hm_get_intv('type',ityp,is_available,lsubmodel)
97 CALL hm_get_intv('SkewFlag',skflag,is_available,lsubmodel)
98C--------------------------------------------------
99C
100 nuvar = 39
101C
102 IF (ityp==1) THEN
103 CALL hm_read_prop33_sph_jnt(iout,ityp,skflag,pargeo,is_encrypted,unitab,iunit,
104 . id,titr,lsubmodel)
105 ELSEIF (ityp==2) THEN
106 CALL hm_read_prop33_rev_jnt(iout,ityp,skflag,pargeo,is_encrypted,unitab,iunit,
107 . id,titr,lsubmodel)
108 ELSEIF (ityp==3) THEN
109 CALL hm_read_prop33_cyl_jnt(iout,ityp,skflag,pargeo,is_encrypted,unitab,iunit,
110 . id,titr,lsubmodel)
111 ELSEIF (ityp==4) THEN
112 CALL hm_read_prop33_plan_jnt(iout,ityp,skflag,pargeo,is_encrypted,unitab,iunit,
113 . id,titr,lsubmodel)
114 ELSEIF (ityp==5) THEN
115 CALL hm_read_prop33_univ_jnt(iout,ityp,pargeo,is_encrypted,unitab,iunit,
116 . id,titr,lsubmodel)
117 ELSEIF (ityp==6) THEN
118 CALL hm_read_prop33_trans_jnt(iout,ityp,skflag,pargeo,is_encrypted,unitab,iunit,
119 . id,titr,lsubmodel)
120 ELSEIF (ityp==7) THEN
121 CALL hm_read_prop33_old_jnt(iout,ityp,skflag,pargeo,is_encrypted,unitab,iunit,
122 . id,titr,lsubmodel)
123 ELSEIF (ityp==8) THEN
124 CALL hm_read_prop33_fix_jnt(iout,ityp,skflag,pargeo,is_encrypted,unitab,iunit,
125 . id,titr,lsubmodel)
126 ELSEIF (ityp==9) THEN
127 CALL hm_read_prop33_free_jnt(iout,ityp,skflag,pargeo,is_encrypted,unitab,iunit,
128 . id,titr,lsubmodel)
129 ELSE
130C WRITE(IOUT,*)' **ERROR WRONG JOINT TYPE'
131 CALL ancmsg(msgid=409,
132 . msgtype=msgerror,
133 . anmode=aninfo_blind_2,
134 . i1=id,
135 . c1=titr,
136 . i2=ityp)
137 END IF
138C
139 prop_tag(igtyp)%G_EINT = 1
140 prop_tag(igtyp)%G_FOR = 3
141 prop_tag(igtyp)%G_MOM = 3
142 prop_tag(igtyp)%G_TOTDEPL = 3
143 prop_tag(igtyp)%G_TOTROT = 3
144 prop_tag(igtyp)%G_SKEW = 3
145 prop_tag(igtyp)%G_MASS = 1
146 prop_tag(igtyp)%G_NUVAR = nuvar
147 prop_tag(igtyp)%G_LENGTH_ERR = 3
148C
149 RETURN
150 END
151
#define my_real
Definition cppsort.cpp:32
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_is_encrypted(is_encrypted)
subroutine hm_read_prop33(iout, nuvar, pargeo, unitab, iunit, id, titr, prop_tag, igtyp, lsubmodel)
subroutine hm_read_prop33_cyl_jnt(iout, ityp, skflag, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
subroutine hm_read_prop33_fix_jnt(iout, ityp, skflag, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
subroutine hm_read_prop33_free_jnt(iout, ityp, skflag, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
subroutine hm_read_prop33_old_jnt(iout, ityp, skflag, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
subroutine hm_read_prop33_plan_jnt(iout, ityp, skflag, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
subroutine hm_read_prop33_rev_jnt(iout, ityp, skflag, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
subroutine hm_read_prop33_sph_jnt(iout, ityp, skflag, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
subroutine hm_read_prop33_trans_jnt(iout, ityp, skflag, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
subroutine hm_read_prop33_univ_jnt(iout, ityp, pargeo, is_encrypted, unitab, iunit, id, titr, lsubmodel)
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:889
program starter
Definition starter.F:39