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

[blockMesh] Internal walls of zero thickness

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2009, 01:50
Default
  #21
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Hi again, I found the solution, use the normalToFace option in faceSetDic

Code:
    // Faces with normal to within certain angle aligned with vector.
    normalToFace
    {
        normal (0.309016994 0.951056516 0);     // Vector
        cos     0.000000001;       // Tolerance (max cos of angle)
    }
Note: as for zero thickness plate, set cos option a small one, (use foamToVTK -faceSet plateTmp to Check it).

What a nice day!

Daniel
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   March 19, 2015, 09:21
Default
  #22
New Member
 
Join Date: Mar 2015
Posts: 16
Rep Power: 11
sati is on a distinguished road
It may seem weird to answer to a post so long after it was written, but as i fell on it today, i'm thinking that maybe i could help other people having this problem.

A very simple trick to create a thin wall in an internal face is to create a point with the same coordinates than on of those which are on the internal face. Then, define the faces and the blocks as if one of the points was on one side of the face, and the other point was on the other face. This way, the mesh is identical to the one created before, exept that there is no more an intern face, and defining a wall patch there becomes trivial.
mizzou likes this.
sati is offline   Reply With Quote

Old   December 15, 2015, 02:06
Default
  #23
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 15
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by sati View Post
It may seem weird to answer to a post so long after it was written, but as i fell on it today, i'm thinking that maybe i could help other people having this problem.

A very simple trick to create a thin wall in an internal face is to create a point with the same coordinates than on of those which are on the internal face. Then, define the faces and the blocks as if one of the points was on one side of the face, and the other point was on the other face. This way, the mesh is identical to the one created before, exept that there is no more an intern face, and defining a wall patch there becomes trivial.
Wouldn't this lead into a new block, which has absolute poor cells within it?
mizzou likes this.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   February 6, 2020, 18:25
Default
  #24
Member
 
George Pichurov
Join Date: Jul 2010
Posts: 52
Rep Power: 15
jorkolino is on a distinguished road
Quote:
Originally Posted by mattijs View Post
Create a connected mesh and then use

createBaffles <root> <case> <faceset>

to convert internal faces into boundaries.

mergeOrSplitBaffles <root> <case>

does the opposite: detects boundary faces sharing points and merges them into an internal face.
Don't we need createBafflesDict for that purpose?
jorkolino 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
[Other] Internal Walls in mesh Rakkiran OpenFOAM Meshing & Mesh Conversion 6 April 15, 2021 02:48
[blockMesh] Problems with "holes" or "gaps" in Baffle as internal wall of zero thickness RuKa OpenFOAM Meshing & Mesh Conversion 0 January 11, 2014 09:40
[Commercial meshers] How to get rid of internal walls (surfaces)? bmikuz OpenFOAM Meshing & Mesh Conversion 17 December 5, 2013 15:24
[Other] How to define internal walls for injector inside a combustion chamber by OF2.1.1 with sandy13 OpenFOAM Meshing & Mesh Conversion 0 May 22, 2013 06:59
[Other] How to create zero thickness internal walls in a given mesh in OpenFOAM? karkar OpenFOAM Meshing & Mesh Conversion 1 July 9, 2012 04:13


All times are GMT -4. The time now is 17:08.