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

[Other] Internal Walls in mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By Tobi
  • 3 Post By rezaeimahdi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2018, 13:54
Default Internal Walls in mesh
  #1
New Member
 
Raj Kiran
Join Date: May 2018
Posts: 24
Rep Power: 8
Rakkiran is on a distinguished road
Hi Foamers,
I created a hybrid mesh in icem by merging the geometry and mesh files into one single file. When I tried to read it in OpenFoam the internal geometry was converted to walls by default.

I tried editing the mesh file, i.e., editing the internal faces(wall by default) as interface in mesh file and then running in terminal. But that created a default_wall boundary by itself which has all those internal faces that were to be removed.
As my mesh has different number of faces in each mesh when I tried mergeOrSplitBaffles that didn't work for me .


I can't define them as patch as I do not know the boundary conditions there.

Help me out with the situation.
Following are the attachments before and after editing the mesh file.




Thank you in advance

Last edited by Rakkiran; September 4, 2018 at 13:59. Reason: Attachments were not uploaded
Rakkiran is offline   Reply With Quote

Old   September 28, 2018, 03:54
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Remove the boundary fields in the constant/polyMesh/boundary file, and you are fine.

Quote:
Help me out with the situation.
I don´t like this attitude (don´t take it personally ) because it feels like the community is forced to give feedback. Besides, I get different email stating: "The people at cfd-online.com are not willing to help me (no reply).", I see that people help, but we all have a problem with our timescale. Thus (for all), keep in mind, that we are providing voluntary support and offer our private time. To get feedback is not a matter of course
liuliyun and basecase like this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   September 28, 2018, 04:42
Default
  #3
New Member
 
Raj Kiran
Join Date: May 2018
Posts: 24
Rep Power: 8
Rakkiran is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Remove the boundary fields in the constant/polyMesh/boundary file, and you are fine.


I don´t like this attitude (don´t take it personally ) because it feels like the community is forced to give feedback. Besides, I get different email stating: "The people at cfd-online.com are not willing to help me (no reply).", I see that people help, but we all have a problem with our timescale. Thus (for all), keep in mind, that we are providing voluntary support and offer our private time. To get feedback is not a matter of course
Well I would take it personally though 🤷🏻*♂️😇 and regret that i didn’t reply as I didn’t follow the thread from a little while. Thanks for the reply but I didn’t try it yet.
Rakkiran is offline   Reply With Quote

Old   November 28, 2019, 08:01
Default
  #4
Member
 
rezaeimahdi's Avatar
 
mahdi
Join Date: Nov 2015
Location: Paris, France
Posts: 32
Rep Power: 11
rezaeimahdi is on a distinguished road
Hello,

I know it is a little late to answer your question, However maybe it could be useful for the other researchers,

To avoid internal faces in OpenFOAM (I am talking about meshes comes from ANSYS) use fluentMeshToFoam instead of fluent3DMeshToFoam.

In fact, as it has mentioned on openfoam wiki: fluent3DMeshToFoam can handle internal walls/patches, or at least it looks like it does.

https://openfoamwiki.net/index.php/Fluent3DMeshToFoam

Bests
esma, liuliyun and RiderSeki like this.
rezaeimahdi is offline   Reply With Quote

Old   April 14, 2021, 07:05
Default
  #5
New Member
 
Rahul Dev Meher
Join Date: Apr 2021
Posts: 4
Rep Power: 5
meher_rahul is on a distinguished road
Hello Tobi,

I am also facing this issue. But when I removed the unwanted boundary from the boundary file of Polymesh folder, I get the following error -

"cell 0 contains face lable out of range: 6(0 1 2 3 4 -1) Max face index = 374727"

Can you please help me out here ?
meher_rahul is offline   Reply With Quote

Old   April 14, 2021, 10:12
Default
  #6
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
It depends. Internal walls commonly needs always duplication of the face (one for the owner and one for the neighbor cell). This happens, if we create baffles for examples. If one introduces baffles you can simply remove the data from the boundaries again (if they are not split and are identical). However, it seems that you remove faces (boundaries) that should not be removed.

  • Are you removing only one boundary? Commonly a internal wall does have two entries as already stated
  • The entries you remove should have the same face counts in the constant/polyMesh/boundary file


This is out of the box without testing so I am not 100 % sure if my statement is correct but it should hold.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   April 15, 2021, 03:48
Default
  #7
New Member
 
Rahul Dev Meher
Join Date: Apr 2021
Posts: 4
Rep Power: 5
meher_rahul is on a distinguished road
My mistake. I had removed a wall boundary and not an internal face.
meher_rahul 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
[ICEM] Extrude Mesh without internal faces TWaung ANSYS Meshing & Geometry 3 May 29, 2019 06:18
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 04:21
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 20:43
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


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