Skip to content

Is it possible to define an uneven initial grid? #689

Answered by baperry2
ZhaofanZhu asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. To refine a particular rectangular volume within your domain, use the following syntax in your input file:

tagging.refinement_indicators = yLow
tagging.yLow.max_level = 2          # Number of refinement levels to add in this part of the domain
tagging.yLow.in_box_lo = -0.1  -0.52  -0.85       # low (x,y,z) coordinate of refined region
tagging.yLow.in_box_hi =  3.1 -0.45    0.85        # high (x,y,z) coordinate of refined region

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZhaofanZhu
Comment options

Answer selected by ZhaofanZhu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants