CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to define patch name in 0/... for multiple walls?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2023, 07:57
Default How to define patch name in 0/... for multiple walls?
  #1
New Member
 
Březňák
Join Date: Jun 2020
Location: Prag
Posts: 21
Rep Power: 5
breznak is on a distinguished road
Hello

my mesh has very a lot of multiple wall e.g.

wall_1 wall_2 wall_3 ... wall_100

how can I define them in 0/U?

I tried

boundaryField
{

"wall_*"
{type noSlip;}

or
"(wall_*)"
{ type noSlip;}

}

but they dont work...
breznak is offline   Reply With Quote

Old   June 5, 2023, 08:20
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26
Yann will become famous soon enough
Hello,

The proper syntax is "wall_.*"

You can check the "regular expressions" section of the user guide: https://doc.cfd.direct/openfoam/user...ic-file-format

Cheers,
Yann
breznak likes this.
Yann is offline   Reply With Quote

Reply


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
Artificial wall error in fluent aiden_1995 Main CFD Forum 0 January 9, 2023 14:06
[Other] Wedge patch '*' is not planar LilumDaru OpenFOAM Meshing & Mesh Conversion 6 January 12, 2021 05:55
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 09:23
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


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