How to define multiple boundary field names
Dear all;
I'd like to know how to define multiple boundary field names in 0/U, 0/p files like bellow (i.e., different patches but physical conditions are the same). The bellow lines are allowable in OF, or there are any other ways? ------- BC1 { type fixed value; value uniform (1 0 0); } BC2 { type fixed value; value uniform (1 0 0); } ------- VVVV ------- BC1 | BC2 <--------- ?????? { type fixed value; value uniform (1 0 0); } ------- Thanks in advance, waku2005 |
Quote:
Regular expressions? See "man 7 regex" for syntax. Code:
|
Dear olesen
Thank you for your reply ! Oh, Regular expressions like bellow are very useful for me. For different names which could not be written with the regular expression, what should I do ? Quote:
|
Quote:
This property could also be exploited. Armed with these bits of information, there shouldn't be any huge problem. As a final alternative, you could post the condition that you figure cannot be expressed as a regular expression and pay 5 Euros to the first one who can solve it for you ;) |
Quote:
Regular expression is enaugh for me. |
All times are GMT -4. The time now is 21:32. |