tcu20
C TCU20 SOURCE OF166741 23/12/04 21:15:11 11800 C======================================================================= C= T C U 2 0 = C= --------- = C= = C= Fonction : = C= ---------- = C= Acquisition des caracteristiques d'integration aux noeuds, aux = C= points d'integration (Gauss) ou au centre de gravite pour = C= l'element thermique support CU20. = C= = C= Parametres : (E)=Entree (S)=Sortie = C= ------------ = C= ISUPTH (E) Indique le support d'integration demande = C= IPINTE (S) Pointeur sur le segment MINTE associe (ACTIF en S) = C======================================================================= IMPLICIT INTEGER(I-N) IMPLICIT REAL*8 (A-H,O-Z) -INC SMINTE PARAMETER ( O0=0.D0, O1=1.D0, O5=0.5D0, O25=0.25D0, O125=0.125D0, & O2=2.D0, O8=8.D0 ) PARAMETER ( X=0.774596669241483377035853079956479D0 ) IF (ISUPTH.EQ.1) THEN NBPGAU = 20 ELSE IF (ISUPTH.EQ.2) THEN NBPGAU = 27 ELSE IF (ISUPTH.EQ.3) THEN NBPGAU = 1 ELSE RETURN ENDIF SEGINI,MINTE C COORDONNEES DES 20 NOEUDS IF (ISUPTH.EQ.1) THEN QSIGAU( 1) = -O1 QSIGAU( 2) = O0 QSIGAU( 3) = O1 QSIGAU( 4) = O1 QSIGAU( 5) = O1 QSIGAU( 6) = O0 QSIGAU( 7) = -O1 QSIGAU( 8) = -O1 QSIGAU( 9) = -O1 QSIGAU(10) = O1 QSIGAU(11) = O1 QSIGAU(12) = -O1 QSIGAU(13) = -O1 QSIGAU(14) = O0 QSIGAU(15) = O1 QSIGAU(16) = O1 QSIGAU(17) = O1 QSIGAU(18) = O0 QSIGAU(19) = -O1 QSIGAU(20) = -O1 ETAGAU( 1) = -O1 ETAGAU( 2) = -O1 ETAGAU( 3) = -O1 ETAGAU( 4) = O0 ETAGAU( 5) = O1 ETAGAU( 6) = O1 ETAGAU( 7) = O1 ETAGAU( 8) = O0 ETAGAU( 9) = -O1 ETAGAU(10) = -O1 ETAGAU(11) = O1 ETAGAU(12) = O1 ETAGAU(13) = -O1 ETAGAU(14) = -O1 ETAGAU(15) = -O1 ETAGAU(16) = O0 ETAGAU(17) = O1 ETAGAU(18) = O1 ETAGAU(19) = O1 ETAGAU(20) = O0 DZEGAU( 1) = -O1 DZEGAU( 2) = -O1 DZEGAU( 3) = -O1 DZEGAU( 4) = -O1 DZEGAU( 5) = -O1 DZEGAU( 6) = -O1 DZEGAU( 7) = -O1 DZEGAU( 8) = -O1 DZEGAU( 9) = O0 DZEGAU(10) = O0 DZEGAU(11) = O0 DZEGAU(12) = O0 DZEGAU(13) = O1 DZEGAU(14) = O1 DZEGAU(15) = O1 DZEGAU(16) = O1 DZEGAU(17) = O1 DZEGAU(18) = O1 DZEGAU(19) = O1 DZEGAU(20) = O1 C Poids : r_z = O8/20.D0 DO I = 1, NBPGAU POIGAU(I) = r_z ENDDO C COORDONNEES DES 27 POINTS DE GAUSS ELSE IF (ISUPTH.EQ.2) THEN QSIGAU( 1) = -X QSIGAU( 2) = O0 QSIGAU( 3) = X QSIGAU( 4) = X QSIGAU( 5) = X QSIGAU( 6) = O0 QSIGAU( 7) = -X QSIGAU( 8) = -X QSIGAU( 9) = O0 QSIGAU(10) = -X QSIGAU(11) = O0 QSIGAU(12) = X QSIGAU(13) = X QSIGAU(14) = X QSIGAU(15) = O0 QSIGAU(16) = -X QSIGAU(17) = -X QSIGAU(18) = O0 QSIGAU(19) = -X QSIGAU(20) = O0 QSIGAU(21) = X QSIGAU(22) = X QSIGAU(23) = X QSIGAU(24) = O0 QSIGAU(25) = -X QSIGAU(26) = -X QSIGAU(27) = O0 ETAGAU( 1) = -X ETAGAU( 2) = -X ETAGAU( 3) = -X ETAGAU( 4) = O0 ETAGAU( 5) = X ETAGAU( 6) = X ETAGAU( 7) = X ETAGAU( 8) = O0 ETAGAU( 9) = O0 ETAGAU(10) = -X ETAGAU(11) = -X ETAGAU(12) = -X ETAGAU(13) = O0 ETAGAU(14) = X ETAGAU(15) = X ETAGAU(16) = X ETAGAU(17) = O0 ETAGAU(18) = O0 ETAGAU(19) = -X ETAGAU(20) = -X ETAGAU(21) = -X ETAGAU(22) = O0 ETAGAU(23) = X ETAGAU(24) = X ETAGAU(25) = X ETAGAU(26) = O0 ETAGAU(27) = O0 DZEGAU( 1) = -X DZEGAU( 2) = -X DZEGAU( 3) = -X DZEGAU( 4) = -X DZEGAU( 5) = -X DZEGAU( 6) = -X DZEGAU( 7) = -X DZEGAU( 8) = -X DZEGAU( 9) = -X DZEGAU(10) = O0 DZEGAU(11) = O0 DZEGAU(12) = O0 DZEGAU(13) = O0 DZEGAU(14) = O0 DZEGAU(15) = O0 DZEGAU(16) = O0 DZEGAU(17) = O0 DZEGAU(18) = O0 DZEGAU(19) = X DZEGAU(20) = X DZEGAU(21) = X DZEGAU(22) = X DZEGAU(23) = X DZEGAU(24) = X DZEGAU(25) = X DZEGAU(26) = X DZEGAU(27) = X C POIDS C 5/9 POUR UNE COORDONNEE EGALE A + OU - X C 8/9 POUR UNE COORDONNEE NULLE W5 = 125.D0/729.D0 W8 = 200.D0/729.D0 W88 = 320.D0/729.D0 W888 = 512.D0/729.D0 POIGAU( 1) = W5 POIGAU( 2) = W8 POIGAU( 3) = W5 POIGAU( 4) = W8 POIGAU( 5) = W5 POIGAU( 6) = W8 POIGAU( 7) = W5 POIGAU( 8) = W8 POIGAU( 9) = W88 POIGAU(10) = W8 POIGAU(11) = W88 POIGAU(12) = W8 POIGAU(13) = W88 POIGAU(14) = W8 POIGAU(15) = W88 POIGAU(16) = W8 POIGAU(17) = W88 POIGAU(18) = W888 POIGAU(19) = W5 POIGAU(20) = W8 POIGAU(21) = W5 POIGAU(22) = W8 POIGAU(23) = W5 POIGAU(24) = W8 POIGAU(25) = W5 POIGAU(26) = W8 POIGAU(27) = W88 C COORDONNEES DU CENTRE DE GRAVITE ELSE IF (ISUPTH.EQ.3) THEN QSIGAU(1) = O0 ETAGAU(1) = O0 DZEGAU(1) = O0 POIGAU(1) = O8 ENDIF C FONCTIONS DE FORME ET LEURS DERIVEES AU(X) NBPGAU POINT(S) DO I = 1, N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) SHPTOT(1,20,I) = O25 *(O1-XI )*(O1-YI*YI)*(O1+ZI) C--- DERIVEES EN X DES FONCTIONS DE FORME SHPTOT(2, 1,I) = O125*(O1-YI)*(O1-ZI)*( O2*XI+YI+ZI+O1) SHPTOT(2, 2,I) = -O5 *XI*(O1-YI )*(O1-ZI) SHPTOT(2, 3,I) = -O125*(O1-YI)*(O1-ZI)*(-O2*XI+YI+ZI+O1) SHPTOT(2, 4,I) = O25 * (O1-YI*YI)*(O1-ZI) SHPTOT(2, 5,I) = -O125*(O1+YI)*(O1-ZI)*(-O2*XI-YI+ZI+O1) SHPTOT(2, 6,I) = -O5 *XI*(O1+YI )*(O1-ZI) SHPTOT(2, 7,I) = O125*(O1+YI)*(O1-ZI)*( O2*XI-YI+ZI+O1) SHPTOT(2, 8,I) = -O25 * (O1-YI*YI)*(O1-ZI) SHPTOT(2, 9,I) = -O25 *(O1-YI)*(O1-ZI*ZI) SHPTOT(2,10,I) = O25 *(O1-YI)*(O1-ZI*ZI) SHPTOT(2,11,I) = O25 *(O1+YI)*(O1-ZI*ZI) SHPTOT(2,12,I) = -O25 *(O1+YI)*(O1-ZI*ZI) SHPTOT(2,13,I) = O125*(O1-YI)*(O1+ZI)*( O2*XI+YI-ZI+O1) SHPTOT(2,14,I) = -O5 *XI*(O1-YI )*(O1+ZI) SHPTOT(2,15,I) = -O125*(O1-YI)*(O1+ZI)*(-O2*XI+YI-ZI+O1) SHPTOT(2,16,I) = O25 * (O1-YI*YI)*(O1+ZI) SHPTOT(2,17,I) = -O125*(O1+YI)*(O1+ZI)*(-O2*XI-YI-ZI+O1) SHPTOT(2,18,I) = -O5 *XI*(O1+YI )*(O1+ZI) SHPTOT(2,19,I) = O125*(O1+YI)*(O1+ZI)*( O2*XI-YI-ZI+O1) SHPTOT(2,20,I) = -O25 * (O1-YI*YI)*(O1+ZI) C--- DERIVEES EN Y DES FONCTIONS DE FORME SHPTOT(3, 1,I) = O125*(O1-XI)*(O1-ZI)*( XI+O2*YI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25 *(O1+ XI)*(O1-YI*YI) SHPTOT(4, 5,I) = O125*(O1+XI)*(O1+YI)*(-XI-YI+O2*ZI+O1) SHPTOT(4, 6,I) = -O25 *(O1-XI*XI)*(O1+ YI) SHPTOT(4, 7,I) = O125*(O1-XI)*(O1+YI)*( XI-YI+O2*ZI+O1) SHPTOT(4, 8,I) = -O25 *(O1- XI)*(O1-YI*YI) SHPTOT(4, 9,I) = -O5 *(O1-XI)*(O1-YI)*ZI SHPTOT(4,10,I) = -O5 *(O1+XI)*(O1-YI)*ZI SHPTOT(4,11,I) = -O5 *(O1+XI)*(O1+YI)*ZI SHPTOT(4,12,I) = -O5 *(O1-XI)*(O1+YI)*ZI SHPTOT(4,13,I) = -O125*(O1-XI)*(O1-YI)*( XI+YI-O2*ZI+O1) SHPTOT(4,14,I) = O25 *(O1-XI*XI)*(O1- YI) SHPTOT(4,15,I) = -O125*(O1+XI)*(O1-YI)*(-XI+YI-O2*ZI+O1) SHPTOT(4,16,I) = O25 *(O1+ XI)*(O1-YI*YI) SHPTOT(4,17,I) = -O125*(O1+XI)*(O1+YI)*(-XI-YI-O2*ZI+O1) SHPTOT(4,18,I) = O25 *(O1-XI*XI)*(O1+ YI) SHPTOT(4,19,I) = -O125*(O1-XI)*(O1+YI)*( XI-YI-O2*ZI+O1) SHPTOT(4,20,I) = O25 *(O1- XI)*(O1-YI*YI) ENDDO IPINTE = MINTE c RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales