4. Calculation options#
The calculation options for « SIGM_ELEM » must be specified in a file catalog/cataelem/options/sigm_elem.py
:
from Cataelem.Tools.Base_Objects import Option, CondCalculus
import Cataelem.Commons.Parameters as SP
import Cataelem.Commons.Attributes as SAT
SIGM_ELEM = Optional (
para_in= (SP...,),
para_out =( SP. PSIGMER,),
condition= (),),
comment=" "" CALCUL DES CONTRAINTES MOYENNES PAR ELEMENT """,
)
We must also add this calculation option in the finite element catalog catalo/cataelem/elements/meca_3d.py
:
[...]
OP. SIGM_ELEM (
te=336,
para_in =( (OP. SIGM_ELEM..., LC...),),
para_out =( (OP. SIGM_ELEM. PSIGMER,...),),
),
[...]
The local component catalog local_components.py
will find the right physical quantity as input.
A physical quantity will be added at the output.