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

[Other] Convert a interior face into a wall

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 155
Rep Power: 17
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, 29 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: 17
Toorop is on a distinguished road
Hi,

you can find my workaround here.
Good luck!
Toorop 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
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 11:00
Very technical question about solving wall boundary layer ... jlb001 FLUENT 6 December 27, 2014 06:56
Need to Convert Wall to inetrior boundary in transient calculations. sam181087 Fluent UDF and Scheme Programming 1 December 23, 2014 08:28
[Commercial meshers] tmerge utility creates unwanted interface/walls comes in the final mesh Shoonya OpenFOAM Meshing & Mesh Conversion 11 January 20, 2012 07:23
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 13:03


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