cmaxot
C CMAXOT SOURCE PV 17/12/08 21:15:56 9660 & EPSFLU) * * *============================================================== * modele maxott *============================================================== * * entrees * * WRK12 * EMi(2,NWA(i+1)) i=0 a 8 * = EVOLUTION DU MODULE D'YOUNG DE LA BRANCHE i * SMi(NSTRS) i=1 a 8 * = VARIABLES INTERNES AU DEBUT DU PAS D'INTEGRATION * * IVALMA(NCXMAT) = INDEX CARACTERISTIQUES MECANIQUES DU MATERIAU * * * IB = NUMERO DE L'ELEMENT * IGAU = NUMERO DU POINT DE GAUSS * NCHAIN = NOMBRE DE BRANCHE DU MODELE DE MAXWELL * DT = INCREMENT DE TEMPS * NWA = DIMENSION DES EVOLUTIONS EMi * EPSFLU = DEFORMATION DE FLUAGE * * sorties * * SIGF(NSTRS)= CONTR. A LA FIN DU PAS D'INTEGRATION * DEFP(NSTRS)= INCREMENT DES DEFORM. PLASTIQUES A LA FIN DU PAS * D'INTEGRATION * EPINF(NSTRS) = DEFORMATION INELASTIQUE A LA FIN DU PAS D'INTEGRATION * *============================================================== * IMPLICIT INTEGER(I-N) IMPLICIT REAL*8(A-H,O-Z) -INC PPARAM -INC CCOPTIO -INC DECHE * * SEGMENT WR12 REAL*8 EM0(2,NWA(1)),EM1(2,NWA(2)),EM2(2,NWA(3)) REAL*8 EM3(2,NWA(4)),EM4(2,NWA(5)),EM5(2,NWA(6)) REAL*8 EM6(2,NWA(7)),EM7(2,NWA(8)),EM8(2,NWA(9)) REAL*8 SM0(NSTRS),SM1(NSTRS),SM2(NSTRS),SM3(NSTRS) REAL*8 SM4(NSTRS),SM5(NSTRS),SM6(NSTRS),SM7(NSTRS) REAL*8 SM8(NSTRS) ENDSEGMENT * * DIMENSION NWA(9) DIMENSION EPSFLU(8) DIMENSION EPSOTT(8) DIMENSION DEPFIS(8) DIMENSION DEPSF(8) DIMENSION SFLU(8) DIMENSION SIGM(8) REAL*8 ETILDE,COE INTEGER IND NCXMAT = XMAT(/1) NSTRS = SIG0(/1) NVARI = VAR0(/1) ICARA=XCARB(/1) ANU=XMAT(2) UNANU=1.D0-ANU TPS1=TEMP0 TPS2=TEMP0+DT SE1=0.D0 SE2=0.D0 ETILDE = 0.D0 IF (IFOUR.EQ.2.AND.MFR.EQ.1) THEN IND = 21 ELSE IF (IFOUR.EQ.-1.OR.IFOUR.EQ.-3 & .OR.IFOUR.EQ.0.OR.IFOUR.EQ.1) THEN IND = 16 ELSE IND = 13 ENDIF *====================================================================== * Formulation TRIDIMENSIONNELLE MASSIVE * ===================================== * Formulation DEFORMATIONS PLANES /AXISYMETRIQUE * ============================================== *---------------------------------------------------------------------- * IF ((IFOUR.EQ.2.AND.MFR.EQ.1).OR. & (IFOMOD.EQ.-1.AND.IFOUR.NE.-2).OR. & (IFOMOD.EQ.0.OR.IFOMOD.EQ.1)) THEN CONS=1.D0/((1.D0+ANU)*(1.D0-2.D0*ANU)) DO M=0,NCHAIN-1 * *---------------------------------------------------------------------- * module d'YOUNG apparent *---------------------------------------------------------------------- ETILDE = ETILDE + EFIC SE1=SE1+E1 SE2=SE2+E2 IF (E1.EQ.0.) THEN COE = 1. ELSE COE = E2 / E1 ENDIF * *---------------------------------------------------------------------- * deformations de fluage *---------------------------------------------------------------------- * DO II=1,NSTRS IF (M.EQ.0) THEN SFLU(II)=SM0(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.1) THEN SFLU(II)=SFLU(II)+SM1(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.2) THEN SFLU(II)=SFLU(II)+SM2(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.3) THEN SFLU(II)=SFLU(II)+SM3(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.4) THEN SFLU(II)=SFLU(II)+SM4(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.5) THEN SFLU(II)=SFLU(II)+SM5(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.6) THEN SFLU(II)=SFLU(II)+SM6(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.7) THEN SFLU(II)=SFLU(II)+SM7(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.8) THEN SFLU(II)=SFLU(II)+SM8(II)*(COE*FLUA-1.0D0) ENDIF END DO END DO * EPSFLU(1)=(SFLU(1) - ANU*SFLU(2) - ANU*SFLU(3)) / ETILDE EPSFLU(2)=(SFLU(2) - ANU*SFLU(3) - ANU*SFLU(1)) / ETILDE EPSFLU(3)=(SFLU(3) - ANU*SFLU(1) - ANU*SFLU(2)) / ETILDE DO II=4,NSTRS EPSFLU(II)=(SFLU(II)*(1.0D0+ANU))/ETILDE END DO * *---------------------------------------------------------------------- * stockage du module d'elasticite *---------------------------------------------------------------------- * VARF(IND) = ETILDE XMAT(1) = ETILDE * *---------------------------------------------------------------------- * deformation corrigee pour Ottosen *---------------------------------------------------------------------- * DO I=1,NSTRS EPSOTT(I) = DEPST(I) + EPSFLU(I) END DO * *---------------------------------------------------------------------- * appel a Ottosen *---------------------------------------------------------------------- * & XCARB,ICARA,NVARI,SIGF,VARF,DEPFIS,MFR,KERRE,IB,IGAU) * *---------------------------------------------------------------------- * deformation corrigee pour Maxwell *---------------------------------------------------------------------- * DO II=1,NSTRS DEPSF(II) = DEPST(II) - DEPFIS(II) END DO * *---------------------------------------------------------------------- * modele de Maxwell *---------------------------------------------------------------------- * DO M=0,NCHAIN-1 IF (E1.EQ.0.) THEN COE = 1. ELSE COE = E2 / E1 ENDIF IF (M.EQ.0) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SM0(II) END DO ELSE IF (M.EQ.1) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SIGM(II)+SM1(II) END DO ELSE IF (M.EQ.2) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SIGM(II)+SM2(II) END DO ELSE IF (M.EQ.3) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SIGM(II)+SM3(II) END DO ELSE IF (M.EQ.4) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SIGM(II)+SM4(II) END DO ELSE IF (M.EQ.5) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SIGM(II)+SM5(II) END DO ELSE IF (M.EQ.6) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SIGM(II)+SM6(II) END DO ELSE IF (M.EQ.7) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SIGM(II)+SM7(II) END DO ELSE IF (M.EQ.8) THEN 1 +CONS*EFIC*((UNANU)*DEPSF(1)+ANU*(DEPSF(2)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(2)+ANU*(DEPSF(1)+DEPSF(3))) 1 +CONS*EFIC*((UNANU)*DEPSF(3)+ANU*(DEPSF(1)+DEPSF(2))) DO II = 4,NSTRS 1 +CONS*EFIC*(1.D0-2.D0*ANU)*DEPSF(II) END DO DO II=1,NSTRS SIGM(II)=SIGM(II)+SM8(II) END DO ENDIF END DO DEFP(1)=DEPSF(1)-((SIGM(1)-ANU*(SIGM(2)+SIGM(3)))/SE2 1 -(SIG0(1)-ANU*(SIG0(2)+SIG0(3)))/SE1) DEFP(2)=DEPSF(2)-((SIGM(2)-ANU*(SIGM(1)+SIGM(3)))/SE2 1 -(SIG0(2)-ANU*(SIG0(1)+SIG0(3)))/SE1) DEFP(3)=DEPSF(3)-((SIGM(3)-ANU*(SIGM(2)+SIGM(1)))/SE2 1 -(SIG0(3)-ANU*(SIG0(2)+SIG0(1)))/SE1) DO II = 4,NSTRS DEFP(II)=DEPSF(II)-(1+ANU)*(SIGM(II)/SE2-SIG0(II)/SE1) END DO DO I=1,NSTRS EPINF(I)=EPIN0(I)+DEFP(I)+DEPFIS(I) END DO * *====================================================================== * Formulation CONTRAINTES PLANES * ============================== *---------------------------------------------------------------------- * ELSE IF (IFOMOD.EQ.-1.AND.IFOUR.EQ.-2) THEN CONS=1.D0/(1.D0-(ANU*ANU)) DO M=0,NCHAIN-1 * *---------------------------------------------------------------------- * module d'YOUNG apparent *---------------------------------------------------------------------- ETILDE = ETILDE + EFIC SE1=SE1+E1 SE2=SE2+E2 IF (E1.EQ.0.) THEN COE = 1. ELSE COE = E2 / E1 ENDIF * *---------------------------------------------------------------------- * deformations de fluage *---------------------------------------------------------------------- * DO II=1,NSTRS IF (M.EQ.0) THEN SFLU(II)=SM0(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.1) THEN SFLU(II)=SFLU(II)+SM1(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.2) THEN SFLU(II)=SFLU(II)+SM2(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.3) THEN SFLU(II)=SFLU(II)+SM3(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.4) THEN SFLU(II)=SFLU(II)+SM4(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.5) THEN SFLU(II)=SFLU(II)+SM5(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.6) THEN SFLU(II)=SFLU(II)+SM6(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.7) THEN SFLU(II)=SFLU(II)+SM7(II)*(COE*FLUA-1.0D0) ELSE IF (M.EQ.8) THEN SFLU(II)=SFLU(II)+SM8(II)*(COE*FLUA-1.0D0) ENDIF END DO END DO * EPSFLU(1)=(SFLU(1) - ANU*SFLU(2) - ANU*SFLU(3)) / ETILDE EPSFLU(2)=(SFLU(2) - ANU*SFLU(3) - ANU*SFLU(1)) / ETILDE EPSFLU(3)=(SFLU(3) - ANU*SFLU(1) - ANU*SFLU(2)) / ETILDE EPSFLU(4)=(1.0D0+ANU) * SFLU(4) / ETILDE * *---------------------------------------------------------------------- * stockage du module d'elasticite *---------------------------------------------------------------------- * VARF(IND) = ETILDE XMAT(1) = ETILDE * *---------------------------------------------------------------------- * deformation corrigee pour Ottosen *---------------------------------------------------------------------- * DO I=1,NSTRS EPSOTT(I) = DEPST(I) + EPSFLU(I) END DO * *---------------------------------------------------------------------- * appel a Ottosen *---------------------------------------------------------------------- * & XCARB,ICARA,NVARI,SIGF,VARF,DEPFIS,MFR,KERRE,IB,IGAU) * *---------------------------------------------------------------------- * deformation corrigee pour Maxwell *---------------------------------------------------------------------- * DO II=1,NSTRS DEPSF(II) = DEPST(II) - DEPFIS(II) END DO *---------------------------------------------------------------------- * modele de Maxwell *---------------------------------------------------------------------- DO M=0,NCHAIN-1 IF (E1.EQ.0.) THEN COE = 1. ELSE COE = E2 / E1 ENDIF IF (M.EQ.0) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM0(3)=0.D0 DO II=1,NSTRS SIGM(II)=SM0(II) END DO ELSE IF (M.EQ.1) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM1(3)=0.D0 DO II=1,NSTRS SIGM(II)=SIGM(II)+SM1(II) END DO ELSE IF (M.EQ.2) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM2(3)=0.D0 DO II=1,NSTRS SIGM(II)=SIGM(II)+SM2(II) END DO ELSE IF (M.EQ.3) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM3(3)=0.D0 DO II=1,NSTRS SIGM(II)=SIGM(II)+SM3(II) END DO ELSE IF (M.EQ.4) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM4(3)=0.D0 DO II=1,NSTRS SIGM(II)=SIGM(II)+SM4(II) END DO ELSE IF (M.EQ.5) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM5(3)=0.D0 DO II=1,NSTRS SIGM(II)=SIGM(II)+SM5(II) END DO ELSE IF (M.EQ.6) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM6(3)=0.D0 DO II=1,NSTRS SIGM(II)=SIGM(II)+SM6(II) END DO ELSE IF (M.EQ.7) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM7(3)=0.D0 DO II=1,NSTRS SIGM(II)=SIGM(II)+SM7(II) END DO ELSE IF (M.EQ.8) THEN 1 +CONS*EFIC*(DEPSF(1)+ANU*DEPSF(2)) 1 +CONS*EFIC*(DEPSF(2)+ANU*DEPSF(1)) SM8(3)=0.D0 DO II=1,NSTRS SIGM(II)=SIGM(II)+SM8(II) END DO END IF END DO DEFP(1)=DEPSF(1)-((SIGM(1)-ANU*(SIGM(2)+SIGM(3)))/SE2 1 -(SIG0(1)-ANU*(SIG0(2)+SIG0(3)))/SE1) DEFP(2)=DEPSF(2)-((SIGM(2)-ANU*(SIGM(1)+SIGM(3)))/SE2 1 -(SIG0(2)-ANU*(SIG0(1)+SIG0(3)))/SE1) DEFP(3)=DEPSF(3)-((SIGM(3)-ANU*(SIGM(2)+SIGM(1)))/SE2 1 -(SIG0(3)-ANU*(SIG0(2)+SIG0(1)))/SE1) DEFP(4)=DEPSF(4)-(1+ANU)*(SIGM(4)/SE2-SIG0(4)/SE1) DO I=1,NSTRS EPINF(I)=EPIN0(I)+DEFP(I)+DEPFIS(I) END DO ENDIF *====================================================================== * QUELQUES IMPRESSIONS *====================================================================== * IF (IIMPI.EQ.103) THEN WRITE(*,66770) IB,IGAU WRITE(*,*) dt,tps2 WRITE(*,66775) XMAT(1) WRITE(*,66775) (XMAT(I),I=1,NCXMAT) WRITE(*,66776) (XCARB(I),I=1,ICARA) WRITE(*,66773) (VAR0(I),I=1,NVARI) WRITE(*,66774) (DEPST(I),I=1,NSTRS) WRITE(*,66777) (EPSFLU(I),I=1,NSTRS) WRITE(*,66778) (EPSOTT(I),I=1,NSTRS) WRITE(*,66779) (DEPFIS(I),I=1,NSTRS) WRITE(*,66771) (DEPSF(I),I=1,NSTRS) WRITE(*,66794) (DEFP(I),I=1,NSTRS) WRITE(*,66784) (SIGM(I),I=1,NSTRS) WRITE(*,66772) (SIG0(I),I=1,NSTRS) WRITE(*,66783) (SIGF(I),I=1,NSTRS) WRITE(*,66795) (EPIN0(I),I=1,NSTRS) WRITE(*,66782) (EPINF(I),I=1,NSTRS) ENDIF 66770 FORMAT(////////2X,'ELEMENT ',I6,2X,'POINT ',I3//) 66771 FORMAT(2X,' DEPSF '/(6(1X,1PE12.5))) 66772 FORMAT(2X,' SIG0 '/(6(1X,1PE12.5))) 66773 FORMAT(2X,' VAR0 '/(6(1X,1PE12.5))) 66774 FORMAT(2X,' DEPST '/(6(1X,1PE12.5))) 66775 FORMAT(2X,' XMAT '/(6(1X,1PE12.5))) 66776 FORMAT(2X,' XCARB '/(6(1X,1PE12.5))) 66777 FORMAT(2X,' EPSFLU '/(6(1X,1PE12.5))) 66778 FORMAT(2X,' EPSOTT '/(6(1X,1PE12.5))) 66779 FORMAT(2X,' DEPFIS '/(6(1X,1PE12.5))) 66782 FORMAT(2X,' EPINF '/(6(1X,1PE12.5))) 66783 FORMAT(2X,' SIGF '/(6(1X,1PE12.5))) 66784 FORMAT(2X,' SIGM '/(6(1X,1PE12.5))) 66794 FORMAT(2X,' DEFP '/(6(1X,1PE12.5))) 66795 FORMAT(2X,' EPIN0 '/(6(1X,1PE12.5))) *---------------------------------------------------------------------- RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales