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

Go to the source code of this file.

Functions/Subroutines

subroutine ccoef3 (jft, jlt, pm, mat, geo, pid, off, area, sti, stir, shf, thk0, thk02, nu, g, ym, a11, a12, thk, ssp, rho, h1, h2, h3, vol0, vol00, alpe, gs, mtn, ithk, ismstr, npt, kfts, srh1, srh2, srh3, igeo, a11r, isubstack, pm_stack)

Function/Subroutine Documentation

◆ ccoef3()

subroutine ccoef3 ( integer jft,
integer jlt,
pm,
integer, dimension(mvsiz) mat,
geo,
integer, dimension(mvsiz) pid,
off,
area,
sti,
stir,
shf,
thk0,
thk02,
nu,
g,
ym,
a11,
a12,
thk,
ssp,
rho,
h1,
h2,
h3,
vol0,
vol00,
alpe,
gs,
integer mtn,
integer ithk,
integer ismstr,
integer npt,
integer kfts,
srh1,
srh2,
srh3,
integer, dimension(npropgi,*) igeo,
a11r,
integer isubstack,
pm_stack )

Definition at line 29 of file ccoef3.F.

39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C G l o b a l P a r a m e t e r s
45C-----------------------------------------------
46#include "mvsiz_p.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50#include "param_c.inc"
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER JFT, JLT, MTN,ITHK,
55 . ISMSTR,NPT ,KFTS ,ISUBSTACK
56 INTEGER MAT(MVSIZ), PID(MVSIZ), IGEO(NPROPGI,*)
57C REAL
59 . geo(npropg,*), pm(npropm,*), off(*), area(*),
60 . sti(*),stir(*),shf(*),thk0(*),thk02(*),thk(*),
61 . nu(*),g(*),ym(*),a11(*),a12(*),gs(*),
62 . h1(*),h2(*),h3(*),vol0(*),ssp(*),rho(*),alpe(*),vol00(*),
63 . srh1(*) ,srh2(*) ,srh3(*),a11r(*),pm_stack(20,*)
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER I,ISH,MX,IPID,J,IGTYP,IPGMAT,IGMAT
68C REAL
70 . fac1(mvsiz),fsh, fac1tmp,
71 . rho_1, ym_1, nu_1, g_1, a11_1, a12_1, ssp_1
72C=======================================================================
73 IF(ithk>0.AND.ismstr/=3)THEN
74 DO i=jft,jlt
75 alpe(i)=one
76C --- A CORRIGER : VOL00(I) = THK0(I)*AREA0(I)
77 vol00(i) = thk0(i)*area(i)
78 thk0(i)=thk(i)
79 vol0(i) = thk0(i)*area(i)
80 thk02(i) = thk0(i)*thk0(i)
81 ENDDO
82 ELSE
83 DO i=jft,jlt
84 alpe(i)=one
85C --- A CORRIGER : VOL00(I) = THK0(I)*AREA0(I)
86 vol00(i) = thk0(i)*area(i)
87 vol0(i) = vol00(i)
88 thk02(i) = thk0(i)*thk0(i)
89 ENDDO
90 ENDIF
91C
92 igtyp = igeo(11,pid(1))
93 igmat = igeo(98,pid(1))
94 ipgmat = 700
95
96 IF(igtyp == 11 .AND. igmat > 0) THEN
97 mx = mat(jft)
98 DO i=jft,jlt
99 mx = pid(i)
100 rho(i) = geo(ipgmat +1 ,mx)
101 ym(i) = geo(ipgmat +2 ,mx)
102 nu(i) = geo(ipgmat +3 ,mx)
103 g(i) = geo(ipgmat +4 ,mx)
104 a11(i) = geo(ipgmat +5 ,mx)
105 a12(i) = geo(ipgmat +6 ,mx)
106 a11r(i)= geo(ipgmat +7 ,mx)
107 ssp(i) = geo(ipgmat +9 ,mx)
108 ENDDO
109 ELSEIF(igtyp == 52 .OR.
110 . ((igtyp == 17 .OR. igtyp == 51) .AND. igmat > 0))THEN
111 DO i=jft,jlt
112 rho(i) = pm_stack(1 ,isubstack)
113 ym(i) = pm_stack(2 ,isubstack)
114 nu(i) = pm_stack(3 ,isubstack)
115 g(i) = pm_stack(4 ,isubstack)
116 a11(i) = pm_stack(5 ,isubstack)
117 a12(i) = pm_stack(6 ,isubstack)
118 a11r(i)= pm_stack(7 ,isubstack)
119 ssp(i) = pm_stack(9 ,isubstack)
120 ENDDO
121
122 ELSE
123 mx = mat(jft)
124 rho_1=pm(1,mx)
125 ym_1 =pm(20,mx)
126 nu_1 =pm(21,mx)
127 g_1 =pm(22,mx)
128 a11_1 =pm(24,mx)
129 a12_1 =pm(25,mx)
130 ssp_1 =pm(27,mx)
131 DO i=jft,jlt
132 rho(i)=rho_1
133 ym(i) =ym_1
134 nu(i) =nu_1
135 g(i) =g_1
136 a11(i) =a11_1
137 a12(i) =a12_1
138 ssp(i) =ssp_1
139 ENDDO
140 ENDIF !igtyp
141C
142 DO i=jft,jlt
143 ipid=pid(i)
144 h1(i) =geo(13,ipid)
145 h2(i) =geo(14,ipid)
146 h3(i) =geo(15,ipid)
147 srh1(i)=geo(18,ipid)
148 srh2(i)=geo(19,ipid)
149 srh3(i)=geo(20,ipid)
150 ENDDO
151C
152 IF(npt==1) THEN
153 DO i=jft,jlt
154 shf(i)=zero
155 ENDDO
156 ELSE
157 DO i=jft,jlt
158C ds021 41i 26/9/00 +++
159 fac1tmp =2.*(1.+nu(i))*thk02(i)
160 ish =nint(geo(37,pid(i)))
161 fsh =geo(38,pid(i))
162 shf(i)=fsh*(1. - ish +
163 . ish*fac1tmp / (fsh*area(i)+fac1tmp) )
164 fac1(i) = fac1tmp
165C ds021 41i 26/9/00 ---
166 ENDDO
167 ENDIF
168 DO i=jft,jlt
169 gs(i)=g(i)*shf(i)
170 ENDDO
171C
172 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine area(d1, x, x2, y, y2, eint, stif0)