adaptive mesh refinement and block generation #29562
Replies: 2 comments 24 replies
-
Does your starting mesh show block 1 as expected? Which object is returning the error? It should say in the console This combination of adaptivity criteria should be easy to do in moose. We can combine Markers to target each of these needs |
Beta Was this translation helpful? Give feedback.
-
It's on a per element basis, and the criteria is a comparison to 0 which is a value that the criteria hits exactly. So that's why you see dents like at 26.1
is not a great idea in the expression. This means that sometimes you get two (or more) steps that have the same value for ceil |
Beta Was this translation helpful? Give feedback.
-
Check these boxes if you have followed the posting rules.
Question
Hello everyone,
Recently, I found a paper dealing with the additive manufacturing process simulation with adaptive mesh refinement implemented via DEAL.II. The key adaptive mesh refinement concept in that paper is to use a coarse mesh for the initial set up and then refine/coarsen the mesh as needed to reduce computational cost. As shown in the following picture, 1) the top-most active layer contains 1 element in the build direction; 2) elements near the top surface are refined; 3) elements far away from the top surface are coarsen; 4) elements near the part boundaries are refined. I want to implement this concept with MOOSE. However, I got some problems.
Suppose a block of size 4e-3 x 4e-3 x 4e-3 is initially meshed with 5x5x5 elements. The layer thickness is 50e-6, so that 4 refinement levels are needed to reach such a cell size. The top surface moves every second as defined by
CoupledVarThresholdElementSubdomainModifier
and anAuxVariable
. An error message is displayed: "The block '1' has not been found in the network" when I run the code. I know that if I use 80 (4e-3 / 50e-6 = 80) elements, the code can run. However, the initial mesh in such a case is already a fine mesh and I can't coarsen the mesh to a larger size. How can I get the mesh to look like the picture?Beta Was this translation helpful? Give feedback.
All reactions