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

Boundary condition & Patch name

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2015, 06:46
Default Boundary condition & Patch name
  #1
New Member
 
Join Date: Sep 2014
Posts: 10
Rep Power: 11
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: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
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: 650
Rep Power: 21
jherb is on a distinguished road
http://www.cfd-online.com/Forums/ope...ches-once.html
jherb 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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 05:37
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 13:48
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 04:05


All times are GMT -4. The time now is 14:50.