-
Hi I am trying the laminar pipe flow tutorial with the example.inp provided. I would like to refine the region near the wall. based on velocity gradient. To test the tagging, I increased the max_level to 2 but did not add any tagging criterion. However, I noticed that PeleC refined the mesh everywhere (added one level). Is this expected? Second, when I add the following tagging criterion It does not add any amr level? I am not sure what I am doing wrong. Could you please advise? Here is the screenshot of the velocity field, magvel is definitely is larger than the value I am specifying in the tagging, but still it does not work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
By default, PeleC refines the entire embedded boundary surface up to
If you do not wish to refine the embedded boundary set I'm not sure why the tagging criterion based on magvel that you're using isn't working. I just tested it and it worked for me. If you still have issues, can you post the full input file you are using? |
Beta Was this translation helpful? Give feedback.
By default, PeleC refines the entire embedded boundary surface up to
amr.max_level
. In this case, if you setamr.max_level = 2
, that means essentially the whole grid is refined to the second level as a result of the block-structured nature of how refinement is done with AMReX. You should see something like this in the simulation output at the end of initialization just before the plot file gets dumped: