Skip to content

Combination of Symmetry and No-slip wall BCs #876

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

You must be logged in to vote

This is actually pretty easy to accomplish. s_ext that gets passed to bcnormal comes prepopulated with values for a no-slip wall. to specify a symmetry condition (equivalent to a slip wall), all you need to do is change the sign of the tangential components of velocity. See the example in the MassCons case, which shows how to define both slip and no-slip walls in bcnormal:

if (prob_parm.wall_type[idir] == 1) {

Documentation: https://amrex-combustion.github.io/PeleC/BoundaryConditions.html#boundary-conditions

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@baperry2
Comment options

@SRkumar97
Comment options

@SRkumar97
Comment options

@baperry2
Comment options

@SRkumar97
Comment options

Answer selected by SRkumar97
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