Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


commit:2018:09_20

This is an old revision of the document!


Commit 2018-09-20

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:

stageManager.setVerbose(False) 

AdditiveManager/PointAdditiveManager

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:

  ptAM=PointAdditiveManager()
  ptAM.setActivator(pointset(...))
  ptAM.setTarget(...) 
  metafor.setAdditiveManager(ptAM)    

For now it only works in 3D.

Tests:

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/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.).

The results were presented in a poster “https://orbi.uliege.be/handle/2268/227324”.

“withStageManager/battery/Chiumenti1.py” 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/activationWithStages.py” is a test with the activation of 1 simple line of elements (and no boundary conditions), it is used to compare with “withAdditiveManager/battery/activationWithAdditiveManager.py”.

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/testAdditiveManagerSin.py” 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

Code:

[a] oo_meta/mtFEM/AdditiveManager.h
[a] oo_meta/mtFEM/AdditiveManager.cpp
[a] oo_meta/mtElements/PointAdditiveManager.h
[a] oo_meta/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/battery.py
[m] mtViz/VTKManager.h
[m] mtWear/_src/mtWear.i
[m] mtXFEM/_src/mtXFEM.i

Tests:

[a] additiveM/withAdditiveManager/battery/activationWithAdditiveManager.py
[a] additiveM/withAdditiveManager/battery/testAdditiveManagerSin.py
[a] additiveM/withAdditiveManager/tests/activationWithAdditiveManager.py
[a] additiveM/withAdditiveManager/tests/testAdditiveManagerDiag.py
[a] additiveM/withAdditiveManager/tests/testAdditiveManagerSin.py
[a] additiveM/withStageManager/battery/activationWithStages.py
[a] additiveM/withStageManager/battery/Chiumenti1.py
[a] additiveM/withStageManager/tests/activationWithStages.py
[a] additiveM/withStageManager/tests/Chiumenti1.py
[a] additiveM/withStageManager/tests/Chiumenti1Coarse.py
[a] additiveM/withStageManager/tests/Chiumenti1MWE.py
[a] additiveM/withStageManager/tools/activationWithStages.py
[a] additiveM/withStageManager/tools/chiumenti.py
[a] additiveM/withStageManager/tools/Matlab


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