4. Options de calcul#
On doit préciser les options de calcul de SIGM_ELEM dans un fichier catalo/cataelem/Options/sigm_elem.py:
from cataelem.Tools.base_objects import Option, CondCalcul
import cataelem.Commons.parameters as SP
import cataelem.Commons.attributes as AT
SIGM_ELEM = Option(
para_in=(SP...,),
para_out=(SP.PSIGMER,),
condition=(),),
comment=""" CALCUL DES CONTRAINTES MOYENNES PAR ELEMENT """,
)
On doit également ajouter cette option de calcul dans le catalogue des éléments finis catalo/cataelem/Elements/meca_3d.py:
[...]
OP.SIGM_ELEM(
te=336,
para_in=((OP.SIGM_ELEM..., LC...),),
para_out=((OP.SIGM_ELEM.PSIGMER, ...),),
),
[...]
On trouvera dans le catalogues des composantes locales local_components.py la bonne quantité physique en entrée.
On ajoutera une quantité physique en sortie.