Skip to content

relevance of boundaryTypeMap #571

Answered by yslan
turbulentphil asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Philipp,

boundaryTypeMap is another way to specify the boundary conditions. This is also introduced in recent Nek5000 since this version, but they work slightly differently.

  • If your .re2 already has boundary conditions and you are happy with it, you don't need to set anything and NekRS will read Nek5000's CBC arrays for BC. Meaning, you can still modify the CBC in userdat2 in Nek5000 way.
  • If you want, you can also set boundary conditions via boundaryID. Basically, you name each boundary an integer (1-base, start from 1, cannot skip numbers), then you can assign boundary conditions in .par via boundaryTypeMap. For example, boundaryTypeMap = v, O, W indicating v (inflow) for boundaryID=1,

Replies: 1 comment 1 reply

Comment options

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

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