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

Boundary condition & Patch name

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 3, 2015, 06:46
Default Boundary condition & Patch name
  #1
New Member
 
Join Date: Sep 2014
Posts: 10
Rep Power: 4
GiuMan is on a distinguished road
Morning to everyone,

the problem I have is really simple.
If I have an high number of patch with the same pre-name, for example:
body_top
body_side
body_under
and so on, how can I impose the same condition on all this patch?

Can i use something like
body_*
to set the boundary conditions?

Thanks,

GM
GiuMan is offline   Reply With Quote

Old   August 6, 2015, 05:04
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Delft, Netherlands
Posts: 326
Rep Power: 12
tomf is on a distinguished road
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

The correct syntax (for zeroGradient) would be:

Code:
"body_.*"
{
    type zeroGradient;
}
Regards,
Tom
tomf is offline   Reply With Quote

Old   August 6, 2015, 05:11
Default
  #3
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 383
Rep Power: 11
jherb is on a distinguished road
Setting the same boundary condition at multiple patches at once
jherb is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 110 April 21, 2016 11:54
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 37 June 9, 2015 09:35
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01
Cyclic Boundary Condition Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Running, Solving & CFD 36 July 2, 2012 12:23
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 13:58.