CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

how to use "wildcard" in openfoam for boundary conditions or how to group them

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2023, 00:14
Default how to use "wildcard" in openfoam for boundary conditions or how to group them
  #1
New Member
 
chandrashekhar a patankar
Join Date: Mar 2023
Posts: 10
Rep Power: 3
chandrashekharapatankar is on a distinguished road
i am designing an heat exchanger and i have lot of patches to set boundary condition (more than 100), even though most of the boundary conditions are the same.

lets say i have fin1, fin2, .....fin100

cant i give boundary condition as

fin*
{
same boundary condition
}

you know just as in linux, when we use wildcards ?


thanks for reply in advance
chandra
chandrashekharapatankar is offline   Reply With Quote

Old   September 6, 2023, 00:48
Default
  #2
Member
 
Tatsuya Shimizu
Join Date: Jul 2012
Posts: 42
Rep Power: 13
LongGe is on a distinguished road
Quote:
Originally Posted by chandrashekharapatankar View Post

fin*
{
same boundary condition
}

Write as follows.


"fin.*"
{
same boundary condition
}
__________________
Our Work: https://www.idaj.co.jp/product/ennovacfd/openfoam_gui/
Powered by Ennova : https://ennova-cfd.com/
Ennova's Channel Partners : http://www.wolfdynamics.com/
LongGe is offline   Reply With Quote

Old   February 28, 2024, 00:57
Default
  #3
New Member
 
chandrashekhar a patankar
Join Date: Mar 2023
Posts: 10
Rep Power: 3
chandrashekharapatankar is on a distinguished road
thanks, it worked
chandrashekharapatankar is offline   Reply With Quote

Reply

Tags
grouping bc, together bc, wildcard bc


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding OpenFOAM solvers on two-phase cavitating flows (in cryogenic conditions) JD_PM OpenFOAM Running, Solving & CFD 7 December 21, 2022 06:54
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
Inlet/Outlet Boundary conditions (OpenFoam) Masroor OpenFOAM Pre-Processing 1 January 20, 2018 23:11
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


All times are GMT -4. The time now is 04:46.