|
[Sponsors] |
April 26, 2018, 18:51 |
OpenFOAM - Multiple inlets / outlets
|
#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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 14, 2016 11:19 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
Multiple inlets problem | Jeff | Main CFD Forum | 2 | August 17, 2005 11:48 |
multiple inlets | Bob Haase | Main CFD Forum | 1 | January 19, 2001 21:57 |