Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


commit:2018:09_20

Differences

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

Link to this comparison view

Next revision
Previous revision
commit:2018:09_20 [2018/09/20 11:51] – created laruellecommit:2018:09_20 [2018/09/20 17:15] (current) laruelle
Line 1: Line 1:
 ====== Commit 2018-09-20 ====== ====== Commit 2018-09-20 ======
 +===== Description =====
 +To try to model an additive manufacturing process I first tried to use Metafor as is. The activation of the elements over time can be done by using the StageManager and by activating/deactivating interactions at predetermined times. Like this, I managed to reproduce with accuracy the results of a test case from the literature. This method is however very tedious to use and requires to create an absurd number of interactions. It is also not CPU efficient. I had to implement the Verbose option for StageManager because of the very high number of text at every activation/deactivation of elements, which in my case took more time than the actual test cases.
 +
 +One can realize that the previous method of activating/deactivating elements is not efficient enough and a new method has to be implemented. I thus implemented a new class called AdditiveManager that will manage the activation of elements in a more efficient way.
 +
  
 ===== Verbose for Stage Manager ===== ===== Verbose for Stage Manager =====
Line 24: Line 29:
 "withStageManager/tests/Chiumenti1.py" is the reproduction of a test case from the literature (Numerical simulation and experimental calibration of Additive Manufacturing by blown powder technology. Part I: thermal analysis, Rapid Prototyping Journal 23 (2017) 448–463.).   "withStageManager/tests/Chiumenti1.py" is the reproduction of a test case from the literature (Numerical simulation and experimental calibration of Additive Manufacturing by blown powder technology. Part I: thermal analysis, Rapid Prototyping Journal 23 (2017) 448–463.).  
 {{ :commit:2018:testCaseChiumenti1.png?600 |}} {{ :commit:2018:testCaseChiumenti2.png?600 |}} {{ :commit:2018:testCaseChiumenti1.png?600 |}} {{ :commit:2018:testCaseChiumenti2.png?600 |}}
 +{{ :commit:2018:Chiumenti1.png?600 |}}
  
 The results were presented in a poster "https://orbi.uliege.be/handle/2268/227324". The results were presented in a poster "https://orbi.uliege.be/handle/2268/227324".
Line 33: Line 39:
 ==== AM tests using AdditiveManager: ==== ==== AM tests using AdditiveManager: ====
  
-"withAdditiveManager/battery/activationWithAdditiveManager.py" is a test with the activation of 1 simple line of elements (and no boundary conditions) using AdditiveManager, it is used to compare with "withStageManager/battery/activationWithStages.py". They correctly give the same resultsas shown here under (temperature at a point over time).+"withAdditiveManager/battery/activationWithAdditiveManager.py" is a test with the activation of 1 simple line of elements (and no boundary conditions) using AdditiveManager, it is used to compare with "withStageManager/battery/activationWithStages.py". They correctly give the same results as shown here under (temperature at a point over time). Even for such a small test case, there is a **30% decrease of the computation time(30->20s)**.
 {{ :commit:2018:activationWithAdditiveManager.png?600 |}} {{ :commit:2018:activationWithAdditiveManager.png?600 |}}
 {{ :commit:2018:activationWithStageManager.png?600 |}} {{ :commit:2018:activationWithStageManager.png?600 |}}
Line 43: Line 49:
 ====Code:==== ====Code:====
 <code> <code>
-[a] oo_meta/mtFEM/AdditiveManager.h +[a] mtFEM/AdditiveManager.h 
-[a] oo_meta/mtFEM/AdditiveManager.cpp +[a] mtFEM/AdditiveManager.cpp 
-[a] oo_meta/mtElements/PointAdditiveManager.h +[a] mtElements/PointAdditiveManager.h 
-[a] oo_meta/mtElements/PointAdditiveManager.cpp+[a] mtElements/PointAdditiveManager.cpp
 [m] mtALE/AleMethod.cpp [m] mtALE/AleMethod.cpp
 [m] mtALE/AleMethod.h [m] mtALE/AleMethod.h
Line 84: Line 90:
 ====Tests:==== ====Tests:====
 <code> <code>
 +[a] oo_meta/additiveM/
 +[a] additiveM/withAdditiveManager/
 [a] additiveM/withAdditiveManager/battery/activationWithAdditiveManager.py [a] additiveM/withAdditiveManager/battery/activationWithAdditiveManager.py
 [a] additiveM/withAdditiveManager/battery/testAdditiveManagerSin.py [a] additiveM/withAdditiveManager/battery/testAdditiveManagerSin.py
Line 89: Line 97:
 [a] additiveM/withAdditiveManager/tests/testAdditiveManagerDiag.py [a] additiveM/withAdditiveManager/tests/testAdditiveManagerDiag.py
 [a] additiveM/withAdditiveManager/tests/testAdditiveManagerSin.py [a] additiveM/withAdditiveManager/tests/testAdditiveManagerSin.py
 +[a] additiveM/withStageManager/
 [a] additiveM/withStageManager/battery/activationWithStages.py [a] additiveM/withStageManager/battery/activationWithStages.py
 [a] additiveM/withStageManager/battery/Chiumenti1.py [a] additiveM/withStageManager/battery/Chiumenti1.py
Line 98: Line 107:
 [a] additiveM/withStageManager/tools/chiumenti.py [a] additiveM/withStageManager/tools/chiumenti.py
 [a] additiveM/withStageManager/tools/Matlab [a] additiveM/withStageManager/tools/Matlab
 +[a] additiveM/withStageManager/tools/Matlab/Data
 +</code>
 +
 + --- //[[Cedric.Laruelle@ULiege.be|Cédric Laruelle]] 2018/09/18 //
  
  
  
-</code> 
commit/2018/09_20.1537437062.txt.gz · Last modified: 2018/09/20 11:51 by laruelle

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki