Deleting elements in tensor mechanics #16387
-
|
Dear Moose Users, I was looking at the possibility of deleting elements, when a certain condition, for instance temperature increase, is satisfied. I have seen something similar is done in XFEM by creating the EFA mesh. Can someone point me to a strategy to try the element deletion? Thank you very much in advance. Best Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 28 replies
-
|
Hi all, You should be able to hook into the ElementDeletionGeneratorBase.C like I have which will delete the elements, though one problem I'm currently having with this is that the element ID's are reassigned meaning any data from the simulation cannot be used with the original mesh. So if anyone has any ideas on how to preserve the original IDs it would be a great help. I hope this helps in some way. Best Regards, |
Beta Was this translation helpful? Give feedback.
-
|
I think this would be useful to me too, but don't have time to implement it. I wrote the BlockDeleter, which may give you some hints about what to do, if you choose to do it... |
Beta Was this translation helpful? Give feedback.
-
|
Dear Moose Users, I developed the following strategy to delete elements:
You can find a simple example here: Now the question is: will such a method preserve the Material Properties declared in the material blocks? Best Regards, |
Beta Was this translation helpful? Give feedback.
-
|
@ngrilli The element deletion method is somehow on our radar to work on in the future. Instead, we have started to implement element activation for AM application recently, see #16008 It does the opposite thing to deletion, but the method would be similar. It handles material initialization as you asked about in that PR. |
Beta Was this translation helpful? Give feedback.
-
|
Dear Dewen, Thank you very much for your answer, I have tried using simulation restart with SolutionUserObject and SolutionFunction, It would be great to have your modifications released in MOOSE. Best Regards, |
Beta Was this translation helpful? Give feedback.
-
|
@dewenyushu @MatthewMavis @jiangwen84 Dear Dewen, I have completed and tested an implementation where I can do both element activation and deactivation based on a condition: It is a minor modification of your code. In this way the plastic deformation is reinitialised properly when elements are reactivated. The "moving interface" is not yet updated correctly during element elimination. I am happy if someone can check and test my implementation Best Regards, |
Beta Was this translation helpful? Give feedback.
-
|
Hi guys, I am very new to MOOSE, been using it for less than a month, but I found it very powerful. I've been working on mine stimulation, right now I can do the blockdeletion for a simple model to make it clearer, here's the workflow: Another question I have is: when I use 'BlockDeletionGenerator', the block is gone, the issue would also be that: how can i locate the position of the backfill if I no longer have the deleted block in the system. I read @ngrilli reply back in Jan, but i am not sure if it will works for my problem, could you please clarify, thanks!. Thank you Kind regards, below is my script for blockdeletion [Mesh] [] |
Beta Was this translation helpful? Give feedback.
@dewenyushu @MatthewMavis @jiangwen84
Dear Dewen,
I have completed and tested an implementation where I can do both element activation and deactivation based on a condition:
https://github.com/ngrilli/c_pfor_am
It is a minor modification of your code.
As you suggested I move elements from the inactive block to the active block and vice versa
based on the condition.
In this way the plastic deformation is reinitialised properly when elements are reactivated.
The "moving interface" is not yet updated correctly during element elimination.
I think more modifications are needed for this.
However, I am not applying any boundary condition on the "moving interface"
and my understanding is that the…