CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Boundary conditions for the group of patches (http://www.cfd-online.com/Forums/openfoam-pre-processing/125987-boundary-conditions-group-patches.html)

Roman1 November 5, 2013 15:31

Boundary conditions for the group of patches
 
Hello everybody. Please help with resolving next problem. I use a OF case that includes very many different geometry objects, mostly boxes. Writing boundary conditions for each of them takes much time and much "paper". They all have the equal BC. Is there a method of assigning one and the same BC to a group of patches or walls (to a list of patches or to all together) ? Thanks.

ngj November 5, 2013 17:01

Good evening Roman,

You want to look into the use of regular expression for the naming of the boundaries. A good example for this is the motorBike tutorial, which you can find here (for OF2.2.0):

OpenFOAM-2.2.0/tutorials/incompressible/simpleFoam/motorBike

Good luck,

Niels

Roman1 November 6, 2013 03:07

NGJ, thanks and best regards.


All times are GMT -4. The time now is 05:09.