idvar9
C IDVAR9 SOURCE PASCAL 18/12/19 21:15:04 10046 C======================================================================= * RECHERCHE DES NOMS DE COMPOSANTES DES VARIABLES INTERNES * -------------------------------------------------------- * * ENTREES : * --------- * MATEPL NUMERO DU MATERIAU PLASTIQUE * MFR NUMERO DE FORMULATION * IFOUR VALEUR DE IFOU DANS CCOPTIO * NPINT NOMBRE DE POINTS D'INTEGRATION DANS L'EPAISSEUR * POUR LES ELEMENTS DE COQUE INTEGRES * * SORTIES : * --------- * IPCOMP POINTEUR SUR LA LISTE DES NOMS DE COMPOSANTES * OBLIGATOIRES ET FACULTATIVES * NBROBL NOMBRE DE COMPOSANTES OBLIGATOIRES * NBRFAC NOMBRE DE COMPOSANTES FACTULTATIVES C======================================================================= IMPLICIT INTEGER(I-N) IMPLICIT REAL*8 (A-H,O-Z) SEGMENT NOMID CHARACTER*8 LESOBL(NBROBL),LESFAC(NBRFAC) ENDSEGMENT NBROBL=0 NBRFAC=0 NOMID=0 C= Modele de NOUAILHAS_B C= ======================= IF (MATEPL.EQ.77) THEN * ELEMENT MASSIF ******************** IF (MFR.EQ.1.OR.MFR.EQ.31.OR.MFR.EQ.33) THEN * * CAS CONTRAINTES PLANES OU DEFORMATIONS PLANES * OU DEFORMATIONS PLANES GENERALISEES * IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.-3) THEN NBROBL=13 SEGINI,NOMID LESOBL( 1)='A1XX' LESOBL( 2)='A1YY' LESOBL( 3)='A1ZZ' LESOBL( 4)='A1XY' LESOBL( 5)='A2XX' LESOBL( 6)='A2YY' LESOBL( 7)='A2ZZ' LESOBL( 8)='A2XY' LESOBL( 9)='VLXX' LESOBL(10)='VLYY' LESOBL(11)='VLZZ' LESOBL(12)='VLXY' LESOBL(13)='EPSE' * * CAS AXISYMETRIQUE * ELSE IF (IFOUR.EQ.0) THEN NBROBL=13 SEGINI,NOMID LESOBL( 1)='A1RR' LESOBL( 2)='A1ZZ' LESOBL( 3)='A1TT' LESOBL( 4)='A1RZ' LESOBL( 5)='A2RR' LESOBL( 6)='A2ZZ' LESOBL( 7)='A2TT' LESOBL( 8)='A2RZ' LESOBL( 9)='VLRR' LESOBL(10)='VLZZ' LESOBL(11)='VLTT' LESOBL(12)='VLRZ' LESOBL(13)='EPSE' * * CAS SERIE DE FOURIER * ELSE IF (IFOUR.EQ.1) THEN NBROBL=19 SEGINI,NOMID LESOBL( 1)='A1RR' LESOBL( 2)='A1ZZ' LESOBL( 3)='A1TT' LESOBL( 4)='A1RZ' LESOBL( 5)='A1RT' LESOBL( 6)='A1ZT' LESOBL( 7)='A2RR' LESOBL( 8)='A2ZZ' LESOBL( 9)='A2TT' LESOBL(10)='A2RZ' LESOBL(11)='A2RT' LESOBL(12)='A2ZT' LESOBL(13)='VLRR' LESOBL(14)='VLZZ' LESOBL(15)='VLTT' LESOBL(16)='VLRZ' LESOBL(17)='VLRT' LESOBL(18)='VLZT' LESOBL(19)='EPSE' * * CAS TRIDIMENSIONNEL * ELSE IF (IFOUR.EQ.2) THEN NBROBL=19 SEGINI,NOMID LESOBL( 1)='A1XX' LESOBL( 2)='A1YY' LESOBL( 3)='A1ZZ' LESOBL( 4)='A1XY' LESOBL( 5)='A1YZ' LESOBL( 6)='A1ZX' LESOBL( 7)='A2XX' LESOBL( 8)='A2YY' LESOBL( 9)='A2ZZ' LESOBL(10)='A2XY' LESOBL(11)='A2YZ' LESOBL(12)='A2ZX' LESOBL(13)='VLXX' LESOBL(14)='VLYY' LESOBL(15)='VLZZ' LESOBL(16)='VLXY' LESOBL(17)='VLYZ' LESOBL(18)='VLZX' LESOBL(19)='EPSE' NBROBL=13 * * CAS UNIDIMENSIONNELS (1D) PLAN * ELSE IF (IFOUR.GE.3.AND.IFOUR.LE.11) THEN NBROBL=10 SEGINI,NOMID LESOBL( 1)='A1XX' LESOBL( 2)='A1YY' LESOBL( 3)='A1ZZ' LESOBL( 4)='A2XX' LESOBL( 5)='A2YY' LESOBL( 6)='A2ZZ' LESOBL( 7)='VLXX' LESOBL( 8)='VLYY' LESOBL( 9)='VLZZ' LESOBL(10)='EPSE' * * CAS UNIDIMENSIONNELS (1D) AXIS et SPHE * ELSE IF (IFOUR.GE.12.AND.IFOUR.LE.15) THEN NBROBL=10 SEGINI,NOMID LESOBL( 1)='A1RR' LESOBL( 2)='A1ZZ' LESOBL( 3)='A1TT' LESOBL( 4)='A2RR' LESOBL( 5)='A2ZZ' LESOBL( 6)='A2TT' LESOBL( 7)='VLRR' LESOBL( 8)='VLZZ' LESOBL( 9)='VLTT' LESOBL(10)='EPSE' ENDIF * COQUE *********** ELSE IF (MFR.EQ.3) THEN * IF (NPINT.EQ.0) THEN * * CAS TRIDIMENSIONNEL FOURIER * IF (IFOUR.EQ.2.OR.IFOUR.EQ.1) THEN NBROBL=25 SEGINI,NOMID LESOBL( 1)='A1N1' LESOBL( 2)='A1N2' LESOBL( 3)='A1N3' LESOBL( 4)='A1N4' LESOBL( 5)='A1M1' LESOBL( 6)='A1M2' LESOBL( 7)='A1M3' LESOBL( 8)='A1M4' LESOBL( 9)='A2N1' LESOBL(10)='A2N2' LESOBL(11)='A2N3' LESOBL(12)='A2N4' LESOBL(13)='A2M1' LESOBL(14)='A2M2' LESOBL(15)='A2M3' LESOBL(16)='A2M4' LESOBL(17)='EPN1' LESOBL(18)='EPN2' LESOBL(19)='EPN3' LESOBL(20)='EPN4' LESOBL(21)='EPM1' LESOBL(22)='EPM2' LESOBL(23)='EPM3' LESOBL(24)='EPM4' LESOBL(25)='EPSE' * * CAS AXISYMETRIQUE * ELSE IF (IFOUR.EQ.0) THEN NBROBL=19 SEGINI,NOMID LESOBL( 1)='A1N1' LESOBL( 2)='A1N2' LESOBL( 3)='A1N3' LESOBL( 4)='A1M1' LESOBL( 5)='A1M2' LESOBL( 6)='A1M3' LESOBL( 7)='A2N1' LESOBL( 8)='A2N2' LESOBL( 9)='A2N3' LESOBL(10)='A2M1' LESOBL(11)='A2M2' LESOBL(12)='A2M3' LESOBL(13)='EPN1' LESOBL(14)='EPN2' LESOBL(15)='EPN3' LESOBL(16)='EPM1' LESOBL(17)='EPM2' LESOBL(18)='EPM3' LESOBL(19)='EPSE' * * CAS CONTRAINTES OU DEFORMATIONS PLANES * OU DEFORMATIONS PLANES GENERALISEES * ELSE IF (IFOUR.EQ.-1.OR.IFOUR.EQ.-2.OR.IFOUR.EQ.-3) THEN NBROBL=19 SEGINI,NOMID LESOBL( 1)='A1N1' LESOBL( 2)='A1N2' LESOBL( 3)='A1N3' LESOBL( 4)='A1M1' LESOBL( 5)='A1M2' LESOBL( 6)='A1M3' LESOBL( 7)='A2N1' LESOBL( 8)='A2N2' LESOBL( 9)='A2N3' LESOBL(10)='A2M1' LESOBL(11)='A2M2' LESOBL(12)='A2M3' LESOBL(13)='EPN1' LESOBL(14)='EPN2' LESOBL(15)='EPN3' LESOBL(16)='EPM1' LESOBL(17)='EPM2' LESOBL(18)='EPM3' LESOBL(19)='EPSE' ENDIF ELSE IF (IFOUR.EQ.2) THEN NBROBL=13 SEGINI,NOMID LESOBL( 1)='A1SS' LESOBL( 2)='A1TT' LESOBL( 3)='A1NN' LESOBL( 4)='A1ST' LESOBL( 5)='A2SS' LESOBL( 6)='A2TT' LESOBL( 7)='A2NN' LESOBL( 8)='A2ST' LESOBL( 9)='VLSS' LESOBL(10)='VLTT' LESOBL(11)='VLNN' LESOBL(12)='VLST' LESOBL(13)='EPSE' ENDIF ENDIF * * COQUE EPAISSE ******************** ELSE IF (MFR.EQ.5) THEN * * CAS TRIDIMENSIONNEL * IF (IFOUR.EQ.2) THEN NBROBL=19 SEGINI,NOMID LESOBL( 1)='A1SS' LESOBL( 2)='A1TT' LESOBL( 3)='A1NN' LESOBL( 4)='A1ST' LESOBL( 5)='A1SN' LESOBL( 6)='A1TN' LESOBL( 7)='A2SS' LESOBL( 8)='A2TT' LESOBL( 9)='A2NN' LESOBL(10)='A2ST' LESOBL(11)='A2SN' LESOBL(12)='A2TN' LESOBL(13)='VLSS' LESOBL(14)='VLTT' LESOBL(15)='VLNN' LESOBL(16)='VLST' LESOBL(17)='VLSN' LESOBL(18)='VLTN' LESOBL(19)='EPSE' ENDIF * POUTRE ET TUYAU ********************* ELSE IF (MFR.EQ.7.OR.MFR.EQ.13) THEN * * CAS TRIDIMENSIONNEL * IF (IFOUR.EQ.2) THEN NBROBL=19 SEGINI NOMID LESOBL( 1)='A1FX' LESOBL( 2)='A1FY' LESOBL( 3)='A1FZ' LESOBL( 4)='A1MX' LESOBL( 5)='A1MY' LESOBL( 6)='A1MZ' LESOBL( 7)='A2FX' LESOBL( 8)='A2FY' LESOBL( 9)='A2FZ' LESOBL(10)='A2MX' LESOBL(11)='A2MY' LESOBL(12)='A2MZ' LESOBL(13)='EPFX' LESOBL(14)='EPFY' LESOBL(15)='EPFZ' LESOBL(16)='EPMX' LESOBL(17)='EPMY' LESOBL(18)='EPMZ' LESOBL(19)='EPSE' ENDIF * COQUE CISAILLEMENT TRANSVERSE *********************************** ELSE IF (MFR.EQ.9) THEN IF (NPINT.EQ.0) THEN * * CAS TRIDIMENSIONNEL * IF (IFOUR.EQ.2) THEN NBROBL=25 SEGINI NOMID LESOBL( 1)='A1N1' LESOBL( 2)='A1N2' LESOBL( 3)='A1N3' LESOBL( 4)='A1M1' LESOBL( 5)='A1M2' LESOBL( 6)='A1M3' LESOBL( 7)='A1V1' LESOBL( 8)='A1V2' LESOBL( 9)='A2N1' LESOBL(10)='A2N2' LESOBL(11)='A2N3' LESOBL(12)='A2M1' LESOBL(13)='A2M2' LESOBL(14)='A2M3' LESOBL(15)='A2V1' LESOBL(16)='A2V2' LESOBL(17)='EPN1' LESOBL(18)='EPN2' LESOBL(19)='EPN3' LESOBL(20)='EPM1' LESOBL(21)='EPM2' LESOBL(22)='EPM3' LESOBL(23)='EPV1' LESOBL(24)='EPV2' LESOBL(25)='EPSE' ENDIF ENDIF * FORMULATION MEMBRANE ************************** ELSE IF (MFR.EQ.25) THEN NBROBL=10 SEGINI,NOMID LESOBL( 1)='A1SS' LESOBL( 2)='A1TT' LESOBL( 3)='A1ST' LESOBL( 4)='A2SS' LESOBL( 5)='A2TT' LESOBL( 6)='A2ST' LESOBL( 7)='VLSS' LESOBL( 8)='VLTT' LESOBL( 9)='VLST' LESOBL(10)='EPSE' * FORMULATION UNIAXIALE *************************** ELSE IF (MFR.EQ.27) THEN NBROBL=4 SEGINI,NOMID LESOBL(1)='A1FX' LESOBL(2)='A2FX' LESOBL(3)='EPFX' LESOBL(4)='EPSE' ENDIF ENDIF IPCOMP=NOMID SEGDES,NOMID RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales