Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:elements:specials:spring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:user:elements:specials:spring [2013/07/12 19:28] – external edit 127.0.0.1doc:user:elements:specials:spring [2023/06/20 19:00] (current) papeleux
Line 1: Line 1:
 ====== Spring ====== ====== Spring ======
-===== Matériaux  ===== +===== Materials  ===== 
-Le comportement d'un ressort (linéaire ou nonavec ou sans critère de rupturese définit de la même façon que les [[doc:user:elements:general:materials|matériaux]], c'est-à-dire selon+ 
 +A spring (linear or notwith or without failure criterionis defined is the same way as volume materials:
  
   materialno = materialset.define (number, type)   materialno = materialset.define (number, type)
   materialno = materialset(number)   materialno = materialset(number)
-  materialno.put(param, valeur)+  materialno.put(param, value)
   materialno.depend(param, fct, Key(Lock)))   materialno.depend(param, fct, Key(Lock)))
   ...   ...
  
-|''number''numéro du ressort (doit être unique, parmi tous les éléments dans ''materialset'' et pas seulement parmi les ressorts) | +|''number''spring number (must be unique for all element in ''materialset'', not just for springs) | 
-|''type'' | type de ressort (p.expl. ''ConstantSpringMaterial'') | +|''type'' | type of spring (for example ''ConstantSpringMaterial'') | 
-|''param''nom du paramètre du ressort (p.expl. ''SPRING_FK'') | +|''param''name of the spring parameter (for example ''SPRING_FK'') | 
-|''valeur''valeur du paramètre ''param'' correspondant+|''value''value of the corresponding parameter
-|''fct''numéro de la fonction dont la propriété dépend (facultatifsi aucune dépendance pas de ''fct'') | +|''fct''function which characterizes the dependency of the property (optionalno ''fct'' if no dependency) | 
-|''Lock'' | [[doc:user:general:locks|Lock]] définissant la variable de dépendance de la propriété (obligatoire si on une dépendance) |+|''Lock'' | [[doc:user:general:locks|Lock]] which defines the dependency variable of the property (compulsory if there is dependency) | 
 ==== ConstantSpringMaterial ==== ==== ConstantSpringMaterial ====
  
 === Description === === Description ===
  
-Ressort linéaire.+Linear spring
  
-=== Paramètres === +=== Parameters === 
- +  Name                                              Metafor Code     ^  Dependency 
-             Nom               Code Metafor   ^  Type de dépendance  +Stiffness|  ''SPRING_FK''  |  -  | 
-Raideur                       |  ''SPRING_FK''  |  -  | +Damping coefficient   |  ''SPRING_FC''  |  -  |
-Coefficient d'amortissement   |  ''SPRING_FC''  |  -  |+
    
 ==== NonLinearSpringMaterial ==== ==== NonLinearSpringMaterial ====
Line 31: Line 32:
 === Description === === Description ===
  
-Ressort non linéaire.+Nonlinear spring.
  
-=== Paramètres ===+=== Parameters === 
 +^   Name                                          ^     Metafor Code      Dependency ^ 
 +| Amplitude of the associated **stiffness force** as a function of the elongation. This force is described by the associated ''nf'' function. Careful, this function must also be described for negative elongation (compression)                      |  ''SPRING_FK''  |  ''GD'' 
 +| Amplitude of the associated **damping force** as a function of the elongation rate. This force is described by the associated ''nf'' function. Careful, this function must also be described for negative elongation rates          ''SPRING_FC''  |  ''GV'' 
  
-^              Nom              ^  Code Metafor    Type de dépendance +Remarks :  
-| Amplitude de **la force de raideur en fonction** de l'allongement. Cette force est décrite par la fonction ''nf'' associée. Attention, cette fonction doit être décrite aussi pour les allongements négatifs (compression)                        ''SPRING_FK''  |  ''GD'' +
-| Amplitude de **la force d'amortissement en fonction** de la vitesse d'allongement. Cette force est décrite par la fonction nf associée. Attention, cette fonction doit être décrite aussi pour les vitesses d'allongement négatives                            ''SPRING_FC''  |  ''GV'' +
  
-Remarques :   +  * ''SPRING_FK'' et ''SPRING_FC'' are forces and not stiffness/damping coefficient (unlike ConstantSpringMaterial) 
- +  * the dependency is written as :
-  * ''SPRING_FK'' et ''SPRING_FC'' sont ici les forces et non raideur/coef amortissement (à la différence de ConstantSpringMaterial) +
-  * pour rappel, la dépendance se fait via :+
 ''materialset(no).depend(SPRING_FK,fct1,Field1D(TX,RE))''\\ ''materialset(no).depend(SPRING_FK,fct1,Field1D(TX,RE))''\\
 ''materialset(no).depend(SPRING_FC,fct2,Field1D(TX,GV))'' ''materialset(no).depend(SPRING_FC,fct2,Field1D(TX,GV))''
Line 51: Line 51:
 === Description === === Description ===
  
-Ressort non-linéaire avec possibilité de rupture.+Nonlinear spring with failure criterion.
  
-=== Paramètres ===+=== Parameters === 
 +^   Name                                          ^     Metafor Code      Dependency ^ 
 +| Stiffness|  ''SPRING_FK''  |  -  | 
 +| Damping coefficient    ''SPRING_FC''  |  -  |  
 +| Maximal length of the spring. Above, failure appears and forces are equal to zero. This length can depend on time though ''nf''    |  ''SPRING_LMAX''  |  ''TM''  |
  
-^              Nom              ^  Code Metafor    Type de dépendance +===== Element=====
-| Raideur                        ''SPRING_FK''  |  -  | +
-| Coefficient d'amortissement    ''SPRING_FC''  |  -  |  +
-| Longueur maximale admissible par le ressort. Au-delà il y a rupture et les forces sont nulles. Cette longueur peut dépendre du temps via ''nf''    |  ''SPRING_LMAX''  |  ''TM''  |+
  
-===== Elément===== +Once the [[#Materials|material]] is definedit must be associated to an ''[[doc:user:elements:general:def_element_properties|ElementProperties]]'':
- +
-Une fois la [[#Matériaux |matériau]] définiil faut l'associer à un ''[[doc:user:elements:general:def_element_properties|ElementProperties]]'', selon+
  
   prp = ElementProperties(typeEl)   prp = ElementProperties(typeEl)
-  prp.put(param1, valeur1)+  prp.put(param1, value1)
   prp.depend(param1, fct1, Lock1)) #facultatif   prp.depend(param1, fct1, Lock1)) #facultatif
   ...   ...
  
-+where
  
-|''typeEl''type d'élément souhaité (''Spring[2|3]DElement'' pour des ressorts)| +|''typeEl''desired element (for example ''Spring[2|3]DElement'')| 
-|''param1''nom de la propriété relative à l'élément (p.expl. ''MATERIAL'' pour associer le matériau souhaitée)| +|''param1''name of the property associated to the element (for example ''MATERIAL'' to associate the desired material)| 
-|''valeur1''"valeur" de la propriété +|''value1''value of the corresponding property 
-|''fct1''numéro de la [[doc:user:general:fonctions|fonction]] dont la propriété dépend (facultatifsi aucune dépendance pas de ''fct'') | +|''fct1''function which characterizes the dependency of the property (optionalno fct if no dependency) | 
-|''Lock1''| [[doc:user:general:locks|Lock]] définissant la variable de dépendance de la propriété (obligatoire si on une dépendance) |+|''Lock1''| [[doc:user:general:locks|Lock]] which defines the dependency variable of the property (compulsory if there is dependency) |
  
 ==== Spring[2|3]DElement === ==== Spring[2|3]DElement ===
  
-Eléments de ressort non linéaire Relie deux noeuds par une raideurAucune correction axisymétrique n'est programméeIls doivent être reliés à une interaction de type ''[[#Interaction|FieldApplicator]]''. +Nonlinear spring elementAssociates two nodes with a stiffnessNo axisymmetric correction is implementedThey must be associated with a ''[[#Interaction|FieldApplicator]]'' interaction.
-=== Paramètres === +
- +
-^  Code Metafor  ^  Description  ^  Type de dépendance permise +
-| ''MATERIAL''    | Numéro du [[#Matériaux|matériau de ressort]] à considérer              -  | +
-| ''STIFFMETHOD'' | <del>Méthode pour calculer la matrice de raideur</del>\\ <del>= ''STIFF_ANALYTIC'' : matrice analytique (défaut)</del>\\ <del>= ''STIFF_NUMERIC''  : matrice numérique </del>\\ Pas applicable, seule la matrice numérique existe !!! |  -  | +
-| ''SPRING_LI''   | Paramètre double définissant la longueur "au repos" du ressort (selon valeur SPRING_CLI) |  | +
-| ''SPRING_CLI''  | Paramètre entier définissant la méthode de calcul de la longueur "au repos" du ressort (''lengthIni '' dans le code) \\ soit L0 longueur du ressort mesurée en fin de prépro (longueur géométrique)\\ = 0 : lengthIni = L0 (defaut - ne nécessite pas SPRING_LI)\\ = 1 : lengthIni = SPRING_LI \\ = 2 : lengthIni = L0 * SPRING_LI \\ = 3 : lengthIni = L0 + SPRING_LI                            -  |+
  
 +=== Parameters ===
 +^   Name                                          ^     Metafor Code      Dependency ^
 +| ''MATERIAL''    | Number of the spring material to consider              -  |
 +| ''STIFFMETHOD'' | Method used to compute the stiffness matrix\\ = ''STIFF_ANALYTIC'' : analytic matrix (default)\\ = ''STIFF_NUMERIC''  : numerical matrix \\ <del>Not applicable, only the numerical one exists !</del> |  -  |
 +| ''SPRING_LI''   | Defines the spring length "at rest" (relevant or not depending on the value of SPRING_CLI) |  |
 +| ''SPRING_CLI''  | Defines the way the "length at rest" (''lengthIni '') will be computed \\ assume L0 is the measured length at the end of the preprocessing (geometrical length)\\ = 0 : lengthIni = L0 (default - do not require SPRING_LI)\\ = 1 : lengthIni = SPRING_LI \\ = 2 : lengthIni = L0 * SPRING_LI \\ = 3 : lengthIni = L0 + SPRING_LI                            -  |
  
 ===== Interaction ===== ===== Interaction =====
  
-Enfinlorsque l' ''[[#Elément|ElementProperties]]'' de type ''Spring[2|3]DElement'' est définion génère l'interaction correspondante à l'aide du ''FieldApplicator''Pour ce faireil faut d'abord créer la géométrie de l'élément correspondant (maille) au moyen du [[doc:user:geometry:mesh:1D]]. Ceci faiton peut alors définir l'interaction et l'inclure dans ''interactionset'', selon+Finallyonce the ''Spring[2|3]DElement'' ''[[#Element|ElementProperties]]'' is definedthe corresponding interaction is generated with the ''FieldApplicator''To do sothe corresponding geometric mesh element must be generated using [[doc:user:geometry:mesh:1D]]. Once donethe interaction can be defined and included in the ''interactionset'':
  
   app = FieldApplicator(no)   app = FieldApplicator(no)
Line 97: Line 95:
   app.push(gObject2)   app.push(gObject2)
   ...   ...
-  app.addProperty(prp)        # association d'un ElementProperties +  app.addProperty(prp)        # association of an ElementProperties 
-  interactionset.add(app)     # ajout dans l'InteractionSet+  interactionset.add(app)     # the interaction is added in InteractionSet 
  
-ou selon+or
  
-  app = interactionset.add(FieldApplicator(no)) #add renvoie une référence+  app = interactionset.add(FieldApplicator(no)) #add returns a reference
   app.push(gObject1)   app.push(gObject1)
   app.push(gObject2)   app.push(gObject2)
   ...   ...
-  app.addProperty(prp)        # association d'un ElementProperties +  app.addProperty(prp)        # association of an ElementProperties 
- +   
-où  +where  
-| ''no'' Numéro de l' ''Interaction'' (c-à-d du ''FieldApplicator'') |  +| ''no'' number of the ''Interaction'' (which is to say the ''FieldApplicator'') |  
-|''gObject1'', ''gObject2'' Entité géométrique maillée sur laquelle on applique des éléments finis +|''gObject1'' mesh geometric entity where the finite elements are applied 
-| ''prp'' | [[doc:user:elements:general:def_element_properties|Propriétés]] des [[#spring_2_3_delement|éléments de ressort]] à générer.|  +| ''prp'' | [[doc:user:elements:general:def_element_properties|Properties]] of [[#spring_2_3_delement|spring elements]] to generate.| 
doc/user/elements/specials/spring.1373650080.txt.gz · Last modified: 2016/03/30 15:22 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki