|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Jan 2017
Posts: 22
Rep Power: 9 ![]() |
Hi!
I need to group different inlets and outlets (suppose inlet_1, inlet_2,...). I was trying to use regular expression as the statement below, but it is not working, OF searches for a patch with exactly the name "inlet_.*". const labelList& inletCells = mesh.boundary()["inlet_.*"].faceCells(); Not sure if the implementation is correct and if regular expressions works inside .C and .H files. Can anybody give some help or other ideas? Thanks! Okubo |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 14:24 |
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 14, 2016 10:19 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
Multiple inlets problem | Jeff | Main CFD Forum | 2 | August 17, 2005 10:48 |
multiple inlets | Bob Haase | Main CFD Forum | 1 | January 19, 2001 20:57 |