Setting the same boundary condition at multiple patches at once
I am currently working with snappyHexMesh to create a mesh which has a number of regions cut out. I have named these "obstacle1","obstacle2" etc
All these obstacles should have the same boundary conditions. When setting them I am already using the following structure: Code:
obstacle1_region0 My question is: is it possible to set the boundary condition for patches with repetitive names in 1 go? I could imagine that would look something like this: Code:
obstacle$i_region0 |
You can use regular expressions in the patch names, like:
Code:
"obstacle.*" |
Awesome! Thanks!
|
All times are GMT -4. The time now is 13:53. |