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

define remaining patches as wall

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

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Display Modes
Old   July 3, 2012, 11:30
Default define remaining patches as wall
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 138
Rep Power: 8
camoesas is on a distinguished road
HI Everybody,

I have a big domain with a lot of patches. I give the boundary values for Inlet and outlet for all variables in the "0" time directory. Now I am looking for a possibility to assign the remaining patches automatically as wall. Is there a possibility? This would save me a lot of typing.


Thanks Camoesas
__________________
OF - 2.0.0
camoesas is offline   Reply With Quote

Old   July 7, 2012, 13:05
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by camoesas View Post
HI Everybody,

I have a big domain with a lot of patches. I give the boundary values for Inlet and outlet for all variables in the "0" time directory. Now I am looking for a possibility to assign the remaining patches automatically as wall. Is there a possibility? This would save me a lot of typing.


Thanks Camoesas
The User Guide fails to mention it (at least I didn't find it), but you can have regular expressions as dictionary keys: You just have to enclose the expression in ". So "wall_.*" would fit wall_01, wall_13, ....

I think that would solve your problem. Have a look at the tutorials. I THINK the motorCycle-case uses it
SirWombat likes this.
gschaider 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
Fluent3DMeshToFoam simvun OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 48 May 14, 2012 05:20
how to define patches with snappyHexMesh from a STL file ? Cyp OpenFOAM Native Meshers: snappyHexMesh and Others 5 March 16, 2012 14:28
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03
Define wall using UDF Abhijit FLUENT 3 October 26, 2007 10:16
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 02:16


All times are GMT -4. The time now is 19:56.