示例#1
0
class THPLQL4(THPLQU4):
    """Please document this element"""
    meshType = MT.QUAD4
    elrefe = (
        ElrefeLoc(
            MT.QU4,
            gauss=(
                'RIGI=FPG4',
                'MASS=FPG4',
                'FPG1=FPG1',
                'NOEU=NOEU',
            ),
            mater=('FPG1', ),
        ),
        ElrefeLoc(
            MT.SE2,
            gauss=('RIGI=FPG2', ),
        ),
    )

    calculs = (
        OP.CARA_CISA(te=-1),
        OP.CARA_GAUCHI(te=-1),
        OP.CARA_TORSION(te=-1),
    )
示例#2
0
class THPLQL9(THPLQU4):
    """Please document this element"""
    meshType = MT.QUAD9
    elrefe = (
        ElrefeLoc(
            MT.QU9,
            gauss=(
                'RIGI=FPG9',
                'MASS=FPG9',
                'FPG1=FPG1',
                'NOEU=NOEU',
            ),
            mater=('FPG1', ),
        ),
        ElrefeLoc(
            MT.QU4,
            gauss=(
                'RIGI=FPG4',
                'MASS=FPG4',
                'NOEU=NOEU',
            ),
        ),
        ElrefeLoc(
            MT.SE2,
            gauss=('RIGI=FPG2', ),
        ),
    )

    calculs = (
        OP.CHAR_THER_TNL(te=-1),
        OP.DURT_ELNO(te=-1),
        OP.ETHE_ELEM(te=-1),
        OP.META_ELNO(te=-1),
        OP.META_INIT_ELNO(te=-1),
        OP.RIGI_THER_CONV_T(te=-1),
        OP.RIGI_THER_TRANS(te=-1),
        OP.SOUR_ELGA(te=-1),
        OP.CARA_CISA(te=-1),
        OP.CARA_GAUCHI(te=-1),
        OP.CARA_TORSION(te=-1),
        OP.CHAR_THER_SOURNL(te=-1),
        OP.RESI_THER_SOURNL(te=-1),
        OP.MTAN_THER_SOURNL(te=-1),
    )
示例#3
0
class THPLQU4(Element):
    """Please document this element"""
    meshType = MT.QUAD4
    elrefe = (
        ElrefeLoc(
            MT.QU4,
            gauss=(
                'RIGI=FPG4',
                'MASS=FPG4',
                'FPG1=FPG1',
                'NOEU=NOEU',
            ),
            mater=('FPG1', ),
        ),
        ElrefeLoc(
            MT.SE2,
            gauss=('RIGI=FPG2', ),
        ),
    )
    calculs = (

        #       Les elements axisymetriques ne devraient jamais etre utilises pour CARA_XXXX
        OP.CARA_CISA(
            te=509,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PTEMPE1, DDL_THER),
                (SP.PTEMPE2, DDL_THER),
            ),
            para_out=((SP.PCASECT, ECASECT), ),
        ),
        OP.CARA_GAUCHI(
            te=509,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PTEMPER, DDL_THER),
            ),
            para_out=((SP.PCASECT, ECASECT), ),
        ),
        OP.CARA_TORSION(
            te=509,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PTEMPER, DDL_THER),
            ),
            para_out=((SP.PCASECT, ECASECT), ),
        ),
        OP.CHAR_THER_EVOL(
            te=78,
            para_in=(
                (SP.PCAMASS, CCAMASS),
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (OP.CHAR_THER_EVOL.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((SP.PVECTTR, MVECTTR), ),
        ),
        OP.CHAR_THER_EVOLNI(
            te=244,
            para_in=(
                (OP.CHAR_THER_EVOLNI.PCOMPOR, CCOMPOR),
                (SP.PGEOMER, NGEOMER),
                (OP.CHAR_THER_EVOLNI.PHYDRPM, LC.EHYDRNO),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PTMPCHF, DDL_THER),
                (SP.PTMPCHI, DDL_THER),
                (OP.CHAR_THER_EVOLNI.PVARCPR, LC.ZVARCPG),
            ),
            para_out=(
                (SP.PVECTTI, MVECTTR),
                (SP.PVECTTR, MVECTTR),
            ),
        ),
        OP.CHAR_THER_GRAI_F(
            te=219,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PGRAINF, CGRAINF),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPSR, CTEMPSR),
                (OP.CHAR_THER_GRAI_F.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((SP.PVECTTR, MVECTTR), ),
        ),
        OP.CHAR_THER_GRAI_R(
            te=219,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PGRAINR, CGRAINR),
                (SP.PMATERC, LC.CMATERC),
                (OP.CHAR_THER_GRAI_R.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((SP.PVECTTR, MVECTTR), ),
        ),
        OP.CHAR_THER_SOURNL(
            te=354,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PSOURNL, LC.CSOURCF),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PVECTTR, MVECTTR), ),
        ),
        OP.CHAR_THER_SOUR_F(
            te=80,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PSOURCF, LC.CSOURCF),
                (SP.PTEMPSR, CTEMPSR),
                (OP.CHAR_THER_SOUR_F.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((SP.PVECTTR, MVECTTR), ),
        ),
        OP.CHAR_THER_SOUR_R(
            te=79,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PSOURCR, ESOURCR),
            ),
            para_out=((SP.PVECTTR, MVECTTR), ),
        ),
        OP.CHAR_THER_TNL(
            te=505,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PLAGRM, LC.EGNEUT1R),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPEI, DDL_THER),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PVITESR, NVITESR),
            ),
            para_out=(
                (SP.PLAGRP, LC.EGNEUT1R),
                (SP.PRESIDU, MVECTTR),
                (SP.PVECTTR, MVECTTR),
            ),
        ),
        OP.COOR_ELGA(
            te=479,
            para_in=((SP.PGEOMER, NGEOMER), ),
            para_out=((OP.COOR_ELGA.PCOORPG, EGGEOP_R), ),
        ),
        OP.DURT_ELNO(
            te=551,
            para_in=(
                (SP.PMATERC, LC.CMATERC),
                (OP.DURT_ELNO.PPHASIN, LC.EPHASNO_),
            ),
            para_out=((SP.PDURT_R, LC.EDURTNO), ),
        ),
        OP.ERTH_ELEM(
            te=3,
            para_in=(
                (SP.PCHARG, LC.CREFERK),
                (SP.PFLUX_M, EFLUXNO),
                (SP.PFLUX_P, EFLUXNO),
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PSOURCF, LC.CSOURCF),
                (SP.PSOURCR, ESOURCR),
                (SP.PTEMP_M, DDL_THER),
                (SP.PTEMP_P, DDL_THER),
                (OP.ERTH_ELEM.PVOISIN, LC.EVOISIN),
            ),
            para_out=((OP.ERTH_ELEM.PERREUR, LC.EERREURT), ),
        ),
        OP.ERTH_ELNO(
            te=379,
            para_in=((OP.ERTH_ELNO.PERREUR, LC.EERREURT), ),
            para_out=((SP.PERRENO, LC.EERRENOT), ),
        ),
        OP.ETHE_ELEM(
            te=220,
            para_in=(
                (SP.PCAMASS, CCAMASS),
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (OP.ETHE_ELEM.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((OP.ETHE_ELEM.PENERDR, EENERR), ),
        ),
        OP.FLUX_ELGA(
            te=69,
            para_in=(
                (SP.PCAMASS, CCAMASS),
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (OP.FLUX_ELGA.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((OP.FLUX_ELGA.PFLUXPG, EFLUXPG), ),
        ),
        OP.FLUX_ELNO(
            te=4,
            para_in=((OP.FLUX_ELNO.PFLUXPG, EFLUXPG), ),
            para_out=((SP.PFLUXNO, EFLUXNO), ),
        ),
        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_THER(
            te=77,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPSR, CTEMPSR),
                (OP.MASS_THER.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((OP.MASS_THER.PMATTTR, MMATTTR), ),
        ),
        OP.META_ELNO(
            te=67,
            para_in=(
                (OP.META_ELNO.PCOMPOR, CCOMPOR),
                (SP.PFTRC, LC.CFTRC),
                (SP.PMATERC, LC.CMATERC),
                (OP.META_ELNO.PPHASIN, LC.EPHASNO_),
                (SP.PTEMPAR, DDL_THER),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPIR, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PPHASNOU, LC.EPHASNO_), ),
        ),
        OP.META_INIT_ELNO(
            te=320,
            para_in=(
                (OP.META_INIT_ELNO.PCOMPOR, CCOMPOR),
                (SP.PMATERC, LC.CMATERC),
                (OP.META_INIT_ELNO.PPHASIN, LC.CPHASIN_),
                (SP.PTEMPER, DDL_THER),
            ),
            para_out=((SP.PPHASNOU, LC.EPHASNO_), ),
        ),
        OP.MTAN_RIGI_MASS(
            te=242,
            para_in=(
                (OP.MTAN_RIGI_MASS.PCOMPOR, CCOMPOR),
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPEI, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PTMPCHF, DDL_THER),
                (SP.PTMPCHI, DDL_THER),
                (OP.MTAN_RIGI_MASS.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((OP.MTAN_RIGI_MASS.PMATTTR, MMATTTR), ),
        ),
        OP.MTAN_THER_SOURNL(
            te=354,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PSOURNL, LC.CSOURCF),
                (SP.PTEMPEI, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((OP.MTAN_THER_SOURNL.PMATTTR, MMATTTR), ),
        ),
        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.REPERE_LOCAL(
            te=133,
            para_in=(
                (SP.PCAMASS, CCAMASS),
                (SP.PGEOMER, NGEOMER),
            ),
            para_out=(
                (SP.PREPLO1, LC.CGEOM2D),
                (SP.PREPLO2, LC.CGEOM2D),
            ),
        ),
        OP.RESI_RIGI_MASS(
            te=243,
            para_in=(
                (OP.RESI_RIGI_MASS.PCOMPOR, CCOMPOR),
                (SP.PGEOMER, NGEOMER),
                (OP.RESI_RIGI_MASS.PHYDRPM, LC.EHYDRNO),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPEI, DDL_THER),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PTMPCHF, DDL_THER),
                (SP.PTMPCHI, DDL_THER),
                (OP.RESI_RIGI_MASS.PVARCPR, LC.ZVARCPG),
            ),
            para_out=(
                (SP.PHYDRPP, LC.EHYDRNO),
                (SP.PRESIDU, MVECTTR),
            ),
        ),
        OP.RESI_THER_SOURNL(
            te=354,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PSOURNL, LC.CSOURCF),
                (SP.PTEMPEI, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((SP.PRESIDU, MVECTTR), ),
        ),
        OP.RIGI_THER(
            te=76,
            para_in=(
                (SP.PCAMASS, CCAMASS),
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPSR, CTEMPSR),
                (OP.RIGI_THER.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((OP.RIGI_THER.PMATTTR, MMATTTR), ),
        ),
        OP.RIGI_THER_CONV_T(
            te=502,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PNEUK24, LC.CDECENT),
                (SP.PTEMPEI, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (SP.PVITESR, NVITESR),
            ),
            para_out=((OP.RIGI_THER_CONV_T.PMATTTR, MMATTSR), ),
        ),
        OP.RIGI_THER_TRANS(
            te=501,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPEI, DDL_THER),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
            ),
            para_out=((OP.RIGI_THER_TRANS.PMATTTR, MMATTTR), ),
        ),
        OP.SOUR_ELGA(
            te=318,
            para_in=(
                (SP.PGEOMER, NGEOMER),
                (SP.PMATERC, LC.CMATERC),
                (SP.PTEMPER, DDL_THER),
                (SP.PTEMPSR, CTEMPSR),
                (OP.SOUR_ELGA.PVARCPR, LC.ZVARCPG),
            ),
            para_out=((OP.SOUR_ELGA.PSOUR_R, ESOURCR), ),
        ),
        OP.TOU_INI_ELEM(
            te=99,
            para_out=((OP.TOU_INI_ELEM.PSOUR_R, LC.CSOURCR), ),
        ),
        OP.TOU_INI_ELGA(
            te=99,
            para_out=(
                (OP.TOU_INI_ELGA.PFLUX_R, EFLUXPG),
                (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.PSOUR_R, ESOURCR),
                (SP.PTEMP_R, LC.ETEMPPG),
            ),
        ),
        OP.TOU_INI_ELNO(
            te=99,
            para_out=(
                (OP.TOU_INI_ELNO.PFLUX_R, EFLUXNO),
                (OP.TOU_INI_ELNO.PGEOM_R, ENGEOM_R),
                (OP.TOU_INI_ELNO.PHYDRPM, LC.EHYDRNO),
                (OP.TOU_INI_ELNO.PINST_R, LC.ENINST_R),
                (OP.TOU_INI_ELNO.PNEUT_F, LC.ENNEUT_F),
                (OP.TOU_INI_ELNO.PNEUT_R, LC.ENNEUT_R),
                (OP.TOU_INI_ELNO.PVARI_R, LC.EPHASNO_),
            ),
        ),
        OP.VERI_JACOBIEN(
            te=328,
            para_in=((SP.PGEOMER, NGEOMER), ),
            para_out=((SP.PCODRET, LC.ECODRET), ),
        ),
    )