|
[Sponsors] |
Use of regular expressions for patch names in boundary conditions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 10, 2010, 03:53 |
Use of regular expressions for patch names in boundary conditions
|
#1 |
Member
Terry Barnaby
Join Date: Mar 2009
Location: Beam Ltd, UK
Posts: 44
Rep Power: 17 |
Hi,
I would like to use regular expressions to define the boundary conditions on a set of patches. Does anyone know if this possible in OpenFOAM 1.6 ? I have tried: boundaryField { car_.* { type zeroGradient; } } But this does not work. |
|
February 10, 2010, 11:40 |
|
#2 |
Member
Terry Barnaby
Join Date: Mar 2009
Location: Beam Ltd, UK
Posts: 44
Rep Power: 17 |
Ah I have just found out how.
You need double quotes as: boundaryField { "car_.*" { type zeroGradient; } } Cheers Terry |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Impinging Jet Boundary Conditions | Anindya | Main CFD Forum | 25 | February 27, 2016 13:58 |
inlet velocity boundary condition | murali | CFX | 5 | August 3, 2012 09:56 |
Problems with boundary conditions for a lowRekOmegaSST turbulence model | cfdmarkus | OpenFOAM Running, Solving & CFD | 16 | November 14, 2011 05:44 |
Concentric tube heat exchanger (Air-Water) | Young | CFX | 5 | October 7, 2008 00:17 |
Pressure boundary conditions | Lionel S. | Main CFD Forum | 1 | August 24, 2007 19:03 |