|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Tim
Join Date: Jun 2018
Posts: 18
Rep Power: 9 ![]() |
I haven't been able to find in the documentation a description of how matching multiple boundaries based on a pattern works, though I found out what works by examples and experimentation.
In the tutorials there are numerous examples of field files that have syntax like Code:
"wall.*"
{
zeroGradient;
otherKey otherValue;
}
Can one explain what the ".*" does? Is this just the pattern for wildcard because regular asterisk is reserved by the interpreter (even within quotation marks)? Last edited by tbraun84; February 20, 2025 at 10:52. Reason: Fixed typo in title: "*." -> ".*" and add literal of symbols to aid in search |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,358
Rep Power: 32 ![]() ![]() |
Hello,
Check the section 4.2.13 about regular expressions in the user guide: https://doc.cfd.direct/openfoam/user...ic-file-format Cheers, Yann |
|
|
|
|
|
![]() |
| Tags |
| boundaryfield |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
| My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
| CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
| Out File does not show Imbalance in % | Mmaragann | CFX | 5 | January 20, 2017 11:20 |
| Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |