示例#1
0
class MEPLSE2_XH(Element):
    """Please document this element"""
    meshType = MT.SEG2
    elrefe =(
            ElrefeLoc(MT.SE2, gauss = ('RIGI=FPG4',),),
        )
    calculs = (

#       -- te0580 : ne resout que les cas triviaux : 0.
        OP.CALC_G(te=580,
            para_in=((SP.PFR1D2D, NFORCER), (SP.PPRESSR, EPRESNO),
                     (SP.PTHETAR, NTHETAR), ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),

        OP.CALC_G_F(te=580,
            para_in=((SP.PFF1D2D, CFORCEF), (SP.PPRESSF, CPRESSF),
                     (SP.PTHETAR, NTHETAR), ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),

        OP.CALC_K_G(te=580,
            para_in=((SP.PFR1D2D, NFORCER), (SP.PPRESSR, EPRESNO),
                     (SP.PTHETAR, NTHETAR), ),
            para_out=((SP.PGTHETA, EKTHETA), ),
        ),

        OP.CALC_K_G_F(te=580,
            para_in=((SP.PFF1D2D, CFORCEF), (SP.PPRESSF, CPRESSF),
                     (SP.PTHETAR, NTHETAR), ),
            para_out=((SP.PGTHETA, EKTHETA), ),
        ),

        OP.CHAR_MECA_FF1D2D(te=36,
            para_in=((OP.CHAR_MECA_FF1D2D.PCNSETO, E6NEUTI), (SP.PFF1D2D, CFORCEF),
                     (SP.PGEOMER, NGEOMER), (OP.CHAR_MECA_FF1D2D.PHEAVTO, LC.E2NEUTI),
                     (OP.CHAR_MECA_FF1D2D.PHEA_NO, LC.N5NEUTI), (OP.CHAR_MECA_FF1D2D.PHEA_SE, LC.E2NEUTI),
                     (OP.CHAR_MECA_FF1D2D.PLONCHA, LC.E10NEUTI), (OP.CHAR_MECA_FF1D2D.PLSN, LC.N1NEUT_R),
                     (OP.CHAR_MECA_FF1D2D.PLST, LC.N1NEUT_R), (OP.CHAR_MECA_FF1D2D.PPINTTO, LC.E6NEUTR),
                     (OP.CHAR_MECA_FF1D2D.PPMILTO, LC.E4NEUTR), (OP.CHAR_MECA_FF1D2D.PSTANO, STANO_I),
                     (SP.PTEMPSR, CTEMPSR), ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),

        OP.CHAR_MECA_FR1D2D(te=36,
            para_in=((OP.CHAR_MECA_FR1D2D.PCNSETO, E6NEUTI), (SP.PFR1D2D, NFORCER),
                     (SP.PGEOMER, NGEOMER), (OP.CHAR_MECA_FR1D2D.PHEAVTO, LC.E2NEUTI),
                     (OP.CHAR_MECA_FR1D2D.PHEA_NO, LC.N5NEUTI), (OP.CHAR_MECA_FR1D2D.PHEA_SE, LC.E2NEUTI),
                     (OP.CHAR_MECA_FR1D2D.PLONCHA, LC.E10NEUTI), (OP.CHAR_MECA_FR1D2D.PLSN, LC.N1NEUT_R),
                     (OP.CHAR_MECA_FR1D2D.PLST, LC.N1NEUT_R), (OP.CHAR_MECA_FR1D2D.PPINTTO, LC.E6NEUTR),
                     (OP.CHAR_MECA_FR1D2D.PPMILTO, LC.E4NEUTR), (OP.CHAR_MECA_FR1D2D.PSTANO, STANO_I),
                     ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),

        OP.CHAR_MECA_PRES_F(te=36,
            para_in=((OP.CHAR_MECA_PRES_F.PCNSETO, E6NEUTI), (SP.PGEOMER, NGEOMER),
                     (OP.CHAR_MECA_PRES_F.PHEAVTO, LC.E2NEUTI), (OP.CHAR_MECA_PRES_F.PHEA_NO, LC.N5NEUTI),
                     (OP.CHAR_MECA_PRES_F.PHEA_SE, LC.E2NEUTI), (OP.CHAR_MECA_PRES_F.PLONCHA, LC.E10NEUTI),
                     (OP.CHAR_MECA_PRES_F.PLSN, LC.N1NEUT_R), (OP.CHAR_MECA_PRES_F.PLST, LC.N1NEUT_R),
                     (OP.CHAR_MECA_PRES_F.PPINTTO, LC.E6NEUTR), (OP.CHAR_MECA_PRES_F.PPMILTO, LC.E4NEUTR),
                     (SP.PPRESSF, CPRESSF), (OP.CHAR_MECA_PRES_F.PSTANO, STANO_I),
                     (SP.PTEMPSR, CTEMPSR), ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),

        OP.CHAR_MECA_PRES_R(te=36,
            para_in=((OP.CHAR_MECA_PRES_R.PCNSETO, E6NEUTI), (SP.PGEOMER, NGEOMER),
                     (OP.CHAR_MECA_PRES_R.PHEAVTO, LC.E2NEUTI), (OP.CHAR_MECA_PRES_R.PHEA_NO, LC.N5NEUTI),
                     (OP.CHAR_MECA_PRES_R.PHEA_SE, LC.E2NEUTI), (OP.CHAR_MECA_PRES_R.PLONCHA, LC.E10NEUTI),
                     (OP.CHAR_MECA_PRES_R.PLSN, LC.N1NEUT_R), (OP.CHAR_MECA_PRES_R.PLST, LC.N1NEUT_R),
                     (OP.CHAR_MECA_PRES_R.PPINTTO, LC.E6NEUTR), (OP.CHAR_MECA_PRES_R.PPMILTO, LC.E4NEUTR),
                     (SP.PPRESSR, EPRESNO), (OP.CHAR_MECA_PRES_R.PSTANO, STANO_I),
                     ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),

        OP.INI_XFEM_ELNO(te=99,
            para_out=((OP.INI_XFEM_ELNO.PLSN, LC.N1NEUT_R), (OP.INI_XFEM_ELNO.PLST, LC.N1NEUT_R),
                     (OP.INI_XFEM_ELNO.PSTANO, STANO_I), (OP.INI_XFEM_ELNO.PBASLOR, LC.N6NEUT_R),),
        ),

        OP.TOPONO(te=120,
            para_in=((OP.TOPONO.PCNSETO, E6NEUTI), (OP.TOPONO.PHEAVTO, LC.E2NEUTI),
                     (SP.PLEVSET, LC.N1NEUT_R), (OP.TOPONO.PLONCHA, LC.E10NEUTI),
                     ),
            para_out=((OP.TOPONO.PHEA_NO, LC.N5NEUTI), (OP.TOPONO.PHEA_SE, LC.E2NEUTI),
                     ),
        ),

        OP.TOPOSE(te=514,
            para_in=((SP.PGEOMER, NGEOMER), (SP.PLEVSET, LC.N1NEUT_R),
                     ),
            para_out=((OP.TOPOSE.PCNSETO, E6NEUTI), (OP.TOPOSE.PHEAVTO, LC.E2NEUTI),
                     (OP.TOPOSE.PLONCHA, LC.E10NEUTI), (OP.TOPOSE.PPINTTO, LC.E6NEUTR),
                     (OP.TOPOSE.PPMILTO, LC.E4NEUTR), ),
        ),

        OP.TOU_INI_ELEM(te=99,
            para_out=((OP.TOU_INI_ELEM.PPRES_R, CPRES_R), ),
        ),

        OP.TOU_INI_ELGA(te=99,
            para_out=((OP.TOU_INI_ELGA.PGEOM_R, EGEOMER), ),
        ),

        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),
                     ),
        ),

    )
示例#2
0
class MECA_2D_HHO1_F(Element):
    """Please document this element"""
    meshType = MT.SEG3
    nodes = (
        SetOfNodes('EN1', (3, )),
        SetOfNodes('EN2', (
            1,
            2,
        )),
    )
    attrs = ((AT.BORD_ISO, 'OUI'), )
    elrefe = (ElrefeLoc(
        MT.SE3,
        gauss=('RIGI=FPG2', ),
        mater=('RIGI', ),
    ), )
    calculs = (
        OP.CHAR_MECA_FR1D2D(
            te=459,
            para_in=(
                (SP.PFR1D2D, NFORCER),
                (SP.PGEOMER, NGEOMER),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_FF1D2D(
            te=459,
            para_in=(
                (SP.PFF1D2D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_F(
            te=459,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_R(
            te=459,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.COOR_ELGA(
            te=478,
            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.INIT_VARC.PVARCNO, LC.ZVARCNO),
            ),
        ),
        OP.NSPG_NBVA(
            te=496,
            para_in=((OP.NSPG_NBVA.PCOMPOR, LC.CCOMPO2), ),
            para_out=((SP.PDCEL_I, LC.EDCEL_I), ),
        ),
        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),
            ),
        ),
    )
示例#3
0
class MEPLSE2(Element):
    """Skin element for 2D isoparametric elements - On SE2"""
    meshType = MT.SEG2
    attrs = ((AT.BORD_ISO, 'OUI'), )
    elrefe = (ElrefeLoc(
        MT.SE2,
        gauss=('RIGI=FPG2', ),
        mater=('RIGI', ),
    ), )
    calculs = (
        OP.CALC_G(
            te=282,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFR1D2D, LC.NFOR2DR),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PPRESSR, LC.EPRE2DR),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_G.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_G_F(
            te=282,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFF1D2D, LC.CFOR2DF),
                (SP.PPRESSF, LC.CPRE2DF),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PTEMPSR, LC.MTEMPSR),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_G_F.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_K_G(
            te=300,
            para_in=(
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFISSR, LC.CFISSR),
                (SP.PFR1D2D, LC.NFOR2DR),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PPRESSR, LC.EPRE2DR),
                (SP.PMATERC, LC.CMATERC),
                (SP.PPULPRO, LC.CFREQR),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_K_G.PVARCPR, LC.ZVARCPG),
                (SP.PVARCRR, LC.ZVARCPG),
            ),
            para_out=((SP.PGTHETA, LC.CTHET2D), ),
        ),
        OP.CALC_K_G_F(
            te=300,
            para_in=(
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFF1D2D, LC.CFOR2DF),
                (SP.PFISSR, LC.CFISSR),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PMATERC, LC.CMATERC),
                (SP.PPRESSF, LC.CPRE2DF),
                (SP.PPULPRO, LC.CFREQR),
                (SP.PTEMPSR, LC.MTEMPSR),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_K_G_F.PVARCPR, LC.ZVARCPG),
                (SP.PVARCRR, LC.ZVARCPG),
            ),
            para_out=((SP.PGTHETA, LC.CTHET2D), ),
        ),
        OP.CARA_SECT_POUT3(
            te=564,
            para_in=((SP.PGEOMER, LC.EGEOM2D), ),
            para_out=((SP.PCASECT, LC.CSECT2D), ),
        ),
        OP.CARA_SECT_POUT4(
            te=564,
            para_in=(
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PORIGIN, LC.CGEOM2D),
            ),
            para_out=(
                (SP.PVECTU1, MVECTUR),
                (SP.PVECTU2, MVECTUR),
            ),
        ),
        OP.CHAR_MECA_FF1D2D(
            te=91,
            para_in=(
                (SP.PFF1D2D, LC.CFOR2DF),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PTEMPSR, LC.MTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_FR1D2D(
            te=90,
            para_in=(
                (SP.PFR1D2D, LC.NFOR2DR),
                (SP.PGEOMER, LC.EGEOM2D),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_F(
            te=88,
            para_in=(
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PPRESSF, LC.CPRE2DF),
                (SP.PTEMPSR, LC.MTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_R(
            te=88,
            para_in=(
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PPRESSR, LC.EPRE2DR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRSU_F(
            te=573,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PPRESSF, LC.CPRE2DF),
                (SP.PTEMPSR, LC.MTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRSU_R(
            te=573,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PPRESSR, LC.EPRE2DR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.COOR_ELGA(
            te=479,
            para_in=((SP.PGEOMER, LC.EGEOM2D), ),
            para_out=((OP.COOR_ELGA.PCOORPG, LC.EGGAU2D), ),
        ),
        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, LC.EGTINIR),
                (SP.PCOEFR, LC.CNORML2),
                (OP.NORME_L2.PCOORPG, LC.EGGAU2D),
            ),
            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_PRSU_F(
            te=573,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PPRESSF, LC.CPRE2DF),
                (SP.PTEMPSR, LC.MTEMPSR),
            ),
            para_out=((SP.PMATUNS, MMATUNS), ),
        ),
        OP.RIGI_MECA_PRSU_R(
            te=573,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PPRESSR, LC.EPRE2DR),
            ),
            para_out=((SP.PMATUNS, MMATUNS), ),
        ),
        OP.SIRO_ELEM(
            te=554,
            para_in=(
                (SP.PGEOMER, LC.EGEOM2D),
                (SP.PSIG3D, ECONTNO),
            ),
            para_out=((SP.PPJSIGM, LC.EPJSIGM), ),
        ),
        OP.TOU_INI_ELEM(
            te=99,
            para_out=(
                (OP.TOU_INI_ELEM.PERREUR, LC.CERROR),
                (OP.TOU_INI_ELEM.PNEUT_F, ELNEUT_F),
                (SP.PNEU1_R, ENEU1_R),
            ),
        ),
        OP.TOU_INI_ELGA(
            te=99,
            para_out=(
                (OP.TOU_INI_ELGA.PDEPL_R, LC.EGDEP3D),
                (OP.TOU_INI_ELGA.PGEOM_R, LC.EGGEO2D),
                (OP.TOU_INI_ELGA.PNEUT_F, LC.EGTINIF),
                (OP.TOU_INI_ELGA.PNEUT_R, LC.EGTINIR),
                (OP.TOU_INI_ELGA.PPRES_R, LC.EPRESGA),
            ),
        ),
        OP.TOU_INI_ELNO(
            te=99,
            para_out=(
                (OP.TOU_INI_ELNO.PGEOM_R, LC.EGEOM2D),
                (OP.TOU_INI_ELNO.PNEUT_F, LC.ENNEUT_F),
                (OP.TOU_INI_ELNO.PNEUT_R, LC.ENNEUT_R),
                (OP.TOU_INI_ELNO.PPRES_R, LC.EPRE2DR),
                (OP.TOU_INI_ELNO.PSIEF_R, ECONTNO),
            ),
        ),
    )
示例#4
0
class MEFOSE2(Element):
    """Please document this element"""
    meshType = MT.SEG2
    elrefe = (ElrefeLoc(
        MT.SE2,
        gauss=('RIGI=FPG2', ),
    ), )
    calculs = (
        OP.CHAR_MECA_FF1D2D(
            te=195,
            para_in=(
                (SP.PFF1D2D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_FR1D2D(
            te=194,
            para_in=(
                (SP.PFR1D2D, EFORCNO),
                (SP.PGEOMER, NGEOMER),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_F(
            te=193,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_R(
            te=192,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.COOR_ELGA(
            te=478,
            para_in=((SP.PGEOMER, NGEOMER), ),
            para_out=((OP.COOR_ELGA.PCOORPG, EGGEOP_R), ),
        ),
        OP.TOU_INI_ELGA(
            te=99,
            para_out=((OP.TOU_INI_ELGA.PGEOM_R, EGGEOP_R), ),
        ),
        OP.TOU_INI_ELEM(
            te=99,
            para_out=((OP.TOU_INI_ELEM.PGEOM_R, LC.CGEOM2D), ),
        ),
        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),
            ),
        ),
    )
示例#5
0
class MEPLSE2_XH1(Element):
    """Please document this element"""
    meshType = MT.SEG2
    nodes = (SetOfNodes('EN1', (
        1,
        2,
    )), )
    elrefe = (ElrefeLoc(
        MT.SE2,
        gauss=('RIGI=FPG2', ),
    ), )
    calculs = (
        OP.CHAR_MECA_FF1D2D(
            te=36,
            para_in=(
                (OP.CHAR_MECA_FF1D2D.PCNSETO, E24NEUI),
                (SP.PFF1D2D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (OP.CHAR_MECA_FF1D2D.PHEAVTO, E8NEUTI),
                (OP.CHAR_MECA_FF1D2D.PHEA_NO, LC.N5NEUTI),
                (OP.CHAR_MECA_FF1D2D.PHEA_SE, E8NEUTI),
                (OP.CHAR_MECA_FF1D2D.PLONCHA, LC.E10NEUTI),
                (OP.CHAR_MECA_FF1D2D.PLSN, LC.N1NEUT_R),
                (OP.CHAR_MECA_FF1D2D.PLST, LC.N1NEUT_R),
                (OP.CHAR_MECA_FF1D2D.PPINTTO, LC.E24NEUTR),
                (OP.CHAR_MECA_FF1D2D.PPMILTO, E16NEUTR),
                (OP.CHAR_MECA_FF1D2D.PSTANO, STANO_I),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_FR1D2D(
            te=36,
            para_in=(
                (OP.CHAR_MECA_FR1D2D.PCNSETO, E24NEUI),
                (SP.PFR1D2D, NFORCER),
                (SP.PGEOMER, NGEOMER),
                (OP.CHAR_MECA_FR1D2D.PHEAVTO, E8NEUTI),
                (OP.CHAR_MECA_FR1D2D.PHEA_NO, LC.N5NEUTI),
                (OP.CHAR_MECA_FR1D2D.PHEA_SE, E8NEUTI),
                (OP.CHAR_MECA_FR1D2D.PLONCHA, LC.E10NEUTI),
                (OP.CHAR_MECA_FR1D2D.PLSN, LC.N1NEUT_R),
                (OP.CHAR_MECA_FR1D2D.PLST, LC.N1NEUT_R),
                (OP.CHAR_MECA_FR1D2D.PPINTTO, LC.E24NEUTR),
                (OP.CHAR_MECA_FR1D2D.PPMILTO, E16NEUTR),
                (OP.CHAR_MECA_FR1D2D.PSTANO, STANO_I),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_F(
            te=36,
            para_in=(
                (OP.CHAR_MECA_PRES_F.PCNSETO, E24NEUI),
                (OP.CHAR_MECA_PRES_F.PFISNO, LC.FISNO_I),
                (SP.PGEOMER, NGEOMER),
                (OP.CHAR_MECA_PRES_F.PHEAVTO, E8NEUTI),
                (OP.CHAR_MECA_PRES_F.PHEA_NO, LC.N5NEUTI),
                (OP.CHAR_MECA_PRES_F.PHEA_SE, E8NEUTI),
                (OP.CHAR_MECA_PRES_F.PLONCHA, LC.E10NEUTI),
                (OP.CHAR_MECA_PRES_F.PLSN, LC.N1NEUT_R),
                (OP.CHAR_MECA_PRES_F.PLST, LC.N1NEUT_R),
                (OP.CHAR_MECA_PRES_F.PPINTTO, LC.E24NEUTR),
                (OP.CHAR_MECA_PRES_F.PPMILTO, E16NEUTR),
                (SP.PPRESSF, CPRESSF),
                (OP.CHAR_MECA_PRES_F.PSTANO, STANO_I),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_R(
            te=36,
            para_in=(
                (OP.CHAR_MECA_PRES_R.PCNSETO, E24NEUI),
                (OP.CHAR_MECA_PRES_R.PFISNO, LC.FISNO_I),
                (SP.PGEOMER, NGEOMER),
                (OP.CHAR_MECA_PRES_R.PHEAVTO, E8NEUTI),
                (OP.CHAR_MECA_PRES_R.PHEA_NO, LC.N5NEUTI),
                (OP.CHAR_MECA_PRES_R.PHEA_SE, E8NEUTI),
                (OP.CHAR_MECA_PRES_R.PLONCHA, LC.E10NEUTI),
                (OP.CHAR_MECA_PRES_R.PLSN, LC.N1NEUT_R),
                (OP.CHAR_MECA_PRES_R.PLST, LC.N1NEUT_R),
                (OP.CHAR_MECA_PRES_R.PPINTTO, LC.E24NEUTR),
                (OP.CHAR_MECA_PRES_R.PPMILTO, E16NEUTR),
                (SP.PPRESSR, EPRESNO),
                (OP.CHAR_MECA_PRES_R.PSTANO, STANO_I),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.INI_XFEM_ELNO(
            te=99,
            para_out=(
                (OP.INI_XFEM_ELNO.PFISNO, LC.FISNO_I),
                (OP.INI_XFEM_ELNO.PLSN, LC.N1NEUT_R),
                (OP.INI_XFEM_ELNO.PLST, LC.N1NEUT_R),
                (OP.INI_XFEM_ELNO.PSTANO, STANO_I),
            ),
        ),
        OP.TOPONO(
            te=120,
            para_in=(
                (OP.TOPONO.PCNSETO, E24NEUI),
                (SP.PFISCO, LC.FISCO_I),
                (OP.TOPONO.PFISNO, LC.FISNO_I),
                (OP.TOPONO.PHEAVTO, E8NEUTI),
                (SP.PLEVSET, LC.N1NEUT_R),
                (OP.TOPONO.PLONCHA, LC.E10NEUTI),
            ),
            para_out=(
                (OP.TOPONO.PHEA_NO, LC.N5NEUTI),
                (OP.TOPONO.PHEA_SE, E8NEUTI),
            ),
        ),
        OP.TOPOSE(
            te=514,
            para_in=(
                (SP.PFISCO, LC.FISCO_I),
                (SP.PGEOMER, NGEOMER),
                (SP.PLEVSET, LC.N1NEUT_R),
            ),
            para_out=(
                (OP.TOPOSE.PCNSETO, E24NEUI),
                (OP.TOPOSE.PHEAVTO, E8NEUTI),
                (OP.TOPOSE.PLONCHA, LC.E10NEUTI),
                (OP.TOPOSE.PPINTTO, LC.E24NEUTR),
                (OP.TOPOSE.PPMILTO, E16NEUTR),
            ),
        ),
        OP.TOU_INI_ELEM(
            te=99,
            para_out=((OP.TOU_INI_ELEM.PPRES_R, CPRES_R), ),
        ),
        OP.TOU_INI_ELGA(
            te=99,
            para_out=((OP.TOU_INI_ELGA.PGEOM_R, EGEOMER), ),
        ),
        OP.TOU_INI_ELNO(
            te=99,
            para_out=(
                (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),
            ),
        ),
    )
示例#6
0
class MEPLSE2(Element):
    """Please document this element"""
    meshType = MT.SEG2
    nodes = (SetOfNodes('EN1', (
        1,
        2,
    )), )
    attrs = ((AT.BORD_ISO, 'OUI'), )
    elrefe = (ElrefeLoc(
        MT.SE2,
        gauss=('RIGI=FPG2', ),
        mater=('RIGI', ),
    ), )
    calculs = (
        OP.CALC_G(
            te=282,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFR1D2D, NFORCER),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
                (SP.PTHETAR, DDL_MECA),
                (OP.CALC_G.PVARCPR, LC.ZVARCPG),
                (SP.PVITESS, DDL_MECA),
            ),
            para_out=((SP.PGTHETA, LC.EGTHETA), ),
        ),
        OP.CALC_GTP(
            te=282,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFR1D2D, 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=282,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFF1D2D, 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=282,
            para_in=(
                (SP.PACCELE, DDL_MECA),
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFF1D2D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (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_K_G(
            te=300,
            para_in=(
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFISSR, LC.CFISSR),
                (SP.PFR1D2D, NFORCER),
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PPRESSR, EPRESNO),
                (SP.PPULPRO, LC.CFREQR),
                (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=300,
            para_in=(
                (SP.PDEPLAR, DDL_MECA),
                (SP.PFF1D2D, CFORCEF),
                (SP.PFISSR, LC.CFISSR),
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PPRESSF, CPRESSF),
                (SP.PPULPRO, LC.CFREQR),
                (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_POUT3(
            te=564,
            para_in=((SP.PGEOMER, NGEOMER), ),
            para_out=((SP.PCASECT, ECASECT), ),
        ),
        OP.CARA_SECT_POUT4(
            te=564,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PORIGIN, LC.CGEOM2D),
            ),
            para_out=(
                (SP.PVECTU1, MVECTUR),
                (SP.PVECTU2, MVECTUR),
            ),
        ),
        OP.CHAR_MECA_FF1D2D(
            te=91,
            para_in=(
                (SP.PFF1D2D, CFORCEF),
                (SP.PGEOMER, NGEOMER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_FR1D2D(
            te=90,
            para_in=(
                (SP.PFR1D2D, NFORCER),
                (SP.PGEOMER, NGEOMER),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_F(
            te=89,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSF, CPRESSF),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRES_R(
            te=88,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
            ),
            para_out=((SP.PVECTUR, MVECTUR), ),
        ),
        OP.CHAR_MECA_PRSU_F(
            te=574,
            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=573,
            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=479,
            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_PRSU_F(
            te=574,
            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=573,
            para_in=(
                (SP.PDEPLMR, DDL_MECA),
                (SP.PDEPLPR, DDL_MECA),
                (SP.PGEOMER, NGEOMER),
                (SP.PPRESSR, EPRESNO),
            ),
            para_out=((SP.PMATUNS, MMATUNS), ),
        ),
        OP.TOU_INI_ELEM(
            te=99,
            para_out=((OP.TOU_INI_ELEM.PERREUR, EERREUR), ),
        ),
        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),
            ),
        ),
    )