-# -*- coding: utf-8 -*-
-# --------------------------------------------------
-# Copyright (C) 2007-2012 EDF R&D
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
-#
-# This library 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
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-# --------------------------------------------------
-
-import os
-import sys
-from Accas import *
-import types
-from decimal import Decimal
-# repertoire ou sont stockés le catalogue carmel3d
-# et les fichiers de donnees des materiaux de reference
-from prefs_CARMEL3D import repIni
-
-#print "catalogue carmel"
-#print "repIni = ", repIni
-
-# Version du catalogue
-VERSION_CATA = "2.3.1 for harmonic problems"
-# --------------------------------------------------
-# definition d une classe pour les materiaux
-# definition d une classe pour les sources
-# definition d une classe pour les groupes de mailles
-# --------------------------------------------------
-class material ( ASSD ) : pass
-class source ( ASSD ) : pass
-class grmaille ( ASSD ) : pass
-
-#CONTEXT.debug = 1
-# --------------------------------------------------
-# déclaration du jeu de commandes : 1ere instruction du catalogue obligatoire
-#---------------------------------------------------
-
-JdC = JDC_CATA ( code = 'CARMEL3D',
-# execmodul = None,
- regles =(
- AU_MOINS_UN ('MATERIAL'),
- AU_MOINS_UN ('SOURCE'),
- AU_MOINS_UN ('MESHGROUP'),
- ),
- ) # Fin JDC_CATA
-##=========================================================
-
-# --------------------------------------------------
-# definition de groupe de mailles
-# il est associe a un materiau ou a une source
-#---------------------------------------------------
-
-MESHGROUP = OPER (nom = "MESHGROUP",
- op = None,
- repetable = 'n',
- UIinfo= {"groupes":("Definition",)},
- fr= u"attribution d'un matériau ou d'une source à un groupe du maillage",
- ang = "mesh group association to material or source",
- sd_prod= grmaille,
- regles =(
- EXCLUS ('MATERIAL','SOURCE'),
- ),
-
-# ----------------------------------------------------------
-# le mot cle SIMP doit etre facultatif sinon la recuperation
-# des groupes de mailles sous SALOME ne fonctionne pas car
-# le concept ne peut pas etre nomme car non valide
-#-----------------------------------------------------------
- MATERIAL = SIMP (statut="f",
- typ=(material,),
- ang="name of the linked material",
- fr =u"nom du matériau associé",
- ),
- SOURCE = SIMP (statut="f",
- typ=(source,),
- ang="name of the linked source",
- fr =u"nom de la source associée",
- ),
- )
-
-
-#======================================================================
-# le fichier .PHYS contient 3 blocs et jusqu'a 3 niveaux de sous-blocs
-#
-#======================================================================
-# 1er bloc : bloc VERSION
-# ce bloc est volontairement cache dans l IHM
-#===================================================
-
-VERSION = PROC ( nom = "VERSION",
- op = None,
- repetable = 'n',
- UIinfo= {"groupes":("CACHE",)},
- ang= "version block definition",
-
-#----------------------
-# Liste des parametres
-#----------------------
-
- NUM = SIMP (statut="o",
- typ="I",
- defaut=1,
- ang="version number of the physical model",
- into=( 1,),
- ),
- FILETYPE = SIMP (statut="o",
- typ="TXM",
- defaut="PHYS",
- ang="file type",
- into=( "PHYS",),
- ),
-
-) # Fin PROC VERSION
-
-#===================================================================
-# 2eme bloc : bloc MATERIALS
-#===================================================================
-# definition des matériaux utilisateurs
-# a partir des materiaux de reference ou de materiaux generiques
-#-------------------------------------------------------------------
-#
-MATERIAL = OPER (nom = "MATERIAL",
- op = None,
- repetable = 'n',
- ang= "material block definition",
- fr= u"définition d'un matériau",
- sd_prod= material,
-
-#---------------------------------------------------------------------
-# liste des matériaux de reference fournis par THEMIS et des
-# materiaux generiques (les materiaux generiques peuvent etre utilises
-# si aucun materiau de reference ne convient)
-#---------------------------------------------------------------------
- MAT_REF = SIMP(statut='o',
- typ='TXM',
- into=(
-# matériaux génériques
- "DIELECTRIC",
- "CONDUCTOR",
- "ZINSULATOR","ZSURFACIC",
- "NILMAT","EM_ISOTROPIC","EM_ANISOTROPIC",
-# type CONDUCTOR lineaire
- "ACIER_Noir","ACIER_PE","ACIER_CIMBLOT",
- "ALU","BRONZE","CUIVRE",
- "FERRITE_Mn_Zn","FERRITE_Ni_Zn",
- "INCONEL600",
- "POTASSE",
-# type CONDUCTOR non lineaire
- "M6X2ISO1",
-# type DIELECTRIC
- "AIR","FERRITEB30",
- "FEV470","FEV600","FEV800","FEV1000",
- "E24","HA600",
- "M600_65",
-# type EM_ANISO
- "M6X","M6X_lineaire","M6X_homog",
- ),
- ang = "reference materials list",
- fr = u"liste des matériaux de référence",
- ),
-
-##############################################################################
-# Remarque generale a tous les materiaux :
-# pour conserver l'affichage scientifique le nombre derriere l'exposant doit
-# etre strictement superieur au nombre de decimales
-#
-
-##--------------------------------------------------------------------
-# materiau generique diélectrique (préfixe NOCOND dans le maillage)
-#---------------------------------------------------------------------
- DIELECTRIC_properties = BLOC(condition="MAT_REF=='DIELECTRIC'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
-#
-#
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr =u"propriétés du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE","FALSE"),
- ang = "the material is homogeneous or not",
- fr = u"le matériau est homogène ou non",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE","FALSE"),
- ang = "the material is isotropic or not",
- fr = u"le matériau est isotrope ou non",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_COMPLEX",
- into = ("LINEAR_COMPLEX","LINEAR_REAL","NONLINEAR"),
- ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials",
- fr = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = u"saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.0,
- ang = "enter a real relative value",
- fr = u"saisir une valeur réelle relative",
- ),
- ), # fin bloc
- NONLINEAR_ISOTROPIC_LAW_PROPERTIES = BLOC (condition="TYPE_LAW=='NONLINEAR' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "Relative linear permeability value, also used at first nonlinear iteration",
- fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="MARROCCO",
- into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"),
- ang = "nature law",
- fr = u"nature de la loi",
- ),
- SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'",
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- ang="data file name",
- fr =u"nom du fichier contenant les mesures expérimentales B(H)",
- ),
- ), # Fin BLOC SPLINE_PROPERTIES
- MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')",
- ALPHA = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="alpha parameter",
- fr =u"paramètre alpha de la loi de Marrocco" ,
- ),
- TAU = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="tau parameter",
- fr =u"paramètre tau de la loi de Marrocco" ,
- ),
- C = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="c parameter",
- fr =u"paramètre c de la loi de Marrocco" ,
- ),
- EPSILON = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="epsilon parameter",
- fr =u"paramètre epsilon de la loi de Marrocco" ,
- ),
- ), # Fin BLOC MARROCCO_LAW_PROPERTIES
- SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'",
- BMAX = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="intersection B",
- fr ="intersection B" ,
- ),
- HSAT = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="H value",
- fr ="valeur H" ,
- ),
- BSAT = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="B value",
- fr ="valeur B" ,
- ),
- JOIN = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into= ("SPLINE","PARABOLIC","LINEAR"),
- ang="type of join between laws",
- fr =u"type de raccord entre la loi choisie et la loi de saturation" ,
- ),
- ), # Fin BLOC SATURATION_LAW_PROPERTIES
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="join applied to",
- fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.",
- ),
-
- ), # Fin BLOC NONLINEAR_LAW_PROPERTIES
- ), # fin FACT PERMEABILITY
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE","FALSE"),
- ang = "the material is homogeneous or not",
- fr = u"le matériau est homogène ou non",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE","FALSE"),
- ang = "the material is isotropic or not",
- fr = u"le matériau est isotrope ou non",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_COMPLEX",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC DIELECTRIC
-
-
-##--------------------------------------------------------------------
-# materiau generique conducteur (type COND dans le maillage)
-#---------------------------------------------------------------------
- CONDUCTOR_properties = BLOC(condition="MAT_REF=='CONDUCTOR'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
-#
-#
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr =u"propriétés du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE","FALSE"),
- ang = "the material is homogeneous or not",
- fr = u"le matériau est homogène ou non",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE","FALSE"),
- ang = "the material is isotropic or not",
- fr = u"le matériau est isotrope ou non",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_COMPLEX",
- into = ("LINEAR_COMPLEX","LINEAR_REAL","NONLINEAR"),
- ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials",
- fr = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = u"saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.0,
- ang = "enter a real relative value",
- fr = u"saisir une valeur réelle relative",
- ),
- ), # fin bloc
- NONLINEAR_ISOTROPIC_LAW_PROPERTIES = BLOC (condition="TYPE_LAW=='NONLINEAR' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "Relative linear permeability value, also used at first nonlinear iteration",
- fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="MARROCCO",
- into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"),
- ang = "nature law",
- fr = u"nature de la loi",
- ),
- SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'",
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- ang="data file name",
- fr =u"nom du fichier contenant les mesures expérimentales B(H)",
- ),
- ), # Fin BLOC SPLINE_PROPERTIES
- MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')",
- ALPHA = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="alpha parameter",
- fr =u"paramètre alpha de la loi de Marrocco" ,
- ),
- TAU = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="tau parameter",
- fr =u"paramètre tau de la loi de Marrocco" ,
- ),
- C = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="c parameter",
- fr =u"paramètre c de la loi de Marrocco" ,
- ),
- EPSILON = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="epsilon parameter",
- fr =u"paramètre epsilon de la loi de Marrocco" ,
- ),
- ), # Fin BLOC MARROCCO_LAW_PROPERTIES
- SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'",
- BMAX = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="intersection B",
- fr ="intersection B" ,
- ),
- HSAT = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="H value",
- fr ="valeur H" ,
- ),
- BSAT = SIMP (statut="o",
- typ="R",
- defaut=0,
- val_min=0,
- ang="B value",
- fr ="valeur B" ,
- ),
- JOIN = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into= ("SPLINE","PARABOLIC","LINEAR"),
- ang="type of join between laws",
- fr =u"type de raccord entre la loi choisie et la loi de saturation" ,
- ),
- ), # Fin BLOC SATURATION_LAW_PROPERTIES
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="join applied to",
- fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.",
- ),
-
- ), # Fin BLOC NONLINEAR_LAW_PROPERTIES
- ), # fin FACT PERMEABILITY
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE","FALSE"),
- ang = "the material is homogeneous or not",
- fr = u"le matériau est homogène ou non",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE","FALSE"),
- ang = "the material is isotropic or not",
- fr = u"le matériau est isotrope ou non",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT CONDUCTIVITY
-
- ), # fin BLOC CONDUCTOR
-
-
-###################################################################################################
-# ----------------------------------------
-# sous bloc niveau 1 : ZSURFACIC
-#i----------------------------------------
-# materiau generique de type ZSURFASIC
-#-----------------------------------------
- ZSURFACIC_properties = BLOC(condition="MAT_REF=='ZSURFACIC'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.0,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.0,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
- ), # fin FACT PERMEABILITY
-
- ), # fin bloc ZSURFACIC_properties
-
-###################################################################################################
-#---------------------------------------------
-# sous bloc niveau 1
-#---------------------------------------
-# matériau generique de type ZINSULATOR
-#---------------------------------------
-
-# aucun parametre a saisir pour ce materiau
-
-
-###################################################################################################
-#---------------------------------------------
-# sous bloc niveau 1
-#---------------------------------------------
-# matériau generique de type NILMAT (fictif)
-#---------------------------------------------
-
-# aucun parametre a saisir pour ce materiau
-
-
-###################################################################################################
-#----------------------------------------------------------
-# sous bloc niveau 1 : EM_ISOTROPIC_FILES
-#-------------------------------------------------
-# matériau isotropique non homogene generique
-#-------------------------------------------------
- EM_ISOTROPIC_properties=BLOC(condition="MAT_REF=='EM_ISOTROPIC'",
-
- CONDUCTIVITY_File = SIMP (statut="o",
- typ=("Fichier",'MED Files (*.med)',),
- ang="CONDUCTIVITY MED data file name",
- fr = u"nom du fichier MED CONDUCTIVITY",
- ),
- PERMEABILITY_File = SIMP (statut="o",
- typ=("Fichier",'MED Files (*.med)',),
- ang="PERMEABILITY MED data file name",
- fr = u"nom du fichier MED PERMEABILITY",
- ),
- ), # fin bloc EM_ISOTROPIC_properties
-
-
-#---------------------------------------------------
-# matériau anisotropique non homogene generique
-#---------------------------------------------------
- EM_ANISOTROPIC_properties=BLOC(condition="MAT_REF=='EM_ANISOTROPIC'",
-
- PERMEABILITY_File = SIMP (statut="o",
- typ=("Fichier",'.mater Files (*.mater)',),
- ang="PERMEABILITY .mater data file name",
- fr ="nom du fichier .mater PERMEABILITY",
- ),
- CONDUCTIVITY_File = SIMP (statut="o",
- typ=("Fichier",'.mater Files (*.mater)',),
- ang="CONDUCTIVITY .mater data file name",
- fr ="nom du fichier .mater CONDUCTIVITY",
- ),
- ), # fin bloc EM_ANISOTROPIC_properties
-
-
-#------------------------------------------------------
-# sous bloc niveau 1 : CONDUCTOR
-#------------------------------------------------------
-# materiau de reference type CONDUCTOR lineaire : ALU
-#------------------------------------------------------
- ALU_properties = BLOC(condition="MAT_REF=='ALU'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('3.448E7'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.000000,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor1
-
-#--------------------------------------------------------
-# materiau de reference type CONDUCTOR lineaire : BRONZE
-#--------------------------------------------------------
- BRONZE_properties = BLOC(condition="MAT_REF=='BRONZE'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.00000E6'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=3.000000,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor2
-
-#---------------------------------------------------
-# materiau de reference type CONDUCTOR lineaire : INCONEL600
-#----------------------------------------------------
- INCONEL600_properties = BLOC(condition="MAT_REF=='INCONEL600'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('9.7000E5'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.010000,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor3
-
-#---------------------------------------------------------------------
-# materiau de reference de type CONDUCTOR lineaire : FERRITE Mn Zn
-#---------------------------------------------------------------------
- FERRITE_Mn_Zn_properties = BLOC(condition="MAT_REF=='FERRITE_Mn_Zn'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E1'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.25E3'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor4
-
-#------------------------------------------------------------------
-# materiau de reference de type CONDUCTOR lineaire : FERRITE Ni Zn
-#------------------------------------------------------------------
- FERRITE_Ni_Zn_properties = BLOC(condition="MAT_REF=='FERRITE_Ni_Zn'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0000E-6'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.50000E1'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor5
-
-#-------------------------------------------------------------
-# materiau de reference type CONDUCTOR lineaire : ACIER Noir
-#-------------------------------------------------------------
- ACIER_Noir_properties = BLOC(condition="MAT_REF=='ACIER_Noir'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('6.00000E6'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E2'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor6
-
-
-#------------------------------------------------------------
-# materiau de reference type CONDUCTOR lineaire : ACIER PE
-#------------------------------------------------------------
- ACIER_PE_properties = BLOC(condition="MAT_REF=='ACIER_PE'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.75000E6'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('7.0E1'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor7
-
-#---------------------------------------------------------------
-# materiau de reference type CONDUCTOR lineaire : ACIER CIMBLOT
-#---------------------------------------------------------------
- ACIER_CIMBLOT_properties = BLOC(condition="MAT_REF=='ACIER_CIMBLOT'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('3.00000E6'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('5.00000E1'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor8
-
-#----------------------------------------------------------------
-# materiau de reference type CONDUCTOR lineaire : CUIVRE
-#----------------------------------------------------------------
- CUIVRE_properties = BLOC(condition="MAT_REF=='CUIVRE'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('5.85E7'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.000000,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor9
-
-#---------------------------------------------------------
-# materiau de reference type CONDUCTOR lineaire : POTASSE
-#---------------------------------------------------------
- POTASSE_properties = BLOC(condition="MAT_REF=='POTASSE'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('7.143E1'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT CONDUCTIVITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMEABILITY
-
- ), # fin BLOC conductor10
-
-#----------------------------------------------------------------
-# materiau de reference de type CONDUCTOR non lineaire : M6X2ISO1
-#----------------------------------------------------------------
- M6X2ISO1_properties = BLOC(condition="MAT_REF=='M6X2ISO1'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="NONLINEAR",
- into = ("NONLINEAR"),
- ang = "non linear law",
- fr = "loi non lineaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into = ("SPLINE"),
- ang = "nature law",
- fr = "nature de la loi",
- ),
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
-
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- defaut=str(repIni)+"/M6X2ISO1",
- ang="data file name",
- fr ="nom du fichier",
- ),
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="spline applied to",
- fr ="spline appliquee a ",
- ),
-
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : CONDUCTIVITY
-#------------------------------------------------
- CONDUCTIVITY = FACT ( statut="o",
- ang ="Conductivity properties",
- fr ="proprietes du bloc CONDUCTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.724E6'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT CONDUCTIVITY
- ), # fin BLOC
-
-
-##-----------------------------------------------------
-# materiau de reference de type DIELECTRIC lineaire : AIR
-#------------------------------------------------------
- AIR_properties = BLOC(condition="MAT_REF=='AIR'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
-
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.000000,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.000000,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC DIELECTRIC
-#
-##-------------------------------------------------------------
-# materiau de reference de type DIELECTRIC lineaire : FERRITE B30
-#--------------------------------------------------------------
- FERRITEB30_properties = BLOC(condition="MAT_REF=='FERRITEB30'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
-
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.10E3'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_COMPLEX","LINEAR_REAL"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc
-
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=1.000000,
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC DIELECTRIC
-#--------------------------------------------------------
-# materiau de reference de type DIELECTRIC non lineaire : E24
-#--------------------------------------------------------
- E24_properties = BLOC(condition="MAT_REF=='E24'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="NONLINEAR",
- into = ("NONLINEAR"),
- ang = "non linear law",
- fr = "loi non lineaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into = ("SPLINE"),
- ang = "nature law",
- fr = "nature de la loi",
- ),
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
-
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- defaut=str(repIni)+"/E24",
- ang="data file name",
- fr ="nom du fichier",
- ),
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="spline applied to",
- fr ="spline appliquee a ",
- ),
-
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT PERMITTIVITY
- ), # fin BLOC E24
-
-##------------------------------------------------------------
-# materiau de reference de type DIELECTRIC non lineaire : FEV470
-#-------------------------------------------------------------
- FEV470_properties = BLOC(condition="MAT_REF=='FEV470'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="NONLINEAR",
- into = ("NONLINEAR"),
- ang = "non linear law",
- fr = "loi non lineaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into = ("SPLINE"),
- ang = "nature law",
- fr = "nature de la loi",
- ),
-
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
-
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- defaut=str(repIni)+"/FEV470",
- ang="data file name",
- fr ="nom du fichier",
- ),
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="spline applied to",
- fr ="spline appliquee a ",
- ),
-
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC FEV470
-
-##---------------------------------------------------------
-# materiau de reference de type DIELECTRIC : FEV600
-#----------------------------------------------------------
- FEV600_properties = BLOC(condition="MAT_REF=='FEV600'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="NONLINEAR",
- into = ("NONLINEAR"),
- ang = "non linear law",
- fr = "loi non lineaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into = ("SPLINE"),
- ang = "nature law",
- fr = "nature de la loi",
- ),
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
-
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- defaut=str(repIni)+"/FEV600",
- ang="data file name",
- fr ="nom du fichier",
- ),
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="spline applied to",
- fr ="spline appliquee a ",
- ),
-
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC FEV600
-
-##---------------------------------------------------------
-# materiau de reference de type DIELECTRIC : FEV800
-#----------------------------------------------------------
- FEV800_properties = BLOC(condition="MAT_REF=='FEV800'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="NONLINEAR",
- into = ("NONLINEAR"),
- ang = "non linear law",
- fr = "loi non lineaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into = ("SPLINE"),
- ang = "nature law",
- fr = "nature de la loi",
- ),
-
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
-
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- defaut=str(repIni)+"/FEV800",
- ang="data file name",
- fr ="nom du fichier",
- ),
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="spline applied to",
- fr ="spline appliquee a ",
- ),
-
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC FEV800
-
-##-----------------------------------------------
-# materiau de reference de type DIELECTRIC : FEV1000
-#------------------------------------------------
- FEV1000_properties = BLOC(condition="MAT_REF=='FEV1000'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="NONLINEAR",
- into = ("NONLINEAR"),
- ang = "non linear law",
- fr = "loi non lineaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into = ("SPLINE"),
- ang = "nature law",
- fr = "nature de la loi",
- ),
-
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
-
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- defaut=str(repIni)+"/FEV1000",
- ang="data file name",
- fr ="nom du fichier",
- ),
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="spline applied to",
- fr ="spline appliquee a ",
- ),
-
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC FEV1000
-
-##----------------------------------------------------------
-# materiau de reference de type DIELECTRIC : HA600
-#-----------------------------------------------------------
- HA600_properties = BLOC(condition="MAT_REF=='HA600'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="NONLINEAR",
- into = ("NONLINEAR"),
- ang = "non linear law",
- fr = "loi non lineaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into = ("SPLINE"),
- ang = "nature law",
- fr = "nature de la loi",
- ),
-
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
-
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- defaut=str(repIni)+"/HA600",
- ang="data file name",
- fr ="nom du fichier",
- ),
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="spline applied to",
- fr ="spline appliquee a ",
- ),
-
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC HA600
-
-##-----------------------------------------------
-# materiau de reference de type DIELECTRIC : M600_65
-#------------------------------------------------
- M600_65_properties = BLOC(condition="MAT_REF=='M600_65'",
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMEABILITY
-#------------------------------------------------
- PERMEABILITY = FACT ( statut="o",
- ang ="Permeability properties",
- fr ="proprietes du bloc PERMEABILITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="NONLINEAR",
- into = ("NONLINEAR"),
- ang = "non linear law",
- fr = "loi non lineaire",
- ),
- NATURE = SIMP (statut="o",
- typ="TXM",
- defaut="SPLINE",
- into = ("SPLINE"),
- ang = "nature law",
- fr = "nature de la loi",
- ),
-
- VALUE = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
-
- FILENAME = SIMP (statut="o",
- typ=("Fichier",'All Files (*)',),
- defaut=str(repIni)+"/M600_65",
- ang="data file name",
- fr ="nom du fichier",
- ),
- APPLIEDTO = SIMP (statut="o",
- typ="TXM",
- into=("B(H)&H(B)","B(H)","H(B)"),
- defaut="B(H)&H(B)",
- ang="spline applied to",
- fr ="spline appliquee a ",
- ),
-
- ), # fin FACT PERMEABILITY
-
-#------------------------------------------------
-# sous bloc niveau 2 : PERMITTIVITY
-#------------------------------------------------
- PERMITTIVITY = FACT ( statut="o",
- ang ="Permittivity properties",
- fr ="proprietes du bloc PERMITTIVITY",
-
- HOMOGENEOUS = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is homogeneous",
- fr = "le materiau est homogene",
- ),
- ISOTROPIC = SIMP (statut="o",
- typ="TXM",
- defaut="TRUE",
- into = ("TRUE"),
- ang = "the material is isotropic",
- fr = "le materiau est isotrope",
- ),
-
- TYPE_LAW = SIMP (statut="o",
- typ="TXM",
- defaut="LINEAR_REAL",
- into = ("LINEAR_REAL","LINEAR_COMPLEX"),
- ang = "linear law",
- fr = "loi lineaire",
- ),
- val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",
- VALUE_REAL = SIMP (statut="o",
- typ="R",
- defaut=Decimal('1.0E0'),
- ang = "enter a real relative value",
- fr = "saisir une valeur reelle relative",
- ),
- ), # fin bloc real
-
- val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",
- VALUE_COMPLEX = SIMP (statut="o",
- typ="C",
- defaut=('RI',1,0),
- ang = "enter a complex relative value",
- fr = "saisir une valeur complexe relative",
- ),
- ), # fin bloc complex
-
- ), # fin FACT PERMITTIVITY
-
- ), # fin BLOC M600_65
-
-###################################################################################################
-#----------------------------------------------------------
-# sous bloc niveau 1 : EM_ANISOTROPIC_FILES
-##---------------------------------------------------------
-# materiau de reference anisotrope non homogene : M6X
-#----------------------------------------------------------
- M6X_properties=BLOC(condition="MAT_REF=='M6X'",
-
- PERMEABILITY_File = SIMP (statut="o",
- typ=("Fichier",'.mater Files (*.mater)',),
- defaut=str(repIni)+"/M6X_mu.mater",
- ang="PERMEABILITY .mater data file name",
- fr ="nom du fichier .mater PERMEABILITY",
- ),
- PERMITTIVITY_File = SIMP (statut="o",
- typ=("Fichier",'.mater Files (*.mater)',),
- defaut=str(repIni)+"/M6X_epsilon.mater",
- ang="PERMITTIVITY .mater data file name",
- fr ="nom du fichier .mater PERMITTIVITY",
- ),
- ), # fin bloc EM_ANISOTROPIC
-
-##--------------------------------------------------------------
-# materiau de reference anisotrope non homogene : M6X_lineaire
-#---------------------------------------------------------------
- M6X_lineaire_properties=BLOC(condition="MAT_REF=='M6X_lineaire'",
-
- PERMEABILITY_File = SIMP (statut="o",
- typ=("Fichier",'.mater Files (*.mater)',),
- defaut=str(repIni)+"/M6X_lineaire_mu.mater",
- ang="PERMEABILITY .mater data file name",
- fr ="nom du fichier .mater PERMEABILITY",
- ),
- CONDUCTIVITY_File = SIMP (statut="o",
- typ=("Fichier",'.mater Files (*.mater)',),
- defaut=str(repIni)+"/M6X_lineaire_sigma.mater",
- ang="CONDUCTIVITY .mater data file name",
- fr ="nom du fichier .mater CONDUCTIVITY",
- ),
- ), # fin bloc EM_ANISOTROPIC
-
-##--------------------------------------------------------------
-# materiau de reference anisotrope non homogene : M6X_homog
-#---------------------------------------------------------------
- M6X_homog_properties=BLOC(condition="MAT_REF=='M6X_homog'",
-
- PERMEABILITY_File = SIMP (statut="o",
- typ=("Fichier",'.mater Files (*.mater)',),
- defaut=str(repIni)+"/M6X_homog_mu.mater",
- ang="PERMEABILITY .mater data file name",
- fr ="nom du fichier .mater PERMEABILITY",
- ),
- CONDUCTIVITY_File = SIMP (statut="o",
- typ=("Fichier",'.mater Files (*.mater)',),
- defaut=str(repIni)+"/M6X_homog_sigma.mater",
- ang="CONDUCTIVITY .mater data file name",
- fr ="nom du fichier .mater CONDUCTIVITY",
- ),
- ), # fin bloc M6X_homog_properties
-
- ) # fin OPER Materials
-
-#===================================================================
-# 3eme bloc : bloc SOURCES
-#====================================================================
-# definition des differentes sources qui seront dans le bloc SOURCES
-#-------------------------------------------------------------------
-#
-
-SOURCE = OPER ( nom = "SOURCE",
- op = None,
- repetable = 'n',
- ang = "source definition",
- fr = u"définition d'une source",
- sd_prod= source,
-
- TYPE_SOURCE = SIMP (statut="o",
- typ="TXM",
- into=("STRANDED_INDUCTOR","HPORT","EPORT"),
- fr=u"type de source",
- ang="type of source",
- ),
-
-
-#----------------------------------------------------------
-# sous bloc niveau 1 : stranded inductor source
-##---------------------------------------------------------
- st_ind_properties = BLOC(condition="TYPE_SOURCE=='STRANDED_INDUCTOR'",
-
- NTURNS = SIMP (statut="o",
- typ="I",
- defaut=1,
- ang="number of turns in the inductor",
- fr="nombre de tours dans l inducteur",
- ),
- CURJ = SIMP (statut="o",
- typ="C",
- defaut=('MP',1,0),
- ang = "enter the current value (magnitude and polarization in degrees) as a complex number",
- fr = u"saisir la valeur du courant (amplitude et phase en degrés) sous la forme d'un nombre complexe",
- ),
- ), # fin bloc stranded inductor
-
-#----------------------------------------------------------
-# sous bloc niveau 1 : eport source
-#----------------------------------------------------------
- eport_properties = BLOC(condition="TYPE_SOURCE=='EPORT'",
-
- TYPE = SIMP (statut="o",
- typ="TXM",
- into=("VOLTAGE","CURRENT"),
- fr="type de eport source",
- ang="type of eport source",
- ),
- AMP = SIMP (statut="o",
- typ="C",
- defaut=('MP',1,0),
- ang = "enter the amplitude value (magnitude and polarization in degrees) as a complex number",
- fr = u"saisir la valeur de l'amplitude (amplitude et phase en degrés) sous la forme d'un nombre complexe",
- ),
-
- ), # fin bloc eport
-
-#----------------------------------------------------------
-# sous bloc niveau 1 : hport source
-#----------------------------------------------------------
- hport_properties = BLOC(condition="TYPE_SOURCE=='HPORT'",
- TYPE = SIMP (statut="o",
- typ="TXM",
- into=("VOLTAGE","CURRENT"),
- fr="type de hport source",
- ang="type of hport source",
- ),
- AMP = SIMP (statut="o",
- typ="C",
- defaut=('MP',1,0),
- ang = "enter the amplitude value (magnitude and polarization in degrees) as a complex number",
- fr = u"saisir la valeur de l'amplitude (amplitude et phase en degrés) sous la forme d'un nombre complexe",
- ),
- ), # fin bloc hport
-) # Fin OPER SOURCE
-
+# -*- coding: utf-8 -*-\r
+# --------------------------------------------------\r
+# Copyright (C) 2007-2012 EDF R&D\r
+#\r
+# This library is free software; you can redistribute it and/or\r
+# modify it under the terms of the GNU Lesser General Public\r
+# License as published by the Free Software Foundation; either\r
+# version 2.1 of the License.\r
+#\r
+# This library is distributed in the hope that it will be useful,\r
+# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+# Lesser General Public License for more details.\r
+#\r
+# You should have received a copy of the GNU Lesser General Public\r
+# License along with this library; if not, write to the Free Software\r
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+#\r
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
+#\r
+# --------------------------------------------------\r
+\r
+import os\r
+import sys\r
+from Accas import *\r
+import types\r
+from decimal import Decimal\r
+# repertoire ou sont stockés le catalogue carmel3d \r
+# et les fichiers de donnees des materiaux de reference\r
+from prefs_CARMEL3D import repIni\r
+\r
+#print "catalogue carmel"\r
+#print "repIni = ", repIni\r
+\r
+# Version du catalogue\r
+VERSION_CATA = "2.3.1 for harmonic problems"\r
+# --------------------------------------------------\r
+# definition d une classe pour les materiaux\r
+# definition d une classe pour les sources\r
+# definition d une classe pour les groupes de mailles\r
+# --------------------------------------------------\r
+class material ( ASSD ) : pass\r
+class source ( ASSD ) : pass\r
+class grmaille ( ASSD ) : pass\r
+\r
+#CONTEXT.debug = 1\r
+# --------------------------------------------------\r
+# déclaration du jeu de commandes : 1ere instruction du catalogue obligatoire \r
+#---------------------------------------------------\r
+\r
+JdC = JDC_CATA ( code = 'CARMEL3D',\r
+# execmodul = None,\r
+ regles =(\r
+ AU_MOINS_UN ('MATERIAL'),\r
+ AU_MOINS_UN ('SOURCE'),\r
+ AU_MOINS_UN ('MESHGROUP'),\r
+ ),\r
+ ) # Fin JDC_CATA\r
+##=========================================================\r
+\r
+# --------------------------------------------------\r
+# definition de groupe de mailles\r
+# il est associe a un materiau ou a une source\r
+#---------------------------------------------------\r
+\r
+MESHGROUP = OPER (nom = "MESHGROUP",\r
+ op = None,\r
+ repetable = 'n',\r
+ UIinfo= {"groupes":("Definition",)},\r
+ fr= u"attribution d'un matériau ou d'une source à un groupe du maillage", \r
+ ang = "mesh group association to material or source", \r
+ sd_prod= grmaille,\r
+ regles =(\r
+ EXCLUS ('MATERIAL','SOURCE'),\r
+ ),\r
+\r
+# ----------------------------------------------------------\r
+# le mot cle SIMP doit etre facultatif sinon la recuperation \r
+# des groupes de mailles sous SALOME ne fonctionne pas car \r
+# le concept ne peut pas etre nomme car non valide\r
+#-----------------------------------------------------------\r
+ MATERIAL = SIMP (statut="f",\r
+ typ=(material,),\r
+ ang="name of the linked material",\r
+ fr =u"nom du matériau associé",\r
+ ), \r
+ SOURCE = SIMP (statut="f",\r
+ typ=(source,),\r
+ ang="name of the linked source",\r
+ fr =u"nom de la source associée",\r
+ ), \r
+ )\r
+\r
+\r
+#======================================================================\r
+# le fichier .PHYS contient 3 blocs et jusqu'a 3 niveaux de sous-blocs\r
+# \r
+#======================================================================\r
+# 1er bloc : bloc VERSION\r
+# ce bloc est volontairement cache dans l IHM \r
+#===================================================\r
+\r
+VERSION = PROC ( nom = "VERSION",\r
+ op = None,\r
+ repetable = 'n',\r
+ UIinfo= {"groupes":("CACHE",)},\r
+ ang= "version block definition", \r
+\r
+#----------------------\r
+# Liste des parametres\r
+#----------------------\r
+ \r
+ NUM = SIMP (statut="o",\r
+ typ="I",\r
+ defaut=1, \r
+ ang="version number of the physical model", \r
+ into=( 1,),\r
+ ),\r
+ FILETYPE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="PHYS", \r
+ ang="file type",\r
+ into=( "PHYS",),\r
+ ),\r
+\r
+) # Fin PROC VERSION\r
+\r
+#===================================================================\r
+# 2eme bloc : bloc MATERIALS\r
+#===================================================================\r
+# definition des matériaux utilisateurs \r
+# a partir des materiaux de reference ou de materiaux generiques\r
+#-------------------------------------------------------------------\r
+#\r
+MATERIAL = OPER (nom = "MATERIAL",\r
+ op = None,\r
+ repetable = 'n',\r
+ ang= "material block definition", \r
+ fr= u"définition d'un matériau", \r
+ sd_prod= material,\r
+\r
+#---------------------------------------------------------------------\r
+# liste des matériaux de reference fournis par THEMIS et des\r
+# materiaux generiques (les materiaux generiques peuvent etre utilises \r
+# si aucun materiau de reference ne convient) \r
+#---------------------------------------------------------------------\r
+ MAT_REF = SIMP(statut='o',\r
+ typ='TXM',\r
+ into=(\r
+# matériaux génériques \r
+ "DIELECTRIC",\r
+ "CONDUCTOR",\r
+ "ZINSULATOR","ZSURFACIC",\r
+ "NILMAT","EM_ISOTROPIC","EM_ANISOTROPIC",\r
+# type CONDUCTOR lineaire \r
+ "ACIER_Noir","ACIER_PE","ACIER_CIMBLOT",\r
+ "ALU","BRONZE","CUIVRE",\r
+ "FERRITE_Mn_Zn","FERRITE_Ni_Zn",\r
+ "INCONEL600",\r
+ "POTASSE",\r
+# type CONDUCTOR non lineaire \r
+ "M6X2ISO1", \r
+# type DIELECTRIC \r
+ "AIR","FERRITEB30",\r
+ "FEV470","FEV600","FEV800","FEV1000",\r
+ "E24","HA600",\r
+ "M600_65",\r
+# type EM_ANISO \r
+ "M6X","M6X_lineaire","M6X_homog", \r
+ ),\r
+ ang = "reference materials list",\r
+ fr = u"liste des matériaux de référence",\r
+ ),\r
+\r
+##############################################################################\r
+# Remarque generale a tous les materiaux : \r
+# pour conserver l'affichage scientifique le nombre derriere l'exposant doit\r
+# etre strictement superieur au nombre de decimales \r
+#\r
+\r
+##--------------------------------------------------------------------\r
+# materiau generique diélectrique (préfixe NOCOND dans le maillage)\r
+#---------------------------------------------------------------------\r
+ DIELECTRIC_properties = BLOC(condition="MAT_REF=='DIELECTRIC'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+#\r
+#\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr =u"propriétés du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE","FALSE"),\r
+ ang = "the material is homogeneous or not",\r
+ fr = u"le matériau est homogène ou non",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE","FALSE"),\r
+ ang = "the material is isotropic or not",\r
+ fr = u"le matériau est isotrope ou non",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_COMPLEX",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL","NONLINEAR"),\r
+ ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials",\r
+ fr = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = u"saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.0,\r
+ ang = "enter a real relative value",\r
+ fr = u"saisir une valeur réelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ NONLINEAR_ISOTROPIC_LAW_PROPERTIES = BLOC (condition="TYPE_LAW=='NONLINEAR' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "Relative linear permeability value, also used at first nonlinear iteration",\r
+ fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="MARROCCO",\r
+ into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"),\r
+ ang = "nature law",\r
+ fr = u"nature de la loi",\r
+ ),\r
+ SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'",\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ ang="data file name",\r
+ fr =u"nom du fichier contenant les mesures expérimentales B(H)",\r
+ ),\r
+ ), # Fin BLOC SPLINE_PROPERTIES\r
+ MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')",\r
+ ALPHA = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="alpha parameter",\r
+ fr =u"paramètre alpha de la loi de Marrocco" ,\r
+ ),\r
+ TAU = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="tau parameter",\r
+ fr =u"paramètre tau de la loi de Marrocco" ,\r
+ ),\r
+ C = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="c parameter",\r
+ fr =u"paramètre c de la loi de Marrocco" ,\r
+ ),\r
+ EPSILON = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="epsilon parameter",\r
+ fr =u"paramètre epsilon de la loi de Marrocco" ,\r
+ ),\r
+ ), # Fin BLOC MARROCCO_LAW_PROPERTIES\r
+ SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'",\r
+ BMAX = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="intersection B",\r
+ fr ="intersection B" ,\r
+ ),\r
+ HSAT = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="H value",\r
+ fr ="valeur H" ,\r
+ ),\r
+ BSAT = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="B value",\r
+ fr ="valeur B" ,\r
+ ),\r
+ JOIN = SIMP (statut="o", \r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into= ("SPLINE","PARABOLIC","LINEAR"),\r
+ ang="type of join between laws",\r
+ fr =u"type de raccord entre la loi choisie et la loi de saturation" ,\r
+ ),\r
+ ), # Fin BLOC SATURATION_LAW_PROPERTIES\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="join applied to",\r
+ fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.",\r
+ ),\r
+\r
+ ), # Fin BLOC NONLINEAR_LAW_PROPERTIES\r
+ ), # fin FACT PERMEABILITY\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE","FALSE"),\r
+ ang = "the material is homogeneous or not",\r
+ fr = u"le matériau est homogène ou non",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE","FALSE"),\r
+ ang = "the material is isotropic or not",\r
+ fr = u"le matériau est isotrope ou non",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_COMPLEX",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC DIELECTRIC\r
+\r
+\r
+##--------------------------------------------------------------------\r
+# materiau generique conducteur (type COND dans le maillage)\r
+#---------------------------------------------------------------------\r
+ CONDUCTOR_properties = BLOC(condition="MAT_REF=='CONDUCTOR'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+#\r
+#\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr =u"propriétés du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE","FALSE"),\r
+ ang = "the material is homogeneous or not",\r
+ fr = u"le matériau est homogène ou non",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE","FALSE"),\r
+ ang = "the material is isotropic or not",\r
+ fr = u"le matériau est isotrope ou non",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_COMPLEX",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL","NONLINEAR"),\r
+ ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials",\r
+ fr = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = u"saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.0,\r
+ ang = "enter a real relative value",\r
+ fr = u"saisir une valeur réelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ NONLINEAR_ISOTROPIC_LAW_PROPERTIES = BLOC (condition="TYPE_LAW=='NONLINEAR' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "Relative linear permeability value, also used at first nonlinear iteration",\r
+ fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="MARROCCO",\r
+ into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"),\r
+ ang = "nature law",\r
+ fr = u"nature de la loi",\r
+ ),\r
+ SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'",\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ ang="data file name",\r
+ fr =u"nom du fichier contenant les mesures expérimentales B(H)",\r
+ ),\r
+ ), # Fin BLOC SPLINE_PROPERTIES\r
+ MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')",\r
+ ALPHA = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="alpha parameter",\r
+ fr =u"paramètre alpha de la loi de Marrocco" ,\r
+ ),\r
+ TAU = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="tau parameter",\r
+ fr =u"paramètre tau de la loi de Marrocco" ,\r
+ ),\r
+ C = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="c parameter",\r
+ fr =u"paramètre c de la loi de Marrocco" ,\r
+ ),\r
+ EPSILON = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="epsilon parameter",\r
+ fr =u"paramètre epsilon de la loi de Marrocco" ,\r
+ ),\r
+ ), # Fin BLOC MARROCCO_LAW_PROPERTIES\r
+ SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'",\r
+ BMAX = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="intersection B",\r
+ fr ="intersection B" ,\r
+ ),\r
+ HSAT = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="H value",\r
+ fr ="valeur H" ,\r
+ ),\r
+ BSAT = SIMP (statut="o", \r
+ typ="R",\r
+ defaut=0,\r
+ val_min=0,\r
+ ang="B value",\r
+ fr ="valeur B" ,\r
+ ),\r
+ JOIN = SIMP (statut="o", \r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into= ("SPLINE","PARABOLIC","LINEAR"),\r
+ ang="type of join between laws",\r
+ fr =u"type de raccord entre la loi choisie et la loi de saturation" ,\r
+ ),\r
+ ), # Fin BLOC SATURATION_LAW_PROPERTIES\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="join applied to",\r
+ fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.",\r
+ ),\r
+\r
+ ), # Fin BLOC NONLINEAR_LAW_PROPERTIES\r
+ ), # fin FACT PERMEABILITY\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE","FALSE"),\r
+ ang = "the material is homogeneous or not",\r
+ fr = u"le matériau est homogène ou non",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE","FALSE"),\r
+ ang = "the material is isotropic or not",\r
+ fr = u"le matériau est isotrope ou non",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+ ), # fin BLOC CONDUCTOR\r
+\r
+\r
+###################################################################################################\r
+# ----------------------------------------\r
+# sous bloc niveau 1 : ZSURFACIC\r
+#i----------------------------------------\r
+# materiau generique de type ZSURFASIC \r
+#-----------------------------------------\r
+ ZSURFACIC_properties = BLOC(condition="MAT_REF=='ZSURFACIC'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.0,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.0,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin bloc ZSURFACIC_properties\r
+\r
+###################################################################################################\r
+#---------------------------------------------\r
+# sous bloc niveau 1 \r
+#---------------------------------------\r
+# matériau generique de type ZINSULATOR \r
+#---------------------------------------\r
+ \r
+# aucun parametre a saisir pour ce materiau\r
+\r
+\r
+###################################################################################################\r
+#---------------------------------------------\r
+# sous bloc niveau 1 \r
+#---------------------------------------------\r
+# matériau generique de type NILMAT (fictif) \r
+#---------------------------------------------\r
+ \r
+# aucun parametre a saisir pour ce materiau\r
+\r
+\r
+###################################################################################################\r
+#----------------------------------------------------------\r
+# sous bloc niveau 1 : EM_ISOTROPIC_FILES \r
+#-------------------------------------------------\r
+# matériau isotropique non homogene generique\r
+#-------------------------------------------------\r
+ EM_ISOTROPIC_properties=BLOC(condition="MAT_REF=='EM_ISOTROPIC'", \r
+ \r
+ CONDUCTIVITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'MED Files (*.med)',),\r
+ ang="CONDUCTIVITY MED data file name",\r
+ fr = u"nom du fichier MED CONDUCTIVITY",\r
+ ),\r
+ PERMEABILITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'MED Files (*.med)',),\r
+ ang="PERMEABILITY MED data file name",\r
+ fr = u"nom du fichier MED PERMEABILITY",\r
+ ),\r
+ ), # fin bloc EM_ISOTROPIC_properties\r
+\r
+ \r
+#---------------------------------------------------\r
+# matériau anisotropique non homogene generique \r
+#---------------------------------------------------\r
+ EM_ANISOTROPIC_properties=BLOC(condition="MAT_REF=='EM_ANISOTROPIC'",\r
+ \r
+ PERMEABILITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'.mater Files (*.mater)',),\r
+ ang="PERMEABILITY .mater data file name",\r
+ fr ="nom du fichier .mater PERMEABILITY",\r
+ ),\r
+ CONDUCTIVITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'.mater Files (*.mater)',),\r
+ ang="CONDUCTIVITY .mater data file name",\r
+ fr ="nom du fichier .mater CONDUCTIVITY",\r
+ ),\r
+ ), # fin bloc EM_ANISOTROPIC_properties\r
+\r
+\r
+#------------------------------------------------------\r
+# sous bloc niveau 1 : CONDUCTOR\r
+#------------------------------------------------------\r
+# materiau de reference type CONDUCTOR lineaire : ALU \r
+#------------------------------------------------------\r
+ ALU_properties = BLOC(condition="MAT_REF=='ALU'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+\r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('3.448E7'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.000000,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor1\r
+ \r
+#--------------------------------------------------------\r
+# materiau de reference type CONDUCTOR lineaire : BRONZE\r
+#--------------------------------------------------------\r
+ BRONZE_properties = BLOC(condition="MAT_REF=='BRONZE'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+\r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.00000E6'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=3.000000,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor2\r
+\r
+#---------------------------------------------------\r
+# materiau de reference type CONDUCTOR lineaire : INCONEL600\r
+#----------------------------------------------------\r
+ INCONEL600_properties = BLOC(condition="MAT_REF=='INCONEL600'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+\r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('9.7000E5'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.010000,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor3\r
+\r
+#---------------------------------------------------------------------\r
+# materiau de reference de type CONDUCTOR lineaire : FERRITE Mn Zn\r
+#---------------------------------------------------------------------\r
+ FERRITE_Mn_Zn_properties = BLOC(condition="MAT_REF=='FERRITE_Mn_Zn'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E1'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+\r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.25E3'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor4\r
+\r
+#------------------------------------------------------------------\r
+# materiau de reference de type CONDUCTOR lineaire : FERRITE Ni Zn\r
+#------------------------------------------------------------------\r
+ FERRITE_Ni_Zn_properties = BLOC(condition="MAT_REF=='FERRITE_Ni_Zn'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0000E-6'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+\r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.50000E1'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor5\r
+\r
+#-------------------------------------------------------------\r
+# materiau de reference type CONDUCTOR lineaire : ACIER Noir\r
+#-------------------------------------------------------------\r
+ ACIER_Noir_properties = BLOC(condition="MAT_REF=='ACIER_Noir'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+\r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('6.00000E6'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+\r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E2'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor6\r
+\r
+\r
+#------------------------------------------------------------\r
+# materiau de reference type CONDUCTOR lineaire : ACIER PE\r
+#------------------------------------------------------------\r
+ ACIER_PE_properties = BLOC(condition="MAT_REF=='ACIER_PE'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+\r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.75000E6'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('7.0E1'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor7\r
+\r
+#---------------------------------------------------------------\r
+# materiau de reference type CONDUCTOR lineaire : ACIER CIMBLOT\r
+#---------------------------------------------------------------\r
+ ACIER_CIMBLOT_properties = BLOC(condition="MAT_REF=='ACIER_CIMBLOT'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+\r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('3.00000E6'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('5.00000E1'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor8\r
+\r
+#----------------------------------------------------------------\r
+# materiau de reference type CONDUCTOR lineaire : CUIVRE\r
+#----------------------------------------------------------------\r
+ CUIVRE_properties = BLOC(condition="MAT_REF=='CUIVRE'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+\r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('5.85E7'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+\r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.000000,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor9\r
+\r
+#---------------------------------------------------------\r
+# materiau de reference type CONDUCTOR lineaire : POTASSE\r
+#---------------------------------------------------------\r
+ POTASSE_properties = BLOC(condition="MAT_REF=='POTASSE'",\r
+ \r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+\r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('7.143E1'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMEABILITY\r
+\r
+ ), # fin BLOC conductor10\r
+\r
+#----------------------------------------------------------------\r
+# materiau de reference de type CONDUCTOR non lineaire : M6X2ISO1\r
+#----------------------------------------------------------------\r
+ M6X2ISO1_properties = BLOC(condition="MAT_REF=='M6X2ISO1'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="NONLINEAR",\r
+ into = ("NONLINEAR"),\r
+ ang = "non linear law",\r
+ fr = "loi non lineaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into = ("SPLINE"),\r
+ ang = "nature law",\r
+ fr = "nature de la loi",\r
+ ),\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ defaut=str(repIni)+"/M6X2ISO1",\r
+ ang="data file name",\r
+ fr ="nom du fichier",\r
+ ),\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="spline applied to",\r
+ fr ="spline appliquee a ",\r
+ ),\r
+\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : CONDUCTIVITY\r
+#------------------------------------------------\r
+ CONDUCTIVITY = FACT ( statut="o", \r
+ ang ="Conductivity properties",\r
+ fr ="proprietes du bloc CONDUCTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.724E6'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT CONDUCTIVITY\r
+ ), # fin BLOC \r
+\r
+\r
+##-----------------------------------------------------\r
+# materiau de reference de type DIELECTRIC lineaire : AIR \r
+#------------------------------------------------------\r
+ AIR_properties = BLOC(condition="MAT_REF=='AIR'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.000000,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.000000,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC DIELECTRIC\r
+#\r
+##-------------------------------------------------------------\r
+# materiau de reference de type DIELECTRIC lineaire : FERRITE B30 \r
+#--------------------------------------------------------------\r
+ FERRITEB30_properties = BLOC(condition="MAT_REF=='FERRITEB30'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.10E3'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ \r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc \r
+\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=1.000000,\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC DIELECTRIC\r
+#--------------------------------------------------------\r
+# materiau de reference de type DIELECTRIC non lineaire : E24 \r
+#--------------------------------------------------------\r
+ E24_properties = BLOC(condition="MAT_REF=='E24'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="NONLINEAR",\r
+ into = ("NONLINEAR"),\r
+ ang = "non linear law",\r
+ fr = "loi non lineaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into = ("SPLINE"),\r
+ ang = "nature law",\r
+ fr = "nature de la loi",\r
+ ),\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ defaut=str(repIni)+"/E24",\r
+ ang="data file name",\r
+ fr ="nom du fichier",\r
+ ),\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="spline applied to",\r
+ fr ="spline appliquee a ",\r
+ ),\r
+\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+ ), # fin BLOC E24\r
+\r
+##------------------------------------------------------------\r
+# materiau de reference de type DIELECTRIC non lineaire : FEV470 \r
+#-------------------------------------------------------------\r
+ FEV470_properties = BLOC(condition="MAT_REF=='FEV470'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="NONLINEAR",\r
+ into = ("NONLINEAR"),\r
+ ang = "non linear law",\r
+ fr = "loi non lineaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into = ("SPLINE"),\r
+ ang = "nature law",\r
+ fr = "nature de la loi",\r
+ ),\r
+\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ defaut=str(repIni)+"/FEV470",\r
+ ang="data file name",\r
+ fr ="nom du fichier",\r
+ ),\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="spline applied to",\r
+ fr ="spline appliquee a ",\r
+ ),\r
+\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC FEV470\r
+\r
+##---------------------------------------------------------\r
+# materiau de reference de type DIELECTRIC : FEV600 \r
+#----------------------------------------------------------\r
+ FEV600_properties = BLOC(condition="MAT_REF=='FEV600'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="NONLINEAR",\r
+ into = ("NONLINEAR"),\r
+ ang = "non linear law",\r
+ fr = "loi non lineaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into = ("SPLINE"),\r
+ ang = "nature law",\r
+ fr = "nature de la loi",\r
+ ),\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ defaut=str(repIni)+"/FEV600",\r
+ ang="data file name",\r
+ fr ="nom du fichier",\r
+ ),\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="spline applied to",\r
+ fr ="spline appliquee a ",\r
+ ),\r
+\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC FEV600\r
+\r
+##---------------------------------------------------------\r
+# materiau de reference de type DIELECTRIC : FEV800 \r
+#----------------------------------------------------------\r
+ FEV800_properties = BLOC(condition="MAT_REF=='FEV800'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="NONLINEAR",\r
+ into = ("NONLINEAR"),\r
+ ang = "non linear law",\r
+ fr = "loi non lineaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into = ("SPLINE"),\r
+ ang = "nature law",\r
+ fr = "nature de la loi",\r
+ ),\r
+\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ defaut=str(repIni)+"/FEV800",\r
+ ang="data file name",\r
+ fr ="nom du fichier",\r
+ ),\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="spline applied to",\r
+ fr ="spline appliquee a ",\r
+ ),\r
+\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC FEV800\r
+\r
+##-----------------------------------------------\r
+# materiau de reference de type DIELECTRIC : FEV1000 \r
+#------------------------------------------------\r
+ FEV1000_properties = BLOC(condition="MAT_REF=='FEV1000'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="NONLINEAR",\r
+ into = ("NONLINEAR"),\r
+ ang = "non linear law",\r
+ fr = "loi non lineaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into = ("SPLINE"),\r
+ ang = "nature law",\r
+ fr = "nature de la loi",\r
+ ),\r
+\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ defaut=str(repIni)+"/FEV1000",\r
+ ang="data file name",\r
+ fr ="nom du fichier",\r
+ ),\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="spline applied to",\r
+ fr ="spline appliquee a ",\r
+ ),\r
+\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC FEV1000\r
+\r
+##----------------------------------------------------------\r
+# materiau de reference de type DIELECTRIC : HA600 \r
+#-----------------------------------------------------------\r
+ HA600_properties = BLOC(condition="MAT_REF=='HA600'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="NONLINEAR",\r
+ into = ("NONLINEAR"),\r
+ ang = "non linear law",\r
+ fr = "loi non lineaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into = ("SPLINE"),\r
+ ang = "nature law",\r
+ fr = "nature de la loi",\r
+ ),\r
+\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ defaut=str(repIni)+"/HA600",\r
+ ang="data file name",\r
+ fr ="nom du fichier",\r
+ ),\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="spline applied to",\r
+ fr ="spline appliquee a ",\r
+ ),\r
+\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC HA600 \r
+\r
+##-----------------------------------------------\r
+# materiau de reference de type DIELECTRIC : M600_65 \r
+#------------------------------------------------\r
+ M600_65_properties = BLOC(condition="MAT_REF=='M600_65'",\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMEABILITY\r
+#------------------------------------------------\r
+ PERMEABILITY = FACT ( statut="o", \r
+ ang ="Permeability properties",\r
+ fr ="proprietes du bloc PERMEABILITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="NONLINEAR",\r
+ into = ("NONLINEAR"),\r
+ ang = "non linear law",\r
+ fr = "loi non lineaire",\r
+ ),\r
+ NATURE = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="SPLINE",\r
+ into = ("SPLINE"),\r
+ ang = "nature law",\r
+ fr = "nature de la loi",\r
+ ),\r
+\r
+ VALUE = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+\r
+ FILENAME = SIMP (statut="o", \r
+ typ=("Fichier",'All Files (*)',),\r
+ defaut=str(repIni)+"/M600_65",\r
+ ang="data file name",\r
+ fr ="nom du fichier",\r
+ ),\r
+ APPLIEDTO = SIMP (statut="o", \r
+ typ="TXM", \r
+ into=("B(H)&H(B)","B(H)","H(B)"),\r
+ defaut="B(H)&H(B)",\r
+ ang="spline applied to",\r
+ fr ="spline appliquee a ",\r
+ ),\r
+\r
+ ), # fin FACT PERMEABILITY\r
+\r
+#------------------------------------------------\r
+# sous bloc niveau 2 : PERMITTIVITY\r
+#------------------------------------------------\r
+ PERMITTIVITY = FACT ( statut="o", \r
+ ang ="Permittivity properties",\r
+ fr ="proprietes du bloc PERMITTIVITY",\r
+ \r
+ HOMOGENEOUS = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is homogeneous",\r
+ fr = "le materiau est homogene",\r
+ ),\r
+ ISOTROPIC = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="TRUE",\r
+ into = ("TRUE"),\r
+ ang = "the material is isotropic",\r
+ fr = "le materiau est isotrope",\r
+ ),\r
+\r
+ TYPE_LAW = SIMP (statut="o",\r
+ typ="TXM",\r
+ defaut="LINEAR_REAL",\r
+ into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
+ ang = "linear law",\r
+ fr = "loi lineaire",\r
+ ),\r
+ val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
+ VALUE_REAL = SIMP (statut="o",\r
+ typ="R", \r
+ defaut=Decimal('1.0E0'),\r
+ ang = "enter a real relative value",\r
+ fr = "saisir une valeur reelle relative",\r
+ ),\r
+ ), # fin bloc real\r
+\r
+ val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
+ VALUE_COMPLEX = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('RI',1,0),\r
+ ang = "enter a complex relative value",\r
+ fr = "saisir une valeur complexe relative",\r
+ ),\r
+ ), # fin bloc complex\r
+ \r
+ ), # fin FACT PERMITTIVITY\r
+\r
+ ), # fin BLOC M600_65\r
+ \r
+###################################################################################################\r
+#----------------------------------------------------------\r
+# sous bloc niveau 1 : EM_ANISOTROPIC_FILES \r
+##---------------------------------------------------------\r
+# materiau de reference anisotrope non homogene : M6X \r
+#----------------------------------------------------------\r
+ M6X_properties=BLOC(condition="MAT_REF=='M6X'",\r
+ \r
+ PERMEABILITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'.mater Files (*.mater)',),\r
+ defaut=str(repIni)+"/M6X_mu.mater",\r
+ ang="PERMEABILITY .mater data file name",\r
+ fr ="nom du fichier .mater PERMEABILITY",\r
+ ),\r
+ PERMITTIVITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'.mater Files (*.mater)',),\r
+ defaut=str(repIni)+"/M6X_epsilon.mater",\r
+ ang="PERMITTIVITY .mater data file name",\r
+ fr ="nom du fichier .mater PERMITTIVITY",\r
+ ),\r
+ ), # fin bloc EM_ANISOTROPIC\r
+\r
+##--------------------------------------------------------------\r
+# materiau de reference anisotrope non homogene : M6X_lineaire \r
+#---------------------------------------------------------------\r
+ M6X_lineaire_properties=BLOC(condition="MAT_REF=='M6X_lineaire'",\r
+ \r
+ PERMEABILITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'.mater Files (*.mater)',),\r
+ defaut=str(repIni)+"/M6X_lineaire_mu.mater",\r
+ ang="PERMEABILITY .mater data file name",\r
+ fr ="nom du fichier .mater PERMEABILITY",\r
+ ),\r
+ CONDUCTIVITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'.mater Files (*.mater)',),\r
+ defaut=str(repIni)+"/M6X_lineaire_sigma.mater",\r
+ ang="CONDUCTIVITY .mater data file name",\r
+ fr ="nom du fichier .mater CONDUCTIVITY",\r
+ ),\r
+ ), # fin bloc EM_ANISOTROPIC\r
+ \r
+##--------------------------------------------------------------\r
+# materiau de reference anisotrope non homogene : M6X_homog \r
+#---------------------------------------------------------------\r
+ M6X_homog_properties=BLOC(condition="MAT_REF=='M6X_homog'",\r
+ \r
+ PERMEABILITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'.mater Files (*.mater)',),\r
+ defaut=str(repIni)+"/M6X_homog_mu.mater",\r
+ ang="PERMEABILITY .mater data file name",\r
+ fr ="nom du fichier .mater PERMEABILITY",\r
+ ),\r
+ CONDUCTIVITY_File = SIMP (statut="o", \r
+ typ=("Fichier",'.mater Files (*.mater)',),\r
+ defaut=str(repIni)+"/M6X_homog_sigma.mater",\r
+ ang="CONDUCTIVITY .mater data file name",\r
+ fr ="nom du fichier .mater CONDUCTIVITY",\r
+ ),\r
+ ), # fin bloc M6X_homog_properties\r
+\r
+ ) # fin OPER Materials\r
+ \r
+#===================================================================\r
+# 3eme bloc : bloc SOURCES\r
+#====================================================================\r
+# definition des differentes sources qui seront dans le bloc SOURCES\r
+#-------------------------------------------------------------------\r
+#\r
+\r
+SOURCE = OPER ( nom = "SOURCE",\r
+ op = None,\r
+ repetable = 'n',\r
+ ang = "source definition", \r
+ fr = u"définition d'une source", \r
+ sd_prod= source,\r
+\r
+ TYPE_SOURCE = SIMP (statut="o",\r
+ typ="TXM",\r
+ into=("STRANDED_INDUCTOR","HPORT","EPORT"),\r
+ fr=u"type de source",\r
+ ang="type of source",\r
+ ),\r
+\r
+\r
+#----------------------------------------------------------\r
+# sous bloc niveau 1 : stranded inductor source \r
+##---------------------------------------------------------\r
+ st_ind_properties = BLOC(condition="TYPE_SOURCE=='STRANDED_INDUCTOR'",\r
+ \r
+ NTURNS = SIMP (statut="o",\r
+ typ="I",\r
+ defaut=1,\r
+ ang="number of turns in the inductor",\r
+ fr="nombre de tours dans l inducteur",\r
+ ),\r
+ CURJ = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('MP',1,0),\r
+ ang = "enter the current value (magnitude and polarization in degrees) as a complex number",\r
+ fr = u"saisir la valeur du courant (amplitude et phase en degrés) sous la forme d'un nombre complexe",\r
+ ),\r
+ ), # fin bloc stranded inductor\r
+ \r
+#----------------------------------------------------------\r
+# sous bloc niveau 1 : eport source \r
+#----------------------------------------------------------\r
+ eport_properties = BLOC(condition="TYPE_SOURCE=='EPORT'",\r
+ \r
+ TYPE = SIMP (statut="o",\r
+ typ="TXM",\r
+ into=("VOLTAGE","CURRENT"),\r
+ fr="type de eport source",\r
+ ang="type of eport source",\r
+ ),\r
+ AMP = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('MP',1,0),\r
+ ang = "enter the amplitude value (magnitude and polarization in degrees) as a complex number",\r
+ fr = u"saisir la valeur de l'amplitude (amplitude et phase en degrés) sous la forme d'un nombre complexe",\r
+ ),\r
+\r
+ ), # fin bloc eport\r
+\r
+#----------------------------------------------------------\r
+# sous bloc niveau 1 : hport source \r
+#----------------------------------------------------------\r
+ hport_properties = BLOC(condition="TYPE_SOURCE=='HPORT'",\r
+ TYPE = SIMP (statut="o",\r
+ typ="TXM",\r
+ into=("VOLTAGE","CURRENT"),\r
+ fr="type de hport source",\r
+ ang="type of hport source",\r
+ ),\r
+ AMP = SIMP (statut="o",\r
+ typ="C", \r
+ defaut=('MP',1,0),\r
+ ang = "enter the amplitude value (magnitude and polarization in degrees) as a complex number",\r
+ fr = u"saisir la valeur de l'amplitude (amplitude et phase en degrés) sous la forme d'un nombre complexe",\r
+ ),\r
+ ), # fin bloc hport\r
+) # Fin OPER SOURCE\r
+\r