示例#1
0
class MBNC_HEXA20(Element):
    """Mechanics - 3D - Incompressible - UPGB model - HEXA20"""
    meshType = MT.HEXA20
    nodes = (
            SetOfNodes('EN1', (1,2,3,4,5,6,7,8,)),
            SetOfNodes('EN2', (9,10,11,12,13,14,15,16,17,18,19,20,)),
        )
    elrefe =(
            ElrefeLoc(MT.H20, gauss = ('RIGI=FPG8','MASS=FPG27','NOEU=NOEU','FPG1=FPG1',), mater=('RIGI','MASS','NOEU','FPG1',),),
            ElrefeLoc(MT.HE8, gauss = ('RIGI=FPG8',),),
            ElrefeLoc(MT.H20, gauss = ('RIGI=FPG8',),),
            ElrefeLoc(MT.QU8, gauss = ('RIGI=FPG9','MASS=FPG9','NOEU=NOEU',),),
        )
    calculs = (

        OP.CALC_G(te=27,
            para_in=((SP.PACCELE, NDEPLAR), (OP.CALC_G.PCOMPOR, CCOMPOR),
                     (SP.PCONTGR, ECONTPG), (OP.CALC_G.PCONTRR, ECONTPG),
                     (SP.PDEFOPL, EDEFONO), (SP.PDEPINR, NDEPLAR),
                     (SP.PDEPLAR, NDEPLAR), (SP.PEPSINR, CEPSINR),
                     (SP.PFRVOLU, NFORCER), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (SP.PPESANR, LC.CPESANR),
                     (SP.PROTATR, LC.CROTATR), (SP.PSIGINR, ECONTNO),
                     (SP.PTHETAR, NDEPLAR), (OP.CALC_G.PVARCPR, LC.ZVARCPG),
                     (SP.PVARCRR, LC.ZVARCPG), (OP.CALC_G.PVARIPR, LC.ZVARINO),
                     (SP.PVITESS, NDEPLAR), ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),

        OP.CALC_GTP(te=27,
            para_in=((SP.PACCELE, NDEPLAR), (OP.CALC_GTP.PCOMPOR, CCOMPOR),
                     (SP.PCONTGR, ECONTPG), (OP.CALC_GTP.PCONTRR, ECONTPG),
                     (SP.PDEFOPL, EDEFONO), (SP.PDEPINR, NDEPLAR),
                     (SP.PDEPLAR, NDEPLAR), (SP.PEPSINR, CEPSINR),
                     (SP.PFRVOLU, NFORCER), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (SP.PPESANR, LC.CPESANR),
                     (SP.PROTATR, LC.CROTATR), (SP.PSIGINR, ECONTNO),
                     (SP.PTHETAR, NDEPLAR), (OP.CALC_GTP.PVARCPR, LC.ZVARCPG),
                     (SP.PVARCRR, LC.ZVARCPG), (OP.CALC_GTP.PVARIPR, LC.ZVARINO),
                     (SP.PVITESS, NDEPLAR), ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),

        OP.CALC_GTP_F(te=27,
            para_in=((SP.PACCELE, NDEPLAR), (OP.CALC_GTP_F.PCOMPOR, CCOMPOR),
                     (SP.PCONTGR, ECONTPG), (OP.CALC_GTP_F.PCONTRR, ECONTPG),
                     (SP.PDEFOPL, EDEFONO), (SP.PDEPINR, NDEPLAR),
                     (SP.PDEPLAR, NDEPLAR), (SP.PEPSINF, CEPSINF),
                     (SP.PFFVOLU, CFORCEF), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (SP.PPESANR, LC.CPESANR),
                     (SP.PROTATR, LC.CROTATR), (SP.PSIGINR, ECONTNO),
                     (SP.PTEMPSR, CTEMPSR), (SP.PTHETAR, NDEPLAR),
                     (OP.CALC_GTP_F.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     (OP.CALC_GTP_F.PVARIPR, LC.ZVARINO), (SP.PVITESS, NDEPLAR),
                     ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),

        OP.CALC_G_F(te=27,
            para_in=((SP.PACCELE, NDEPLAR), (OP.CALC_G_F.PCOMPOR, CCOMPOR),
                     (SP.PCONTGR, ECONTPG), (OP.CALC_G_F.PCONTRR, ECONTPG),
                     (SP.PDEFOPL, EDEFONO), (SP.PDEPINR, NDEPLAR),
                     (SP.PDEPLAR, NDEPLAR), (SP.PEPSINF, CEPSINF),
                     (SP.PFFVOLU, CFORCEF), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (SP.PPESANR, LC.CPESANR),
                     (SP.PROTATR, LC.CROTATR), (SP.PSIGINR, ECONTNO),
                     (SP.PTEMPSR, CTEMPSR), (SP.PTHETAR, NDEPLAR),
                     (OP.CALC_G_F.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     (OP.CALC_G_F.PVARIPR, LC.ZVARINO), (SP.PVITESS, NDEPLAR),
                     ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),

        OP.CALC_G_GLOB(te=27,
            para_in=((SP.PACCELE, NDEPLAR), (OP.CALC_G_GLOB.PCOMPOR, CCOMPOR),
                     (SP.PCONTGR, ECONTPG), (OP.CALC_G_GLOB.PCONTRR, ECONTPG),
                     (SP.PDEFOPL, EDEFONO), (SP.PDEPINR, NDEPLAR),
                     (SP.PDEPLAR, NDEPLAR), (SP.PEPSINR, CEPSINR),
                     (SP.PFRVOLU, NFORCER), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (SP.PPESANR, LC.CPESANR),
                     (SP.PROTATR, LC.CROTATR), (SP.PSIGINR, ECONTNO),
                     (SP.PTHETAR, NDEPLAR), (OP.CALC_G_GLOB.PVARCPR, LC.ZVARCPG),
                     (SP.PVARCRR, LC.ZVARCPG), (OP.CALC_G_GLOB.PVARIPR, LC.ZVARINO),
                     (SP.PVITESS, NDEPLAR), ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),

        OP.CALC_G_GLOB_F(te=27,
            para_in=((SP.PACCELE, NDEPLAR), (OP.CALC_G_GLOB_F.PCOMPOR, CCOMPOR),
                     (SP.PCONTGR, ECONTPG), (OP.CALC_G_GLOB_F.PCONTRR, ECONTPG),
                     (SP.PDEFOPL, EDEFONO), (SP.PDEPINR, NDEPLAR),
                     (SP.PDEPLAR, NDEPLAR), (SP.PEPSINF, CEPSINF),
                     (SP.PFFVOLU, CFORCEF), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (SP.PPESANR, LC.CPESANR),
                     (SP.PROTATR, LC.CROTATR), (SP.PSIGINR, ECONTNO),
                     (SP.PTEMPSR, CTEMPSR), (SP.PTHETAR, NDEPLAR),
                     (OP.CALC_G_GLOB_F.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     (OP.CALC_G_GLOB_F.PVARIPR, LC.ZVARINO), (SP.PVITESS, NDEPLAR),
                     ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),

        OP.CALC_K_G(te=295,
            para_in=((OP.CALC_K_G.PBASLOR, LC.N9NEUT_R), (OP.CALC_K_G.PCOMPOR, CCOMPOR),
                     (SP.PCOURB, LC.G27NEUTR), (SP.PDEPINR, NDEPLAR),
                     (SP.PDEPLAR, NDEPLAR), (SP.PEPSINR, CEPSINR),
                     (SP.PFRVOLU, NFORCER), (SP.PGEOMER, NGEOMER),
                     (OP.CALC_K_G.PLSN, LC.N1NEUT_R), (OP.CALC_K_G.PLST, LC.N1NEUT_R),
                     (SP.PMATERC, LC.CMATERC), (SP.PPESANR, LC.CPESANR),
                     (SP.PPULPRO, LC.CFREQR), (SP.PROTATR, LC.CROTATR),
                     (SP.PSIGINR, ECONTNO), (SP.PTHETAR, NDEPLAR),
                     (OP.CALC_K_G.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     ),
            para_out=((SP.PGTHETA, EKTHETA), ),
        ),

        OP.CALC_K_G_F(te=295,
            para_in=((OP.CALC_K_G_F.PBASLOR, LC.N9NEUT_R), (OP.CALC_K_G_F.PCOMPOR, CCOMPOR),
                     (SP.PCOURB, LC.G27NEUTR), (SP.PDEPINR, NDEPLAR),
                     (SP.PDEPLAR, NDEPLAR), (SP.PEPSINF, CEPSINF),
                     (SP.PFFVOLU, CFORCEF), (SP.PGEOMER, NGEOMER),
                     (OP.CALC_K_G_F.PLSN, LC.N1NEUT_R), (OP.CALC_K_G_F.PLST, LC.N1NEUT_R),
                     (SP.PMATERC, LC.CMATERC), (SP.PPESANR, LC.CPESANR),
                     (SP.PPULPRO, LC.CFREQR), (SP.PROTATR, LC.CROTATR),
                     (SP.PSIGINR, ECONTNO), (SP.PTEMPSR, CTEMPSR),
                     (SP.PTHETAR, NDEPLAR), (OP.CALC_K_G_F.PVARCPR, LC.ZVARCPG),
                     (SP.PVARCRR, LC.ZVARCPG), ),
            para_out=((SP.PGTHETA, EKTHETA), ),
        ),

        OP.CHAR_LIMITE(te=483,
            para_in=((SP.PDEPLAR, NDEPLAR), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (SP.PTEMPSR, CTEMPSR),
                     (OP.CHAR_LIMITE.PVARCPR, LC.ZVARCPG), ),
            para_out=((SP.PECHLI, LC.ECHALIM), ),
        ),

        OP.CHAR_MECA_FF3D3D(te=17,
            para_in=((SP.PFF3D3D, CFORCEF), (SP.PGEOMER, NGEOMER),
                     (SP.PTEMPSR, CTEMPSR), ),
            para_out=((SP.PVECTUR, VVECTUR), ),
        ),

        OP.CHAR_MECA_FR3D3D(te=16,
            para_in=((SP.PFR3D3D, NFORCER), (SP.PGEOMER, NGEOMER),
                     ),
            para_out=((SP.PVECTUR, VVECTUR), ),
        ),

        OP.CHAR_MECA_PESA_R(te=15,
            para_in=((SP.PGEOMER, NGEOMER), (SP.PMATERC, LC.CMATERC),
                     (SP.PPESANR, LC.CPESANR), (OP.CHAR_MECA_PESA_R.PVARCPR, LC.ZVARCPG),
                     ),
            para_out=((SP.PVECTUR, VVECTUR), ),
        ),

        OP.CHAR_MECA_TEMP_R(te=13,
            para_in=((SP.PCAMASS, CCAMASS), (OP.CHAR_MECA_TEMP_R.PCOMPOR, CCOMPOR),
                     (SP.PGEOMER, NGEOMER), (SP.PMATERC, LC.CMATERC),
                     (SP.PTEMPSR, CTEMPSR), (OP.CHAR_MECA_TEMP_R.PVARCPR, LC.ZVARCPG),
                     (SP.PVARCRR, LC.ZVARCPG), ),
            para_out=((SP.PVECTUR, VVECTUR), ),
        ),

        OP.COOR_ELGA(te=488,
            para_in=((SP.PGEOMER, NGEOMER), ),
            para_out=((OP.COOR_ELGA.PCOORPG, EGGEOP_R), ),
        ),

        OP.EPEQ_ELGA(te=335,
            para_in=((OP.EPEQ_ELGA.PDEFORR, EDEFOPG), ),
            para_out=((OP.EPEQ_ELGA.PDEFOEQ, EDFEQPG), ),
        ),

        OP.EPEQ_ELNO(te=335,
            para_in=((OP.EPEQ_ELNO.PDEFORR, EDEFONO), ),
            para_out=((OP.EPEQ_ELNO.PDEFOEQ, LC.EDFEQNO), ),
        ),
        
        OP.EPGQ_ELGA(te=335,
            para_in=((OP.EPGQ_ELGA.PDEFORR, EDEFOPG), ),
            para_out=((OP.EPGQ_ELGA.PDEFOEQ, EDFEQPG), ),
        ),

        OP.EPGQ_ELNO(te=335,
            para_in=((OP.EPGQ_ELNO.PDEFORR, EDEFONO), ),
            para_out=((OP.EPGQ_ELNO.PDEFOEQ, LC.EDFEQNO), ),
        ),

        OP.EPSI_ELGA(te=453,
            para_in=((SP.PDEPLAR, NDEPLAR), (SP.PGEOMER, NGEOMER),
                     (OP.EPSI_ELGA.PVARCPR, LC.ZVARCPG), ),
            para_out=((SP.PDEFOPC, EDEFOPC), (OP.EPSI_ELGA.PDEFOPG, EDEFOPG),
                     ),
        ),

        OP.EPSI_ELNO(te=4,
            para_in=((OP.EPSI_ELNO.PDEFOPG, EDEFOPG), ),
            para_out=((SP.PDEFONC, EDEFONC), (SP.PDEFONO, EDEFONO),
                     ),
        ),

        OP.EPSG_ELGA(te=25,
            para_in=((SP.PDEPLAR, NDEPLAR), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (OP.EPSG_ELGA.PVARCPR, LC.ZVARCPG),
                     (SP.PVARCRR, LC.ZVARCPG), ),
            para_out=((OP.EPSG_ELGA.PDEFOPG, EDEFOPG), ),
        ),

        OP.EPSG_ELNO(te=4,
            para_in=((OP.EPSG_ELNO.PDEFOPG, EDEFOPG), ),
            para_out=((SP.PDEFONO, EDEFONO), ),
        ),

        OP.ERME_ELEM(te=375,
            para_in=((SP.PCONTNO, ECONTNO), (SP.PFFVOLU, CFORCEF),
                     (SP.PFORCE, LC.CREFERI), (SP.PFRVOLU, EFORCER),
                     (SP.PGEOMER, NGEOMER), (SP.PMATERC, LC.CMATERC),
                     (SP.PPESANR, LC.CPESANR), (SP.PPRESS, LC.CREFERI),
                     (SP.PROTATR, LC.CROTATR), (SP.PTEMPSR, CTEMPSR),
                     (OP.ERME_ELEM.PVOISIN, LC.EVOISIN), ),
            para_out=((OP.ERME_ELEM.PERREUR, EERREUR), ),
        ),

        OP.ERME_ELNO(te=379,
            para_in=((OP.ERME_ELNO.PERREUR, EERREUR), ),
            para_out=((SP.PERRENO, EERRENO), ),
        ),

        OP.FORC_NODA(te=591,
            para_in=((OP.FORC_NODA.PCOMPOR, CCOMPOR), (OP.FORC_NODA.PCONTMR, ECONTPG),
                     (SP.PDEPLMR, DDL_MECA), (SP.PDEPLPR, DDL_MECA),
                     (SP.PGEOMER, NGEOMER), (SP.PMATERC, LC.CMATERC),
                     (OP.FORC_NODA.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),

        OP.FULL_MECA(te=590,
            para_in=((SP.PCARCRI, CCARCRI), (OP.FULL_MECA.PCOMPOR, CCOMPOR),
                     (OP.FULL_MECA.PCONTMR, ECONTPG), (SP.PDEPLMR, DDL_MECA),
                     (SP.PDEPLPR, DDL_MECA), (SP.PGEOMER, NGEOMER),
                     (SP.PINSTMR, CTEMPSR), (SP.PINSTPR, CTEMPSR),
                     (SP.PMATERC, LC.CMATERC), (SP.PVARCMR, LC.ZVARCPG),
                     (OP.FULL_MECA.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     (SP.PVARIMP, ZVARIPG), (OP.FULL_MECA.PVARIMR, ZVARIPG),
                     ),
            para_out=((SP.PCODRET, LC.ECODRET), (OP.FULL_MECA.PCONTPR, ECONTPG),
                     (SP.PMATUNS, MMATUNS), (SP.PMATUUR, MMATUUR),
                     (OP.FULL_MECA.PVARIPR, ZVARIPG), (SP.PVECTUR, MVECTUR),
                     ),
        ),

        OP.FULL_MECA_ELAS(te=590,
            para_in=((SP.PCARCRI, CCARCRI), (OP.FULL_MECA_ELAS.PCOMPOR, CCOMPOR),
                     (OP.FULL_MECA_ELAS.PCONTMR, ECONTPG), (SP.PDEPLMR, DDL_MECA),
                     (SP.PDEPLPR, DDL_MECA), (SP.PGEOMER, NGEOMER),
                     (SP.PINSTMR, CTEMPSR), (SP.PINSTPR, CTEMPSR),
                     (SP.PMATERC, LC.CMATERC), (SP.PVARCMR, LC.ZVARCPG),
                     (OP.FULL_MECA_ELAS.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     (SP.PVARIMP, ZVARIPG), (OP.FULL_MECA_ELAS.PVARIMR, ZVARIPG),
                     ),
            para_out=((SP.PCODRET, LC.ECODRET), (OP.FULL_MECA_ELAS.PCONTPR, ECONTPG),
                     (SP.PMATUNS, MMATUNS), (SP.PMATUUR, MMATUUR),
                     (OP.FULL_MECA_ELAS.PVARIPR, ZVARIPG), (SP.PVECTUR, MVECTUR),
                     ),
        ),

        OP.GRAD_NEUT9_R(te=398,
            para_in=((SP.PGEOMER, NGEOMER), (SP.PNEUTER, LC.N9NEUT_R),
                     ),
            para_out=((OP.GRAD_NEUT9_R.PGNEUTR, LC.G27NEUTR), ),
        ),

        OP.INIT_MAIL_VOIS(te=99,
            para_out=((OP.INIT_MAIL_VOIS.PVOISIN, LC.EVOISIN), ),
        ),

        OP.INIT_VARC(te=99,
            para_out=((OP.INIT_VARC.PVARCPR, LC.ZVARCPG), ),
        ),

        OP.MASS_MECA(te=12,
            para_in=((SP.PGEOMER, NGEOMER), (SP.PMATERC, LC.CMATERC),
                     (OP.MASS_MECA.PVARCPR, LC.ZVARCPG), ),
            para_out=((SP.PMATUUR, VMATUUR), ),
        ),

        OP.NORME_L2(te=563,
            para_in=((SP.PCALCI, LC.EMNEUT_I), (SP.PCHAMPG, EGNEUT_R),
                     (SP.PCOEFR, EMNEUT_R), (OP.NORME_L2.PCOORPG, EGGEOP_R),
                     ),
            para_out=((SP.PNORME, LC.ENORME), ),
        ),

        OP.NSPG_NBVA(te=496,
            para_in=((OP.NSPG_NBVA.PCOMPOR, LC.CCOMPO2), ),
            para_out=((SP.PDCEL_I, LC.EDCEL_I), ),
        ),

        OP.PAS_COURANT(te=404,
            para_in=((SP.PGEOMER, NGEOMER), (SP.PMATERC, LC.CMATERC),
                     (OP.PAS_COURANT.PVARCPR, LC.ZVARCPG),),
            para_out=((SP.PCOURAN, LC.ECOURAN), ),
        ),

        OP.QIRE_ELEM(te=368,
            para_in=((SP.PCONSTR, LC.CCONSTR), (SP.PCONTNOD, ECONTNO),
                     (SP.PCONTNOP, ECONTNO), (SP.PFFVOLUD, CFORCEF),
                     (SP.PFFVOLUP, CFORCEF), (SP.PFORCED, LC.CREFERI),
                     (SP.PFORCEP, LC.CREFERI), (SP.PFRVOLUD, EFORCER),
                     (SP.PFRVOLUP, EFORCER), (SP.PGEOMER, NGEOMER),
                     (SP.PPESANRD, LC.CPESANR), (SP.PPESANRP, LC.CPESANR),
                     (SP.PPRESSD, LC.CREFERI), (SP.PPRESSP, LC.CREFERI),
                     (SP.PROTATRD, LC.CROTATR), (SP.PROTATRP, LC.CROTATR),
                     (SP.PTEMPSR, CTEMPSR), (OP.QIRE_ELEM.PVOISIN, LC.EVOISIN),
                     ),
            para_out=((OP.QIRE_ELEM.PERREUR, EERREUR), ),
        ),

        OP.QIRE_ELNO(te=379,
            para_in=((OP.QIRE_ELNO.PERREUR, EERREUR), ),
            para_out=((SP.PERRENO, EERRENO), ),
        ),

        OP.RAPH_MECA(te=590,
            para_in=((SP.PCARCRI, CCARCRI), (OP.RAPH_MECA.PCOMPOR, CCOMPOR),
                     (OP.RAPH_MECA.PCONTMR, ECONTPG), (SP.PDEPLMR, DDL_MECA),
                     (SP.PDEPLPR, DDL_MECA), (SP.PGEOMER, NGEOMER),
                     (SP.PINSTMR, CTEMPSR), (SP.PINSTPR, CTEMPSR),
                     (SP.PMATERC, LC.CMATERC), (SP.PVARCMR, LC.ZVARCPG),
                     (OP.RAPH_MECA.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     (SP.PVARIMP, ZVARIPG), (OP.RAPH_MECA.PVARIMR, ZVARIPG),
                     ),
            para_out=((SP.PCODRET, LC.ECODRET), (OP.RAPH_MECA.PCONTPR, ECONTPG),
                     (OP.RAPH_MECA.PVARIPR, ZVARIPG), (SP.PVECTUR, MVECTUR),
                     ),
        ),

        OP.REFE_FORC_NODA(te=593,
            para_in=((OP.REFE_FORC_NODA.PCOMPOR, CCOMPOR), (SP.PGEOMER, NGEOMER),
                     (SP.PREFCO, EREFCO), ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),

        OP.REPERE_LOCAL(te=133,
            para_in=((SP.PCAMASS, CCAMASS), (SP.PGEOMER, NGEOMER),
                     ),
            para_out=((SP.PREPLO1, LC.CGEOM3D), (SP.PREPLO2, LC.CGEOM3D),
                     (SP.PREPLO3, LC.CGEOM3D), ),
        ),

        OP.RIGI_MECA(te=592,
            para_in=((SP.PCAMASS, CCAMASS), (SP.PGEOMER, NGEOMER),
                     (SP.PMATERC, LC.CMATERC), (OP.RIGI_MECA.PVARCPR, LC.ZVARCPG),
                     ),
            para_out=((SP.PMATUUR, MMATUUR), ),
        ),

        OP.RIGI_MECA_ELAS(te=590,
            para_in=((SP.PCARCRI, CCARCRI), (OP.RIGI_MECA_ELAS.PCOMPOR, CCOMPOR),
                     (OP.RIGI_MECA_ELAS.PCONTMR, ECONTPG), (SP.PDEPLMR, DDL_MECA),
                     (SP.PDEPLPR, DDL_MECA), (SP.PGEOMER, NGEOMER),
                     (SP.PINSTMR, CTEMPSR), (SP.PINSTPR, CTEMPSR),
                     (SP.PMATERC, LC.CMATERC), (SP.PVARCMR, LC.ZVARCPG),
                     (OP.RIGI_MECA_ELAS.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     (OP.RIGI_MECA_ELAS.PVARIMR, ZVARIPG), ),
            para_out=((SP.PMATUNS, MMATUNS), (SP.PMATUUR, MMATUUR),
                     ),
        ),

        OP.RIGI_MECA_TANG(te=590,
            para_in=((SP.PCARCRI, CCARCRI), (OP.RIGI_MECA_TANG.PCOMPOR, CCOMPOR),
                     (OP.RIGI_MECA_TANG.PCONTMR, ECONTPG), (SP.PDEPLMR, DDL_MECA),
                     (SP.PDEPLPR, DDL_MECA), (SP.PGEOMER, NGEOMER),
                     (SP.PINSTMR, CTEMPSR), (SP.PINSTPR, CTEMPSR),
                     (SP.PMATERC, LC.CMATERC), (SP.PVARCMR, LC.ZVARCPG),
                     (OP.RIGI_MECA_TANG.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     (OP.RIGI_MECA_TANG.PVARIMR, ZVARIPG), ),
            para_out=((SP.PMATUNS, MMATUNS), (SP.PMATUUR, MMATUUR),
                     ),
        ),

        OP.SIEF_ELGA(te=97,
            para_in=((SP.PCAMASS, CCAMASS), (SP.PDEPLAR, NDEPLAR),
                     (SP.PGEOMER, NGEOMER), (SP.PMATERC, LC.CMATERC),
                     (OP.SIEF_ELGA.PVARCPR, LC.ZVARCPG), (SP.PVARCRR, LC.ZVARCPG),
                     ),
            para_out=((SP.PCONTRC, ECONTPC), (OP.SIEF_ELGA.PCONTRR, ECONTPG),
                     ),
        ),

        OP.SIEF_ELNO(te=4,
            para_in=((OP.SIEF_ELNO.PCONTRR, ECONTPG), (OP.SIEF_ELNO.PVARCPR, LC.ZVARCPG),
                     ),
            para_out=((SP.PSIEFNOC, ECONTNC), (OP.SIEF_ELNO.PSIEFNOR, ECONTNO),
                     ),
        ),

        OP.SIEQ_ELGA(te=335,
            para_in=((OP.SIEQ_ELGA.PCONTRR, ECONTPG), ),
            para_out=((OP.SIEQ_ELGA.PCONTEQ, ECOEQPG), ),
        ),

        OP.SIEQ_ELNO(te=335,
            para_in=((OP.SIEQ_ELNO.PCONTRR, ECONTNO), ),
            para_out=((OP.SIEQ_ELNO.PCONTEQ, LC.ECOEQNO), ),
        ),

        OP.SIGM_ELGA(te=546,
            para_in=((SP.PSIEFR, ECONTPG), ),
            para_out=((SP.PSIGMC, ECONTPC), (SP.PSIGMR, ECONTPG),
                     ),
        ),

        OP.SIGM_ELNO(te=4,
            para_in=((OP.SIGM_ELNO.PCONTRR, ECONTPG), ),
            para_out=((SP.PSIEFNOC, ECONTNC), (OP.SIGM_ELNO.PSIEFNOR, ECONTNO),
                     ),
        ),

        OP.TOU_INI_ELEM(te=99,
            para_out=((OP.TOU_INI_ELEM.PGEOM_R, LC.CGEOM3D), ),
        ),

        OP.TOU_INI_ELGA(te=99,
            para_out=((OP.TOU_INI_ELGA.PGEOM_R, EGGEOM_R), (OP.TOU_INI_ELGA.PNEUT_F, EGNEUT_F),
                     (OP.TOU_INI_ELGA.PNEUT_R, EGNEUT_R), (OP.TOU_INI_ELGA.PSIEF_R, ECONTPG),
                     (OP.TOU_INI_ELGA.PSOUR_R, ESOURCR), (OP.TOU_INI_ELGA.PVARI_R, ZVARIPG),
                     ),
        ),

        OP.TOU_INI_ELNO(te=99,
            para_out=((OP.TOU_INI_ELNO.PGEOM_R, NGEOMER), (OP.TOU_INI_ELNO.PNEUT_F, LC.ENNEUT_F),
                     (OP.TOU_INI_ELNO.PNEUT_R, LC.ENNEUT_R), (OP.TOU_INI_ELNO.PSIEF_R, ECONTNO),
                     (OP.TOU_INI_ELNO.PVARI_R, LC.ZVARINO), ),
        ),

        OP.VARI_ELNO(te=4,
            para_in=((SP.PVARIGR, ZVARIPG), ),
            para_out=((OP.VARI_ELNO.PVARINR, LC.ZVARINO), ),
        ),

        OP.VERI_JACOBIEN(te=328,
            para_in=((SP.PGEOMER, NGEOMER), ),
            para_out=((SP.PCODRET, LC.ECODRET), ),
        ),

    )
示例#2
0
class MECA_FACE3(Element):
    """Please document this element"""
    meshType = MT.TRIA3
    nodes = (SetOfNodes('EN1', (
        1,
        2,
        3,
    )), )
    attrs = ((AT.BORD_ISO, 'OUI'), )
    elrefe = (ElrefeLoc(
        MT.TR3,
        gauss=('RIGI=FPG3', ),
        mater=('RIGI', ),
    ), )
    calculs = (
        OP.CALC_G(
            te=280,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFR2D3D, NFORCER),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
                (SP.PSIGINR, ECONTNO),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_G.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_GTP(
            te=280,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFR2D3D, NFORCER),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_GTP.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_GTP_F(
            te=280,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFF2D3D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_GTP_F.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_G_F(
            te=280,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFF2D3D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PSIGINR, ECONTNO),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_G_F.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_G_GLOB(
            te=280,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFR2D3D, NFORCER),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_G_GLOB.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_G_GLOB_F(
            te=280,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFF2D3D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_G_GLOB_F.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_K_G(
            te=311,
            para_in=(
                (OP.CALC_K_G.PBASLOR, LC.N9NEUT_R),
                (OP.CALC_K_G.PCOMPOR, CCOMPOR),
                (SP.PCOURB, LC.G27NEUTR),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PEPSINR, CEPSINR),
                (SP.PFR2D3D, NFORCER),
                (SP.PFRVOLU, NFORCER),
                (SP.PGEOMER, NGEOMER),
                (OP.CALC_K_G.PLSN, LC.N1NEUT_R),
                (OP.CALC_K_G.PLST, LC.N1NEUT_R),
                (SP.PMATERC, LC.CMATERC),
                (SP.PPESANR, LC.CPESANR),
                (SP.PPRESSR, EPRESNO),
                (SP.PPULPRO, LC.CFREQR),
                (SP.PROTATR, LC.CROTATR),
                (SP.PSIGINR, ECONTNO),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_K_G.PVARCPR, LC.ZVARCPG),
                (SP.PVARCRR, LC.ZVARCPG),
            ),
            para_out=((SP.PGTHETA, EKTHETA), ),
        ),
        OP.CALC_K_G_F(
            te=311,
            para_in=(
                (OP.CALC_K_G_F.PBASLOR, LC.N9NEUT_R),
                (OP.CALC_K_G_F.PCOMPOR, CCOMPOR),
                (SP.PCOURB, LC.G27NEUTR),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PEPSINF, CEPSINF),
                (SP.PFF2D3D, CFORCEF),
                (SP.PFFVOLU, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (OP.CALC_K_G_F.PLSN, LC.N1NEUT_R),
                (OP.CALC_K_G_F.PLST, LC.N1NEUT_R),
                (SP.PMATERC, LC.CMATERC),
                (SP.PPESANR, LC.CPESANR),
                (SP.PPRESSF, CPRESSF),
                (SP.PPULPRO, LC.CFREQR),
                (SP.PROTATR, LC.CROTATR),
                (SP.PSIGINR, ECONTNO),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_K_G_F.PVARCPR, LC.ZVARCPG),
                (SP.PVARCRR, LC.ZVARCPG),
            ),
            para_out=((SP.PGTHETA, EKTHETA), ),
        ),
        OP.CARA_SECT_POU3R(
            te=337,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PORIGIN, LC.CGEOM3D),
            ),
            para_out=((SP.PRAYONM, ERAYONM), ),
        ),
        OP.CARA_SECT_POUT3(
            te=337,
            para_in=((SP.PGEOMER, NGEOMER), ),
            para_out=((SP.PCASECT, ECASECT), ),
        ),
        OP.CARA_SECT_POUT4(
            te=337,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PORIGIN, LC.CGEOM3D),
            ),
            para_out=(
                (SP.PVECTU1, MVECTUR),
                (SP.PVECTU2, MVECTUR),
            ),
        ),
        OP.CARA_SECT_POUT5(
            te=337,
            para_in=(
                (OP.CARA_SECT_POUT5.PCAORIE, LC.CGEOM3D),
                (SP.PGEOMER, NGEOMER),
                (SP.PNUMMOD, LC.CNUMMOD),
                (SP.PORIGFI, LC.CGEOM3D),
                (SP.PORIGIN, LC.CGEOM3D),
            ),
            para_out=(
                (SP.PVECTU1, MVECTUR),
                (SP.PVECTU2, MVECTUR),
                (SP.PVECTU3, MVECTUR),
                (SP.PVECTU4, MVECTUR),
                (SP.PVECTU5, MVECTUR),
                (SP.PVECTU6, MVECTUR),
            ),
        ),
        OP.CHAR_MECA_EFON_F(
            te=19,
            para_in=(
                (SP.PEFOND, CEFOND),
                (SP.PGEOMER, NGEOMER),
                (SP.PPREFFF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_EFON_R(
            te=18,
            para_in=(
                (SP.PEFOND, CEFOND),
                (SP.PGEOMER, NGEOMER),
                (SP.PPREFFR, EPRESNO),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_EFSU_F(
            te=425,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PEFOND, CEFOND),
                (SP.PGEOMER, NGEOMER),
                (SP.PPREFFF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_EFSU_R(
            te=424,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PEFOND, CEFOND),
                (SP.PGEOMER, NGEOMER),
                (SP.PPREFFR, EPRESNO),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_FF2D3D(
            te=29,
            para_in=(
                (SP.PFF2D3D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_FR2D3D(
            te=28,
            para_in=(
                (SP.PFR2D3D, NFORCER),
                (SP.PGEOMER, NGEOMER),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_F(
            te=19,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_R(
            te=18,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRSU_F(
            te=425,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRSU_R(
            te=424,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.COOR_ELGA(
            te=488,
            para_in=((SP.PGEOMER, NGEOMER), ),
            para_out=((OP.COOR_ELGA.PCOORPG, EGGEOP_R), ),
        ),
        OP.INIT_VARC(
            te=99,
            para_out=((OP.INIT_VARC.PVARCPR, LC.ZVARCPG), ),
        ),
        OP.NORME_L2(
            te=563,
            para_in=(
                (SP.PCALCI, LC.EMNEUT_I),
                (SP.PCHAMPG, EGNEUT_R),
                (SP.PCOEFR, EMNEUT_R),
                (OP.NORME_L2.PCOORPG, EGGEOP_R),
            ),
            para_out=((SP.PNORME, LC.ENORME), ),
        ),
        OP.NSPG_NBVA(
            te=496,
            para_in=((OP.NSPG_NBVA.PCOMPOR, LC.CCOMPO2), ),
            para_out=((SP.PDCEL_I, LC.EDCEL_I), ),
        ),
        OP.RIGI_MECA_EFSU_F(
            te=425,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PEFOND, CEFOND),
                (SP.PGEOMER, NGEOMER),
                (SP.PPREFFF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PMATUNS, MMATUNS), ),
        ),
        OP.RIGI_MECA_EFSU_R(
            te=424,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PEFOND, CEFOND),
                (SP.PGEOMER, NGEOMER),
                (SP.PPREFFR, EPRESNO),
            ),
            para_out=((SP.PMATUNS, MMATUNS), ),
        ),
        OP.RIGI_MECA_PRSU_F(
            te=425,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PMATUNS, MMATUNS), ),
        ),
        OP.RIGI_MECA_PRSU_R(
            te=424,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
            ),
            para_out=((SP.PMATUNS, MMATUNS), ),
        ),
        OP.SIRO_ELEM(
            te=411,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PSIG3D, ECONTNO),
            ),
            para_out=((SP.PPJSIGM, LC.EPJSIGM), ),
        ),
        OP.TOU_INI_ELEM(
            te=99,
            para_out=(
                (SP.PFORC_R, CFORCER),
                (OP.TOU_INI_ELEM.PPRES_R, CPRES_R),
            ),
        ),
        OP.TOU_INI_ELGA(
            te=99,
            para_out=(
                (OP.TOU_INI_ELGA.PDEPL_R, EDEPLPG),
                (OP.TOU_INI_ELGA.PGEOM_R, EGGEOM_R),
                (OP.TOU_INI_ELGA.PNEUT_F, EGNEUT_F),
                (OP.TOU_INI_ELGA.PNEUT_R, EGNEUT_R),
                (OP.TOU_INI_ELGA.PPRES_R, LC.EPRESGA),
            ),
        ),
        OP.TOU_INI_ELNO(
            te=99,
            para_out=(
                (OP.TOU_INI_ELNO.PGEOM_R, NGEOMER),
                (OP.TOU_INI_ELNO.PNEUT_F, LC.ENNEUT_F),
                (OP.TOU_INI_ELNO.PNEUT_R, LC.ENNEUT_R),
                (OP.TOU_INI_ELNO.PPRES_R, EPRESNO),
                (OP.TOU_INI_ELNO.PSIEF_R, ECONTNO),
            ),
        ),
    )