# --------------------------------------------------
# definition d une classe pour les materiaux
# definition d une classe pour les groupes de mailles
-# definition d une classe pour les lois non lineaires
+# definition d une classe pour les laws non lineaires
# --------------------------------------------------
class materiau ( ASSD ) : pass
class grmaille ( ASSD ) : pass
-class loi ( ASSD ) : pass
+class law ( ASSD ) : pass
#CONTEXT.debug = 1
),
) # Fin JDC_CATA
##=========================================================
-## definition des parametres d une loi
+## definition des parametres d une law
##
## Constitution de sous bloc NONLINEAR
-## produit un objet "bloc NONLINEAR" de type (classe) loiNL
+## produit un objet "bloc NONLINEAR" de type (classe) lawNL
##------------------------------------------------
-LINEAIRE = OPER (nom = "LINEAIRE",
- UIinfo= {"groupes":("CACHE",)},
- op = None,
- repetable = 'n',
- ang= "",
- fr= "",
- sd_prod= loi,
-
- )
-LOI = OPER (nom = "LOI",
+LAW = OPER (nom = "LAW",
op = None,
repetable = 'n',
ang= "",
fr= "",
- sd_prod= loi,
+ sd_prod= law,
NATURE = SIMP (statut="o",
typ="TXM",
defaut="SPLINE",
into=("SPLINE","MARROCCO","MARROCCO+SATURATION","LINEAR"),
ang="nature of the law",
- fr ="nature de la loi",
+ fr ="nature de la law",
),
SplineParam = BLOC (condition="NATURE=='SPLINE'",
defaut="SPLINE",
into= ("SPLINE","PARABOLIC","LINEAR"),
ang="type of join between laws",
- fr ="type de jointure entre les 2 lois" ,
+ fr ="type de jointure entre les 2 law" ,
),
APPLIEDTO = SIMP (statut="o",
typ="TXM",
fr ="jointure appliquee a ",
),
), # fin BLOC MarroSatuParam
- ) # fin OPER LOI
-LINEAR=LOI(NATURE='LINEAR')
+ ) # fin OPER LAW
+LINEAR=LAW(NATURE='LINEAR')
# --------------------------------------------------
# definition de groupe de mailles
ang = " mesh group definition",
sd_prod= grmaille,
- Material = SIMP (statut="o",
+ Material = SIMP (statut="f",
typ=(materiau,),
ang="name of the linked material",
fr ="nom du materiau associe",
),
LAW = SIMP (statut="o",
- typ=loi,
+ typ=law,
defaut=LINEAR,
ang = "type of law",
- fr = "type de loi",
+ fr = "type de law",
),
HOMOGENEOUS = SIMP (statut="f",
),
LAW = SIMP (statut="o",
- typ=loi,
+ typ=law,
defaut="LINEAR",
ang = "type of law",
),
#
# NonLinearCond = BLOC (condition="LAW=='NONLINEAR'",
# NONLINEAR = SIMP (statut="o",
-# typ= (loiNL,),
+# typ= (law,),
# ang = "enter a complex value",
-# fr = "parametres de la loi non lineaire",
+# fr = "parametres de la law non lineaire",
# ),
# ),
#
# defaut="LINEAR",
# into = ("LINEAR","NONLINEAR"),
# ang = "type of law",
-# fr = "type de loi",
+# fr = "type de law",
# ),
# HOMOGENEOUS = SIMP (statut="f",
# typ="TXM",
# defaut="LINEAR",
# into = ("LINEAR","NONLINEAR"),
# ang = "type of law",
-# fr = "type de loi",
+# fr = "type de law",
# ),
# HOMOGENEOUS = SIMP (statut="f",
# typ="TXM",