tte10
C TTE10 SOURCE OF166741 23/12/04 21:15:22 11800 C======================================================================= C= T T E 1 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 TE10. = 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 ( XZER=0.D0 , DEUX=2.D0 , UN=1.D0 , QUATRE=4.D0 ) PARAMETER ( UNDEMI=.5D0 ) PARAMETER ( UNQUA=.25D0 ) PARAMETER ( UNSIX=1.D0/6.D0 ) PARAMETER ( OHUIT=-.80D0 ) PARAMETER ( OQUCI= .45D0 ) PARAMETER ( UN30=1.D0/30.D0 ) IF (ISUPTH.EQ.1) THEN NBPGAU = 10 ELSE IF (ISUPTH.EQ.2) THEN NBPGAU = 5 ELSE IF (ISUPTH.EQ.3) THEN NBPGAU = 1 ELSE RETURN ENDIF SEGINI,MINTE C COORDONNEES ET POIDS DES 10 NOEUDS IF (ISUPTH.EQ.1) THEN QSIGAU( 2) = UNDEMI QSIGAU( 3) = UN QSIGAU( 4) = UNDEMI QSIGAU( 8) = UNDEMI ETAGAU( 4) = UNDEMI ETAGAU( 5) = UN ETAGAU( 6) = UNDEMI ETAGAU( 9) = UNDEMI DZEGAU( 7) = UNDEMI DZEGAU( 8) = UNDEMI DZEGAU( 9) = UNDEMI DZEGAU(10) = UN DO I = 1, NBPGAU POIGAU(I) = UN30 ENDDO C COORDONNEES ET POIDS DES 5 POINTS DE GAUSS ELSE IF (ISUPTH.EQ.2) THEN QSIGAU(1) = UNQUA QSIGAU(2) = UNSIX QSIGAU(3) = UNSIX QSIGAU(4) = UNSIX QSIGAU(5) = UNDEMI ETAGAU(1) = UNQUA ETAGAU(2) = UNSIX ETAGAU(3) = UNSIX ETAGAU(4) = UNDEMI ETAGAU(5) = UNSIX DZEGAU(1) = UNQUA DZEGAU(2) = UNSIX DZEGAU(3) = UNDEMI DZEGAU(4) = UNSIX DZEGAU(5) = UNSIX POIGAU(1) = OHUIT*UNSIX POIGAU(2) = OQUCI*UNSIX POIGAU(3) = OQUCI*UNSIX POIGAU(4) = OQUCI*UNSIX POIGAU(5) = OQUCI*UNSIX C COORDONNEES ET POIDS DU CENTRE DE GRAVITE ELSE IF (ISUPTH.EQ.3) THEN QSIGAU(1) = XZer ETAGAU(1) = XZer DZEGAU(1) = XZer POIGAU(1) = UN/(DEUX+UN) ENDIF C FONCTIONS DE FORME ET LEURS DERIVEES AU(X) NBPGAU POINT(S) DO I = 1, NBPGAU XI = QSIGAU(I) YI = ETAGAU(I) ZI = DZEGAU(I) AUX = UN-XI-YI-ZI SHPTOT(1, 1,I) = AUX*(DEUX*AUX-UN) SHPTOT(1, 2,I) = QUATRE*XI*AUX SHPTOT(1, 3,I) = XI*(DEUX*XI-UN) SHPTOT(1, 4,I) = QUATRE*XI*YI SHPTOT(1, 5,I) = YI*(DEUX*YI-UN) SHPTOT(1, 6,I) = QUATRE*YI*AUX SHPTOT(1, 7,I) = QUATRE*ZI*AUX SHPTOT(1, 8,I) = QUATRE*XI*ZI SHPTOT(1, 9,I) = QUATRE*YI*ZI SHPTOT(1,10,I) = ZI*(DEUX*ZI-UN) SHPTOT(2, 1,I) = UN-QUATRE*AUX SHPTOT(2, 2,I) = QUATRE*(AUX-XI) SHPTOT(2, 3,I) = QUATRE*XI-UN SHPTOT(2, 4,I) = QUATRE*YI SHPTOT(2, 5,I) = XZER SHPTOT(2, 6,I) = -QUATRE*YI SHPTOT(2, 7,I) = -QUATRE*ZI SHPTOT(2, 8,I) = QUATRE*ZI SHPTOT(2, 9,I) = XZER SHPTOT(2,10,I) = XZER SHPTOT(3, 1,I) = UN-QUATRE*AUX SHPTOT(3, 2,I) = -QUATRE*XI SHPTOT(3, 3,I) = XZER SHPTOT(3, 4,I) = QUATRE*XI SHPTOT(3, 5,I) = QUATRE*YI-UN SHPTOT(3, 6,I) = QUATRE*(AUX-YI) SHPTOT(3, 7,I) = -QUATRE*ZI SHPTOT(3, 8,I) = XZER SHPTOT(3, 9,I) = QUATRE*ZI SHPTOT(3,10,I) = XZER SHPTOT(4, 1,I) = UN-QUATRE*AUX SHPTOT(4, 2,I) = -QUATRE*XI SHPTOT(4, 3,I) = XZER SHPTOT(4, 4,I) = XZER SHPTOT(4, 5,I) = XZER SHPTOT(4, 6,I) = -QUATRE*YI SHPTOT(4, 7,I) = QUATRE*(AUX-ZI) SHPTOT(4, 8,I) = QUATRE*XI SHPTOT(4, 9,I) = QUATRE*YI SHPTOT(4,10,I) = QUATRE*ZI-UN ENDDO IPINTE = MINTE c RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales