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

[blockMesh] getting unwanted internal faces

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2014, 01:57
Default getting unwanted internal faces
  #1
New Member
 
Arjun
Join Date: Jan 2014
Location: Chennai
Posts: 21
Rep Power: 12
Arjun Jayakumar is on a distinguished road
Dear all,

I am new to blockMesh utility. I have attached my domain with corresponding vertices numbering. I want to divide my domain in to four as marked in the figure.
for that following codes are used:

hex(0 1 2 8 10 11 12 18) (10 10 1) simpleGrading (1 1 1) //block 0
hex(8 2 3 7 18 12 13 17) (10 10 1) simpleGrading (1 1 1) //block 1
hex(7 9 5 6 17 19 15 16) (10 10 1) simpleGrading (1 1 1) //block 2
hex(9 3 4 5 19 13 14 15) (10 10 1) simpleGrading (1 1 1) //block 3

But i am getting two internal face, its orientation is (7 17 9 19) and (9 19 3 13)

I want to get rid of this internal face. Or help me with any other condition that will nullify the effect of internal face.
DSC_1749.jpg

Last edited by Arjun Jayakumar; November 13, 2014 at 03:52.
Arjun Jayakumar is offline   Reply With Quote

Old   November 13, 2014, 04:19
Default
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by Arjun Jayakumar View Post
Dear all,

I am new to blockMesh utility. I have attached my domain with corresponding vertices numbering. I want to divide my domain in to four as marked in the figure.
for that following codes are used:

hex(0 1 2 8 10 11 12 18) (10 10 1) simpleGrading (1 1 1) //block 0
hex(8 2 3 7 18 12 13 17) (10 10 1) simpleGrading (1 1 1) //block 1
hex(7 9 5 6 17 19 15 16) (10 10 1) simpleGrading (1 1 1) //block 2
hex(9 3 4 5 19 13 14 15) (10 10 1) simpleGrading (1 1 1) //block 3

But i am getting two internal face, its orientation is (7 17 9 19) and (9 19 3 13)

I want to get rid of this internal face. Or help me with any other condition that will nullify the effect of internal face.
Attachment 35071
I would rather create blocks out of nodes (9,19) and divide block 0 and 1, similar to block 2 and 3.

Anyways, try defining your Boundary Conditions like this,

defaultFaces
{
type empty;
}

Re-run your case, I hope it will solve your problem.

-
Best Luck!
Tushar@cfd is offline   Reply With Quote

Old   November 13, 2014, 05:02
Default
  #3
New Member
 
Arjun
Join Date: Jan 2014
Location: Chennai
Posts: 21
Rep Power: 12
Arjun Jayakumar is on a distinguished road
Quote:
Originally Posted by Tushar@cfd View Post
I would rather create blocks out of nodes (9,19) and divide block 0 and 1, similar to block 2 and 3.

Anyways, try defining your Boundary Conditions like this,

defaultFaces
{
type empty;
}

Re-run your case, I hope it will solve your problem.

-
Best Luck!
dear tushar,

thank you for your time.
I have already tried this by setting the defaultfaces to empty but this will not help to solve the problem.
Its showing higher velocities at the patch surface, which result in too high courant number.
Do you know how i am getting these internal faces, without defining any where in the blockMesh dictionary.
Arjun Jayakumar is offline   Reply With Quote

Old   November 13, 2014, 05:34
Default
  #4
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by Arjun Jayakumar View Post
dear tushar,

thank you for your time.
I have already tried this by setting the defaultfaces to empty but this will not help to solve the problem.
Its showing higher velocities at the patch surface, which result in too high courant number.
Do you know how i am getting these internal faces, without defining any where in the blockMesh dictionary.
Dear Arjun,

The error is in the blockMesh, due to node (9, 19) which is connected to a face. If you remove this node and use only 3 blocks it will work, as it will follows the block rule.

If your case demands such mesh only. Then, you can try "merge" option of OpenFOAM. Although, I never tried it but I think that will help you resolve.

Please, do share to FOAM community if you happen to get correct solutions.

-
Best Luck!
Tushar@cfd is offline   Reply With Quote

Old   November 13, 2014, 06:36
Default
  #5
New Member
 
Arjun
Join Date: Jan 2014
Location: Chennai
Posts: 21
Rep Power: 12
Arjun Jayakumar is on a distinguished road
Quote:
Originally Posted by Tushar@cfd View Post
Dear Arjun,

The error is in the blockMesh, due to node (9, 19) which is connected to a face. If you remove this node and use only 3 blocks it will work, as it will follows the block rule.

If your case demands such mesh only. Then, you can try "merge" option of OpenFOAM. Although, I never tried it but I think that will help you resolve.

Please, do share to FOAM community if you happen to get correct solutions.

-
Best Luck!
dear tushar,

I need to define a patch on face (4 14 15 5).

If i try with 3 blocks it will lead to error "face 0 in patch 0 does not have neighbour cell face: 4(4 14 15 5).

I am not familiar with merge. which all faces do you suggest to merge.

Thank you
Arjun Jayakumar is offline   Reply With Quote

Old   November 13, 2014, 07:20
Default
  #6
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by Arjun Jayakumar View Post
dear tushar,

I need to define a patch on face (4 14 15 5).

If i try with 3 blocks it will lead to error "face 0 in patch 0 does not have neighbour cell face: 4(4 14 15 5).

I am not familiar with merge. which all faces do you suggest to merge.

Thank you
Dear Arjun,

You can easily construct 3 block for the case which you have referred in the figure. Follow carefully the blockMesh strategy of OpenFOAM, refer link below for the same:

http://www.openfoam.org/docs/user/blockMesh.php

For merge patch I am not an expert. You can explore it.

-
Best Luck!
Tushar@cfd is offline   Reply With Quote

Old   November 13, 2014, 14:03
Default
  #7
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
An alternative method is to generate the 3-block mesh which works, then use topoSet to select the faces that correspond to face 4 14 15 5 and use createPatch to generate the boundary patch.

I've found this approach is more consistent and allows you to make all kinds of boundary patches that only partially cover the domain boundaries, and requires less debugging of the blockMesh dict file which can become a real headache.
mturcios777 is offline   Reply With Quote

Old   November 14, 2014, 06:48
Default
  #8
New Member
 
Arjun
Join Date: Jan 2014
Location: Chennai
Posts: 21
Rep Power: 12
Arjun Jayakumar is on a distinguished road
Quote:
Originally Posted by mturcios777 View Post
An alternative method is to generate the 3-block mesh which works, then use topoSet to select the faces that correspond to face 4 14 15 5 and use createPatch to generate the boundary patch.

I've found this approach is more consistent and allows you to make all kinds of boundary patches that only partially cover the domain boundaries, and requires less debugging of the blockMesh dict file which can become a real headache.
Thank you for your suggestion Marco. I think it will take some time for me to familiarize with topoSet utility. Will post the updates and looking forward to your help in future.
Arjun Jayakumar is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 09:15
[blockMesh] Difficulty creating internal faces salomama OpenFOAM Meshing & Mesh Conversion 1 August 19, 2018 15:45
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
[Gmsh] Vertex numbering is dense KateEisenhower OpenFOAM Meshing & Mesh Conversion 7 August 3, 2015 10:49


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