Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


commit:2020:01_07

This is an old revision of the document!


Commit 2019-01-07

Description

Bug Fix in the additiveManager routine:

In pointAdditiveManager.cpp, some boundary conditions were not correctly deactivated even when they were not connected to active volume elements. I modified the code so that when the routine deactivates volume elements before the simulation it will automatically deactivate connected boundary conditions if they are not on the edge of the geometry. This only affects simulations where the boundary conditions where not explicitly given to the routine for deactivation. (i.e. not given via pointAdditiveManager.addBoundaryCondition(BC)).

In short, the boundary conditions will now correctly be deactivated at the beginning of a simulation if :

1) They are given to pointAdditiveManager via pointAdditiveManager.addBoundaryCondition(BC) 2) They are not on the edge of the geometry in the “to be activated” area.

Corrected test parameters

In chiumenti, I found a small error in the laser path where an extra 0.0875s per layer was spend between layers. The differences on the results are highlighted here after.

Creation of lagamine mesh importer (only for BLZ2T lagamine elements with CONRA lagamine BCs)

I created a Lagamine mesh importer, although it only works for 2 specific types of Lagamine elements at the moment. The importer is situated in toolbox\lag2py.py . The importer reads the “testName.lag” source file and translates it into a metafor input file “testName_lag.py”. More specifically:

  • The nodes are all created respecting their numbering in the lagamine file. The Thermal initial condition is also set.
  • The nodes are all sorted into metafor groups, 1 group per lagamine material law respecting the lagamine material law number.
  • For each of the CONRA boundary condition, a list of metafor groups is created, 1 group = 1 element.

For an example of use, check additiveM\withAm\tests\HashemiAndJardin\jardin.py

The rest of the test is then created by hand in the metafor input file, but this allows to use the same mesh in metafor and lagamine.

Tests Chiumenti

The comparison of the Chiumenti test with and without the laser path error is given hereafter.

CHANGE HERE

TestsJardin

With this last modification in the code and the addition of the Lagamine importer I was finally able to reproduce the results from Jardin:

The results are given hereafter:

Addition of battery tests

I added battery tests …

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

Code:



Cédric Laruelle 2019/01/07

commit/2020/01_07.1578321713.txt.gz · Last modified: 2020/01/06 15:41 by laruelle

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki