ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


Commit 2018-09-20


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

I added a verbose option for “StageManager” which allows not to print all of the info related to the activation/deactivation of stages.(I had to pass it as an argument to the setStage function, hence the number of modified files. To use it:



I created a new class to manage the activation of elements. For now it only activates elements of a FieldApplicator (to set with “setTarget(…)”) whenever a point (to set with “setActivator(…)”) passes through it. To use:


For now it only works in 3D.


AM tests using StageManager:

I added additive manufacturing tests. The first tests are done using stages to Activate/Deactivate interactions. It is very tedious and long, both for the writing of the test case and CPU wise.

“withStageManager/tests/” 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.).

The results were presented in a poster “”.

“withStageManager/battery/” is the battery version of this test (very coarse mesh, only 3 layers and 3 lines to reduce the CPU under 5 mins).

“withStageManager/battery/” is a test with the activation of 1 simple line of elements (and no boundary conditions), it is used to compare with “withAdditiveManager/battery/”.

AM tests using AdditiveManager:

“withAdditiveManager/battery/” 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/”. 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).

“withAdditiveManager/battery/” is a test using AdditiveManager where the element are activated according to a point following a sine function.

Added [a] / deleted [d] / modified [m] / renamed [r] files


[a] mtFEM/AdditiveManager.h
[a] mtFEM/AdditiveManager.cpp
[a] mtElements/PointAdditiveManager.h
[a] mtElements/PointAdditiveManager.cpp
[m] mtALE/AleMethod.cpp
[m] mtALE/AleMethod.h
[m] mtALE/CurveReZoner.cpp
[m] mtALE/CurveReZoner.h
[m] mtALE/ReZoningStep.cpp
[m] mtALE/ReZoningStep.h
[m] mtContact/_src/mtContact.i
[m] mtElements/_src/mtElements.i
[m] mtElements/CMakeLists.txt
[m] mtFEM/_src/mtFEM.i
[m] mtFEM/AleMethodBase.h
[m] mtFEM/algos/IterationManager.h
[m] mtFEM/algos/TimeIntegration.cpp
[m] mtFEM/CMakeLists.txt
[m] mtFEM/Metafor.cpp
[m] mtFEM/Metafor.h
[m] mtFEM/StageManager.cpp
[m] mtFEM/StageManager.h
[m] mtFEMBase/Activable.cpp
[m] mtFEMBase/Activable.h
[m] mtFEMBase/DofFlagCmdSet.cpp
[m] mtFEMBase/DofFlagCmdSet.h
[m] mtFEMBase/Interaction.cpp
[m] mtFEMBase/Interaction.h
[m] mtFEMBase/InteractionSet.cpp
[m] mtFEMBase/InteractionSet.h
[m] mtFEMBase/LoadingSetBase.cpp
[m] mtFEMBase/LoadingSetBase.h
[m] mtFEMBase/StageDepValue.h
[m] mtFEMBase/StageDepValue.inl
[m] mtMain/
[m] mtViz/VTKManager.h
[m] mtWear/_src/mtWear.i
[m] mtXFEM/_src/mtXFEM.i


[a] oo_meta/additiveM/
[a] additiveM/withAdditiveManager/
[a] additiveM/withAdditiveManager/battery/
[a] additiveM/withAdditiveManager/battery/
[a] additiveM/withAdditiveManager/tests/
[a] additiveM/withAdditiveManager/tests/
[a] additiveM/withAdditiveManager/tests/
[a] additiveM/withStageManager/
[a] additiveM/withStageManager/battery/
[a] additiveM/withStageManager/battery/
[a] additiveM/withStageManager/tests/
[a] additiveM/withStageManager/tests/
[a] additiveM/withStageManager/tests/
[a] additiveM/withStageManager/tests/
[a] additiveM/withStageManager/tools/
[a] additiveM/withStageManager/tools/
[a] additiveM/withStageManager/tools/Matlab
[a] additiveM/withStageManager/tools/Matlab/Data

Cédric Laruelle 2018/09/18

commit/2018/09_20.txt · Last modified: 2018/09/20 17:15 by laruelle

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki