Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


commit:2018:07_19

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
commit:2018:07_19 [2018/07/18 11:49] cerquagliacommit:2018:07_19 [2018/07/19 09:05] (current) – created papeleux
Line 1: Line 1:
-====== Commit 2018-07-17 ======+===== Commit - LPx 19 Juillet 2018 =====
  
-===== 1. Description =====+ThermalMaterial 
  
-A center of gravity and mass extractor for ''interactions'' has been implemented in Metafor.  +===== ThermalMaterial : ===== 
- +  * Petit recactoring de ThermalMatrial pour simplifier l'implémentation des PRMats 
-The synthax is the same as other extractors:+  * Pour simplifier le process, tous les paramètres matériels (valeur et dérivées) sont stoquées dans le matériau (auparavant certains n'étaient calculés que à la demande) 
 +  * Certaines dérivées sont calculés analytiquement (via la fonction "getDerivative" des propriétés) alors qu'elles l'étaient numériquement (par pertu) auparavant 
 +  * Idem pour les matériaux Thixo dont les paramètres thermiques dépendent de la fraction liquide (la dérivation/ou intégration analytique doit encore être faite) 
 +  * Adaptation de VolumeElement_ther.cpp en fonction des modifs ci-dessus 
 +===== Divers : ===== 
 +  *  
 +===== Fichiers ajoutés/supprimés ===== 
 +<code> 
 +Added :  
 +Deleted :  
 +Moved :  
 +</code>
  
 +===== Tests ajoutés/supprimés =====
 <code> <code>
-valuesmanager = metafor.getValuesManager() +Adding:  
-extractor1 = InteractionGravityCenterAndMassValueExtractor(interaction) +Deleted :  
-valuesmanager.add(nbr, extractor1, name = "TheNameYouWant"       # manages extraction, result storage...+Moved : 
 </code> </code>
  
-At each archiving step the extractor fills a four columns text file, where columns 1-3 contain x, y, and z coordinates of the center of gravity respectively, and column 4 contains the value of the mass.+ --- //[[L.Papeleux@ulg.ac.be|Luc Papeleux]] 2018/07/18 //
  
-<note> 
-Since the evolution of the density is not directly tracked in Metafor, in order to take into account the density variation for the computation of the center of gravity and mass, the mass matrix is directly employed.</note>  
  
-<note important> 
-To compute the center of gravity and the mass of an interaction a density different from zero is needed. Pay attention, when you define your material properties, to explicitly define a ''MASS_DENSITY'' different from zero, otherwise a ''FATAL_ERROR'' is raised.  
-</note> 
  
-===== 2. Tests ===== 
- 
-For the moment, a gravity center and mass extractor has been added in ''apps/imp/bounce.py'' and for all the test cases contained in ''apps/monosMaterials2'' and ''mtThixo/tests/monoMaterials2'' via ''apps/toolbox/materialTesting.py''. A density different from zero has been defined when needed.   
- 
- 
-===== Added [a] / deleted [d] / modified [m] / renamed [r] test cases ====== 
- 
-<code> 
-[m] apps/imp/bounce.py 
-[m] apps/toolbox/materialTesting.py 
-[m] apps/monoMaterials2/EvpAnisoDamageAlvBoneRemod.py 
-[m] apps/monoMaterials2/EvpAnisoDamageBoneRemod.py 
-[m] apps/monoMaterials2/EvpAnisoDamageDummy.py 
-[m] apps/monoMaterials2/EvpAnisoDamageLemaitre.py 
-[m] apps/monoMaterials2/EvpIsoDamageAlvBoneRemod2.py 
-[m] apps/monoMaterials2/EvpIsoDamageBoneRemod.py 
-[m] apps/monoMaterials2/NortonHoff.py 
-[m] mtThixo/tests/monoMaterials2/ThixoEnhanced.py 
-[m] mtThixo/tests/monoMaterials2/ThixoEquivalentNortonHoff.py 
-[m] mtThixo/tests/monoMaterials2/ThixoMicroMacro.py 
-[m] mtThixo/tests/monoMaterials2/ThixoNortonHoff.py 
-</code> 
commit/2018/07_19.1531907363.txt.gz · Last modified: 2018/07/18 11:49 by cerquaglia

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki