CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Convert a interior face into a wall

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 23, 2012, 14:21
Default Convert a interior face into a wall
  #1
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 112
Rep Power: 8
be_inspired is on a distinguished road
Hi,

I hope anyone can help me.

What I want is to convert some internal faces into patches. In the attached picture, the mesh is surrounded by a inlet, outlet, up and down. The down side is a wall. Now, I want to convert the selected internal faces ( the original mesh is 2D) into a wall. This is a sketch of a more difficult problem. The point is that in this way, I can select a wall condition at any position of the original mesh between inlet and outlet.

I have tried
1.- create a set with Toposet,
2.- then use SetsToZones - noFlipMap to create the faceZones
3.- Modify boundary file and 0/files, then, createBaffles with the command:
> createBaffles tab pared

tab is the name of the set and of the faceZone. pared is the name of the patch added to the boundary file

What I obtain is:


Create time

Create mesh for time = 0

Converting faces on zone "tab" into baffles.

Found 9 faces on zone "tab"



--> FOAM FATAL IO ERROR:
incorrect first token, expected <label> or '(' or '{', found on line 0 the word 'pared'

file: IStringStream.sourceFile at line 0.

From function operator>>(Istream&, FixedList<T, Size>&)
in file /share/apps/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/FixedListIO.C at line 71.

FOAM exiting

---------------------------

Thank you very much

Best Regards
Attached Images
File Type: jpg Extrawall.JPG (18.9 KB, 21 views)
be_inspired is offline   Reply With Quote

Old   January 24, 2012, 05:41
Default
  #2
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 8
Toorop is on a distinguished road
Hi,

you can find my workaround here.
Good luck!
Toorop 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
Very technical question about solving wall boundary layer ... jlb001 FLUENT 6 December 27, 2014 06:56
tmerge utility creates unwanted interface/walls comes in the final mesh dinesh2n@gmail.com OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 11 January 20, 2012 07:23
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03
Wall functions? Pr Main CFD Forum 7 April 8, 2004 06:15
Quick Question - Wall Function D.Tandra Main CFD Forum 2 March 16, 2004 05:29


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