EPSI_ELNO = Option( para_in=( SP.PCACOQU, PDEFOPG, SP.PDEPLAR, SP.PGEOMER, PNBSP_I, ), para_out=( SP.PDEFONC, SP.PDEFONO, ), condition=( CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.DISCRET, 'OUI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.MODELI, '3FI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.MODELI, 'AFI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'),
SP.PCACOQU, SP.PCAGNPO, PCAORIE, SP.PCINFDI, PCNSETO, PCOMPOR, SP.PDEPLMR, SP.PDEPLPR, SP.PFIBRES, SP.PGEOMER, PHEAVTO, PHEA_NO, PLONCHA, PLSN, PLST, SP.PMATERC, PNBSP_I, PPINTTO, PPMILTO, SP.PROTATR, PSTANO, PBASLOR, ), para_out=(SP.PVECTUR, ), condition=(CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), )), ), comment=""" SECOND MEMBRE POUR LES FORCES CENTRIFUGES (ROTATION) """, )
# # code_aster is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with code_aster. If not, see <http://www.gnu.org/licenses/>. # -------------------------------------------------------------------- # person_in_charge: jessica.haelewyn at edf.fr from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT RESI_THER_COEF_F = Option( para_in=( SP.PCOEFHF, SP.PGEOMER, SP.PTEMPEI, SP.PTEMPSR, ), para_out=(SP.PRESIDU, ), condition=(CondCalcul('+', ( (AT.PHENO, 'TH'), (AT.BORD, '-1'), )), ), )
PCHHOST, ), para_out=( PCACO3D, SP.PMATUNS, SP.PMATUUR, SP.PVECTUR, SP.PCOPRED, SP.PCODRET, PCSMTIR, PCSRTIR, SP.PSTRXPR, PCONTPR, PVARIPR, ), condition=( CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), )), CondCalcul('-', ( (AT.FLUIDE, 'OUI'), (AT.ABSO, 'OUI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.FSI, 'OUI'), )), ), )
# -------------------------------------------------------------------- # person_in_charge: jacques.pellet at edf.fr from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT PVARCPR = InputParameter(phys=PHY.VARI_R, comment=""" PVARCPR : VARIABLES DE COMMANDE """) CHAR_MECA_PTOT_R = Option( para_in=( SP.PCAMASS, SP.PGEOMER, SP.PMATERC, SP.PTEMPSR, PVARCPR, SP.PVARCRR, ), para_out=(SP.PVECTUR, ), condition=(CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), (AT.DIM_COOR_MODELI, '2'), )), ), comment=""" CHAR_MECA_PTOT_R : CALCUL DU SECOND MEMBRE CORRESPONDANT A UN CHAMP DE PRESSION DE FLUIDE POUR LA THM""", )
CHAR_MECA_HYDR_R = Option( para_in=( SP.PCAGNBA, SP.PCAMASS, PCAORIE, SP.PGEOMER, SP.PMATERC, SP.PTEMPSR, PVARCPR, SP.PVARCRR, ), para_out=(SP.PVECTUR, ), condition=( CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.INTERFACE, 'OUI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.FLUIDE, 'OUI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.MODELI, '3FI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'),
PBASLOR = InputParameter(phys=PHY.NEUT_R) CHAR_MECA_FR2D3D = Option( para_in=( PCNSETO, SP.PFR2D3D, SP.PGEOMER, PHEAVTO, PHEA_NO, PHEA_SE, PLONCHA, PLSN, PLST, PPINTTO, PPMILTO, PSTANO, PBASLOR, SP.PMATERC, ), para_out=(SP.PVECTUR, ), condition=(CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '-1'), (AT.DIM_TOPO_MODELI, '3'), )), ), comment=""" CHAR_MECA_FR2D3D (MOT-CLE : FORCE_FACE): CALCUL DU SECOND MEMBRE ELEMENTAIRE CORRESPONDANT A DES FORCES SURFACIQUES APPLIQUEES SUR UNE FACE D'UN DOMAINE 3D""", )
SP.PDEPL_M, SP.PDONCO, SP.PGEOMER, SP.PGLISS, SP.PINDCOI, PLONGCO, PLST, PLSN, PCOMPOR, PSTANO, PFISNO, SP.PHEAVNO, SP.PFISCO, PHEA_FA, PHEA_NO, SP.PMATERC, SP.PMEMCON, PPINTER, ), para_out=( PCOHESO, SP.PINCOCA, SP.PINDCOO, SP.PINDMEM, ), condition=(CondCalcul('+', ( (AT.LXFEM, 'OUI'), (AT.CONTACT, 'OUI'), )), ), )
# This file is part of code_aster. # # code_aster is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # code_aster is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with code_aster. If not, see <http://www.gnu.org/licenses/>. # -------------------------------------------------------------------- # person_in_charge: jacques.pellet at edf.fr from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT PDDLIMR = InputParameter(phys=PHY.DDLI_R) MECA_DDLI_R = Option( para_in=(PDDLIMR, ), para_out=(SP.PVECTUR, ), condition=(CondCalcul('+', ((AT.CL_DUAL, 'OUI'), )), ), )
import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT PVARCPR = InputParameter(phys=PHY.VARI_R, container='VOLA!&&CCPARA.VARI_INT_N', comment=""" PVARCPR : VARIABLES DE COMMANDE """) PMATERR = OutputParameter(phys=PHY.MATE_R, type='ELEM') MATE_ELEM = Option( para_in=( SP.PGEOMER, SP.PMATERC, PVARCPR, ), para_out=( PMATERR, ), condition=( CondCalcul('+', ((AT.PHENO,'ME'),(AT.BORD,'0'),)), CondCalcul('-', ((AT.PHENO,'ME'),(AT.MODELI,'3FL'),)), CondCalcul('-', ((AT.PHENO,'ME'),(AT.MODELI,'2FL'),)), CondCalcul('-', ((AT.PHENO,'ME'),(AT.MODELI,'3FA'),)), CondCalcul('-', ((AT.PHENO,'ME'),(AT.MODELI,'2FA'),)), CondCalcul('-', ((AT.PHENO,'ME'),(AT.MODELI,'FS2'),)), CondCalcul('-', ((AT.PHENO,'ME'),(AT.MODELI,'FSA'),)), ), )
SP.PCAGNPO, PCAORIE, PCNSETO, PCONTRR, SP.PDEPLPR, PEFFORR, SP.PFIBRES, SP.PGEOMER, SP.PHARMON, PHEAVTO, PHEA_NO, PLONCHA, PLSN, PLST, SP.PMATERC, PNBSP_I, PPINTTO, PPMILTO, PSTANO, PSTRXRR, ), para_out=( SP.PMATUUR, ), condition=( CondCalcul('+', ((AT.PHENO,'ME'),(AT.BORD,'0'),)), CondCalcul('-', ((AT.PHENO,'ME'),(AT.DISCRET,'OUI'),)), CondCalcul('-', ((AT.PHENO,'ME'),(AT.FLUIDE,'OUI'),)), ), )
PCHHOST, ), para_out=( PCACO3D, SP.PMATUNS, SP.PMATUUR, SP.PVECTUR, SP.PCODRET, PCSMTIR, PCSRTIR, PCONTPR, PVARIPR, ), condition=( CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), )), CondCalcul('+', ( (AT.FSI, 'OUI'), (AT.BORD, '-1'), (AT.FORMULATION, 'FSI_UP'), )), CondCalcul('-', ( (AT.FLUIDE, 'OUI'), (AT.ABSO, 'OUI'), )), CondCalcul('-', ( (AT.FLUIDE, 'OUI'), (AT.FSI, 'OUI'), (AT.FORMULATION, 'FSI_UPPHI'), )),
# GENERAL PUBLIC LICENSE FOR MORE DETAILS. # # YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE # ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, # 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. # ====================================================================== from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT CHAR_MECA_FORC_F = Option( para_in=( SP.PFORNOF, SP.PGEOMER, SP.PTEMPSR, ), para_out=( SP.PVECTUR, ), condition=( CondCalcul( '+', ((AT.PHENO, 'ME'), (AT.BORD, '0'), (AT.DIM_TOPO_MODELI, '0'),)), ), comment=""" CHAR_MECA_FORC_F (MOT-CLE FORCE_NODALE) : CALCUL DU SECOND MEMBRE CORRESPONDANT A DES FORCES NODALES. LES FORCES SONT DONNES SOUS FORME DE FONCTION """, )
# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, # 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. # ====================================================================== from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT CARA_CISA = Option( para_in=( SP.PGEOMER, SP.PTEMPE1, SP.PTEMPE2, ), para_out=(SP.PCASECT, ), condition=( CondCalcul('+', ( (AT.PHENO, 'TH'), (AT.BORD, '0'), (AT.DIM_TOPO_MODELI, '2'), )), CondCalcul('-', ( (AT.PHENO, 'TH'), (AT.BORD, '0'), (AT.DIM_TOPO_MODELI, '2'), (AT.AXIS, 'OUI'), )), ), )
# -------------------------------------------------------------------- # person_in_charge: jessica.haelewyn at edf.fr from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT RESI_THER_PARO_F = Option( para_in=( SP.PGEOMER, SP.PHECHPF, SP.PTEMPEI, SP.PTEMPSR, ), para_out=( SP.PRESIDU, ), condition=( CondCalcul('+', ((AT.PHENO,'TH'),(AT.BORD,'0'),(AT.MODELI,'CL1'),)), CondCalcul('+', ((AT.PHENO,'TH'),(AT.BORD,'0'),(AT.MODELI,'CL2'),)), CondCalcul('+', ((AT.PHENO,'TH'),(AT.BORD,'0'),(AT.LXFEM,'OUI'),)), ), )
import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT PVARCPR = InputParameter(phys=PHY.VARI_R, comment=""" PVARCPR : VARIABLES DE COMMANDE """) PSOUR_R = OutputParameter(phys=PHY.SOUR_R, type='ELGA') SOUR_ELGA = Option( para_in=( SP.PGEOMER, SP.PMATERC, SP.PTEMPER, SP.PTEMPSR, PVARCPR, ), para_out=( PSOUR_R, ), condition=( CondCalcul('+', ((AT.PHENO,'TH'),(AT.BORD,'0'),)), ), comment=""" SOUR_ELGA : CALCUL D'UNE SOURCE DE CHALEUR A PARTIR D'UN POTENTIEL ELECTRIQUE VIA LA LOI D'OHM """, )
# person_in_charge: xavier.desroches at edf.fr from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT CHAR_MECA_FRCO3D = Option( para_in=( SP.PCACOQU, SP.PFRCO3D, SP.PGEOMER, ), para_out=( SP.PVECTUR, ), condition=( CondCalcul( '+', ((AT.PHENO, 'ME'), (AT.COQUE, 'OUI'), (AT.BORD, '0'),)), CondCalcul('-', ((AT.PHENO, 'ME'), (AT.MODELI, 'GRM'),)), CondCalcul('-', ((AT.PHENO, 'ME'), (AT.MODELI, 'GRC'),)), CondCalcul('-', ((AT.PHENO, 'ME'), (AT.MODELI, 'MMB'),)), ), comment=""" CHAR_MECA_FFCO3D (MOT-CLE : FORCE_COQUE): CALCUL DU SECOND MEMBRE ELEMENTAIRE CORRESPONDANT A DES FORCES SURFACIQUES APPLIQUEES SUR DES ELEMENTS DE COQUE""", )
PHEA_SE = OutputParameter(phys=PHY.N512_I, type='ELEM', comment=""" XFEM - IDENTIFIANT HEAVISIDE SUR LES SOUS-ELEMENTS XFEM """) PHEA_FA = OutputParameter(phys=PHY.N240_I, type='ELEM', comment=""" XFEM - IDENTIFIANT HEAVISIDE POUR LES FACETTES DE CONTACT XFEM """) TOPONO = Option( para_in=( PCNSETO, SP.PFISCO, PFISNO, PHEAVFA, PHEAVTO, SP.PLEVSET, PLONCHA, PLONGCO, ), para_out=( PHEA_FA, PHEA_NO, PHEA_SE, ), condition=( CondCalcul('+', ((AT.LXFEM,'OUI'),)), ), comment=""" TOPONO : CALCUL DU SIGNE HEAVISIDE PAR NOEUD POUR LES ELEMENTS X-FEM """, )
# # YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE # ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, # 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. # ====================================================================== from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT CHAR_THER_TEXT_R = Option( para_in=( SP.PCOEFHR, SP.PGEOMER, SP.PTEMPER, SP.PTEMPSR, SP.PT_EXTR, ), para_out=( SP.PVECTTR, ), condition=( CondCalcul('+', ((AT.PHENO,'TH'),(AT.BORD,'-1'),)), CondCalcul('+', ((AT.PHENO,'TH'),(AT.BORD,'0'),(AT.COQUE,'OUI'),)), ), )
# # THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT # WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU # GENERAL PUBLIC LICENSE FOR MORE DETAILS. # # YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE # ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, # 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. # ====================================================================== from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT MECA_DDLI_C = Option( para_in=( SP.PDDLIMC, ), para_out=( SP.PVECTUC, ), condition=( CondCalcul('+', ((AT.CL_DUAL,'OUI'),)), ), )
# (AT YOUR OPTION) ANY LATER VERSION. # # THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT # WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU # GENERAL PUBLIC LICENSE FOR MORE DETAILS. # # YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE # ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, # 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. # ====================================================================== from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT ONDE_FLUI = Option( para_in=( SP.PGEOMER, SP.PMATERC, SP.PONDECR, ), para_out=(SP.PMATUUR, ), condition=(CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.FLUIDE, 'OUI'), (AT.BORD, '-1'), )), ), )
PSOUR_R = OutputParameter(phys=PHY.SOUR_R, type='ELNO') PHYDRPM = OutputParameter(phys=PHY.HYDR_R, type='ELNO') PFLUX_R = OutputParameter(phys=PHY.FLUX_R, type='ELNO') TOU_INI_ELNO = Option( para_in=(), para_out=( PDOMMAG, PEPSI_R, PFLUX_R, PGEOM_R, PHYDRPM, PINST_R, PNEUT_F, PNEUT_R, PPRES_R, PSIEF_R, PSOUR_R, PVARI_R, ), condition=( CondCalcul('+', ((AT.PHENO, 'ME'), )), CondCalcul('+', ((AT.PHENO, 'TH'), )), CondCalcul('+', ((AT.PHENO, 'AC'), )), CondCalcul('+', ((AT.PHENO, 'PR'), )), CondCalcul('+', ((AT.LXFEM, 'OUI'), )), ), )
SP.PCAMASS, SP.PEPSINF, SP.PGEOMER, SP.PHARMON, SP.PMATERC, SP.PTEMPSR, SP.PCAGNPO, SP.PFIBRES, SP.PCACOQU, PVARCPR, PCAORIE, PNBSP_I, PCOMPOR, SP.PCAGNBA, ), para_out=(SP.PVECTUR, ), condition=( CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.INTERFACE, 'OUI'), )), ), comment=""" CHAR_MECA_EPSI_F (MOT-CLE : EPSI_INIT): CALCUL DU SECOND MEMBRE ELEMENTAIRE CORRESPONDANT A DES DEFORMATIONS INITIALES. LES DEFORMATIONS SONT DONNEES SOUS FORME DE FONCTION """, )
SP.PDEPLMR, SP.PDONCO, SP.PGEOMER, SP.PINDCOI, PLONGCO, PLSN, PLST, SP.PMATERC, PPINTER, SP.PTYPEPI, PVARIMR, ), para_out=(PCOPILO, ), condition=( CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), )), # -- Pour les elements XFEM, cette option ne concerne que les elements 'XHC': # Mais il est difficile pour l'utilisateur de ne designer QUE les elements XHC, # c'est pour cela que l'on retire les autres elements XFEM qui les bordent : CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.LXFEM, 'OUI'), )), CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.XFEM, 'XHC'), )), ), )
phys=PHY.N120_I, container='MODL!.TOPOSE.LON', comment=""" XFEM - NBRE DE TETRAEDRES ET DE SOUS-ELEMENTS """) PCOORPG = OutputParameter(phys=PHY.GEOM_R, type='ELGA') PCOORSU = OutputParameter(phys=PHY.GEOM_R, type='ELGA') COOR_ELGA = Option( para_in=( SP.PCACOQU, SP.PCAGEPO, PCAORIE, PCNSETO, SP.PFIBRES, SP.PGEOMER, PLONCHA, PNBSP_I, PPINTTO, PPMILTO, ), para_out=( PCOORPG, PCOORSU, ), condition=( CondCalcul('+', ((AT.PHENO, 'ME'), )), CondCalcul('+', ((AT.PHENO, 'TH'), )), CondCalcul('+', ((AT.PHENO, 'AC'), )), ), )
CHAR_MECA_FF3D3D = Option( para_in=( SP.PFF3D3D, SP.PGEOMER, SP.PTEMPSR, ), para_out=(SP.PVECTUR, ), condition=( # L'attribut INTERFACE='OUI' designe les elements "ecrases". # Ils n'ont pas de "volume" et ne peuvent pas calculer ce chargement. # La modelisation 3D_DIL ('D3D') se "superpose" a une autre modelisation. # Ce n'est pas a elle de calculer les chargements repartis : CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), (AT.DIM_TOPO_MODELI, '3'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.INTERFACE, 'OUI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.MODELI, 'D3D'), )), ), comment=""" CHAR_MECA_FF3D3D (MOT-CLE : FORCE_INTERNE): CALCUL DU SECOND MEMBRE ELEMENTAIRE CORRESPONDANT A DES FORCES INTERNES APPLIQUEES A UN DOMAINE 3D. LES FORCES SONT DONNEES SOUS FORME DE FONCTION """, )
import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT # Cette option a 4 parametres in (et 4 out) # Mais un seul sert a chaque appel # Il s'agit de la combinatoire : gauss/noeu + reel/complexe EFGE_EXCENT = Option( para_in=( SP.PCACOQU, SP.PEFFOGC, SP.PEFFOGR, SP.PEFFONC, SP.PEFFONR, ), para_out=( SP.PEFFOEGC, SP.PEFFOEGR, SP.PEFFOENC, SP.PEFFOENR, ), condition=( CondCalcul('+', ((AT.PHENO,'ME'),(AT.EFGE,'OUI'),(AT.BORD,'0'),)), ), comment=""" EFGE_EXCENT : CALCUL DES EFFORTS GENERALISES DANS LE "PLAN" MOYEN DES ELEMENTS DE COQUES EXCENTREES """, )
SP.PPRESSF, SP.PROTATR, SP.PSIGINR, SP.PSIGISE, SP.PTEMPSR, SP.PTHETAR, PVARCPR, SP.PVARCRR, PVARIPR, SP.PVITESS, PSTANO, ), para_out=(SP.PGTHETA, ), condition=( CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '0'), )), CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.BORD, '-1'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.ABSO, 'OUI'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.DISCRET, 'OUI'), )), ), )
from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT CHAR_MECA_SRCO3D = Option( para_in=( SP.PDEPLMR, SP.PDEPLPR, SP.PFRCO3D, SP.PGEOMER, ), para_out=(SP.PVECTUR, ), condition=( CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.COQUE, 'OUI'), (AT.BORD, '0'), )), CondCalcul('-', ( (AT.PHENO, 'ME'), (AT.COQUE, 'OUI'), (AT.BORD, '0'), (AT.GRILLE, 'OUI'), )), ), comment=""" CHAR_MECA_SRC03D (MOT-CLE : FORCE_COQUE): CALCUL DU SECOND MEMBRE ELEMENTAIRE CORRESPONDANT A UNE PRESSION SUIVEUSE""", )
# ====================================================================== from cataelem.Tools.base_objects import InputParameter, OutputParameter, Option, CondCalcul import cataelem.Commons.physical_quantities as PHY import cataelem.Commons.parameters as SP import cataelem.Commons.attributes as AT PNBSP_I = InputParameter( phys=PHY.NBSP_I, comment= """ NOMBRE DE SOUS-POINTS (EPAISSEUR COQUES/TUYAUX) ET DE FIBRES (PMF) """) PCAORIE = InputParameter( phys=PHY.CAORIE, comment=""" ORIENTATION DES REPERES LOCAUX DES POUTRES ET TUYAUX """) COOR_ELGA_MATER = Option( para_in=( SP.PCACOQU, PCAORIE, SP.PFIBRES, SP.PGEOMER, PNBSP_I, ), para_out=(SP.PCOOPGM, ), condition=(CondCalcul('+', ( (AT.PHENO, 'ME'), (AT.SOUS_POINT, 'OUI'), )), ), )