Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:results:courbes_res

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:results:courbes_res [2026/02/18 17:28] – [ValuesManager] papeleuxdoc:user:results:courbes_res [2026/09/04 13:16] (current) – [Extract thermodynamic values] papeleux
Line 35: Line 35:
                                                       # .v and .ascii files                                                       # .v and .ascii files
   # option by curve   # option by curve
-  valuesmanager(no).export2Ascii(True/False)          # export curve no to Ascii (def : True) +  valuesmanager(no).setExport2Ascii(True/False)       # export curve no to Ascii (def : True) 
-  valuesmanager(no).export2Npy(True/False)            # export curve no to .npy (binary numpy array) (def : False)+  valuesmanager(no).setExport2Npy(True/False)         # export curve no to .npy (binary numpy array) (def : False)
   valuesmanager(no).setExportInterval(1)              # export curve no with an interval (def : 1)   valuesmanager(no).setExportInterval(1)              # export curve no with an interval (def : 1)
   #   #
   # global options    # global options 
   # (BE CAREFULL THAT THEY ARE ONLY APPLIED ON CURVES ALLREADY DEFINED)   # (BE CAREFULL THAT THEY ARE ONLY APPLIED ON CURVES ALLREADY DEFINED)
-  valuesmanager.export2Ascii(True/False)              # export all curves allready defined to Ascii (def : True) +  valuesmanager.setExport2Ascii(True/False)           # export all curves allready defined to Ascii (def : True) 
-  valuesmanager.export2Npy(True/False)                # export all curves allready defined to .npy (binary numpy array) (def : False)+  valuesmanager.setExport2Npy(True/False)             # export all curves allready defined to .npy (binary numpy array) (def : False)
   valuesmanager.setExportInterval(1)                  # export all curves allready defined with an interval (def : 1)   valuesmanager.setExportInterval(1)                  # export all curves allready defined with an interval (def : 1)
      
Line 209: Line 209:
 | GLStrainGaugeValueExtractor   | $\epsilon  = 0.5*(\lambda^2-1) $ | | GLStrainGaugeValueExtractor   | $\epsilon  = 0.5*(\lambda^2-1) $ |
 | NatStrainGaugeValueExtractor  | $\epsilon  = ln(\lambda)$ | | NatStrainGaugeValueExtractor  | $\epsilon  = ln(\lambda)$ |
 +
 +==== Extracting thermodynamic values ====
  
 === TdFieldValueExtractor === === TdFieldValueExtractor ===
Line 214: Line 216:
 Extract thermodynamic fields :  Extract thermodynamic fields : 
  
-    valueExtractor = TdFieldValueExtractor(meta, gObject, tdFieldID)+    valueExtractor = TdFieldValueExtractor(meta, gObject, tdFieldID, computeOnNode)
     valueExtractor = TdFieldValueExtractor(meta, nodeSet, tdFieldID)     valueExtractor = TdFieldValueExtractor(meta, nodeSet, tdFieldID)
  
  
 | ''meta'' | Reference of the analysis Metafor | | ''meta'' | Reference of the analysis Metafor |
-| ''gObject''Geometric object containing the nodes at which the thermodynamic field is extracted |+| ''gObject''Target geometric object where thermodynamic field is extracted : either GObect support of the Interaction (side, volume,... on which elements are built) or Group containing nodes (computeOnNode has to be set to True)  | 
 +| ''computeOnNode'' | Boolean defining if elements are detected through a node list or through geometry object support (default=False). Has to be set to True if ''gObject'' is a group of nodes |
 | ''nodeset'' | Reference of Metafor ''NodeSet'' (calculation over the entire domain) | | ''nodeset'' | Reference of Metafor ''NodeSet'' (calculation over the entire domain) |
 | ''tdFieldID'' | TdFieldID : thermodynamic field to extract | | ''tdFieldID'' | TdFieldID : thermodynamic field to extract |
 |      |THERMODYN_TRAV_FINT : Work of Internal Forces   | |      |THERMODYN_TRAV_FINT : Work of Internal Forces   |
 +|      |THERMODYN_TRAV_FEXT : Work of External Forces   |
 +|      |THERMODYN_TRAV_FDAMP : Work of Damping Forces (damped integration scheme only)  |
 |      |THERMODYN_EN_CIN : Kinetic Energy   | |      |THERMODYN_EN_CIN : Kinetic Energy   |
 |      |THERMODYN_EN_DIS : Dissipated Energy   | |      |THERMODYN_EN_DIS : Dissipated Energy   |
-|      |THERMODYN_TRAV_FEXT : Work of External Forces   | 
 |      |THERMODYN_POT_INT : Internal Potential   | |      |THERMODYN_POT_INT : Internal Potential   |
 |      |THERMODYN_LIN_MOM_X : X Linear Momentum   | |      |THERMODYN_LIN_MOM_X : X Linear Momentum   |
doc/user/results/courbes_res.1771432138.txt.gz · Last modified: by papeleux

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki