Is it possible to define an uneven initial grid? #689
-
Hello, I am trying a wall boundary layer case. I want to make the initial mesh denser near the wall and sparser away from the wall. Can this be achieved? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes. To refine a particular rectangular volume within your domain, use the following syntax in your input file:
See Note that in the AMR framework used by PeleC, the base grid must always have fixed, uniform grid spacing with delta x = delta y = delta z, but this will add mesh refinement in the regions you are interested in. |
Beta Was this translation helpful? Give feedback.
Yes. To refine a particular rectangular volume within your domain, use the following syntax in your input file:
See
Exec/RegTests/ChannelFlow
for an example that is similar to what you want to do. You can also review the documentation to see more information on all the different criteria that can be used to specify refinement.Note that in the AMR framework used by Pel…