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

[blockMesh] Internal faces between blocks

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2012, 13:47
Default Internal faces between blocks
  #1
Member
 
Marco Bernardes
Join Date: May 2009
Posts: 59
Rep Power: 17
masb is on a distinguished road
Dear All,

I'm creating a mesh with many internal blocks. The mesh and boundary conditions are OK but some internal faces are producing mass flow. Should not these internal faces between blocks (which didn't received boundary conditions) simply be ignored?
Any quick help is welcomed.

Many thanks,

Marco.


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.1;

vertices
(

(0 15.2782086 0) //0
(31.8779167 15.2782086 0) //1
(25 32.5 0) //2
(0 32.5 0) //3
(0 15.2782086 0.5) //4
(31.8779167 15.2782086 0.5) //5
(25 32.5 0.5) //6
(0 32.5 0.5) //7

(0 3 0) //8
(31.8779167 3 0) //9
(31.8779167 15.2782086 0) //10
(0 15.2782086 0) //11
(0 3 0.5) //12
(31.8779167 3 0.5) //13
(31.8779167 15.2782086 0.5) //14
(0 15.2782086 0.5) //15

(0 1.2727922 0) //16
(31.8779167 1.2727922 0) //17
(31.8779167 3 0) //18
(0 3 0) //19
(0 1.2727922 0.5) //20
(31.8779167 1.2727922 0.5) //21
(31.8779167 3 0.5) //22
(0 3 0.5) //23

(0 0 0) //24
(31.8779167 0 0) //25
(31.8779167 1.2727922 0) //26
(0 1.2727922 0) //27
(0 0 0.5) //28
(31.8779167 0 0.5) //29
(31.8779167 1.2727922 0.5) //30
(0 1.2727922 0.5) //31

(31.8779167 3 0) //32
(48.727078 3 0) //33
(48.727078 7.532421 0) //34
(31.8779167 15.2782086 0) //35
(31.8779167 3 0.5) //36
(48.727078 3 0.5) //37
(48.727078 7.532421 0.5) //38
(31.8779167 15.2782086 0.5) //39

(31.8779167 1.2727922 0) //40
(48.727078 1.2727922 0) //41
(48.727078 3 0) //42
(31.8779167 3 0) //43
(31.8779167 1.2727922 0.5) //44
(48.727078 1.2727922 0.5) //45
(48.727078 3 0.5) //46
(31.8779167 3 0.5) //47

(31.8779167 0 0) //48
(48.2 0 0) //49
(48.727078 1.2727922 0) //50
(31.8779167 1.2727922 0) //51
(31.8779167 0 0.5) //52
(48.2 0 0.5) //53
(48.727078 1.2727922 0.5) //54
(31.8779167 1.2727922 0.5) //55


(48.727078 3 0) //56
(50 3 0) //57
(50 7.5 0) //58
(48.727078 7.532421 0) //59
(48.727078 3 0.5) //60
(50 3 0.5) //61
(50 7.5 0.5) //62
(48.727078 7.532421 0.5) //63

(48.727078 1.2727922 0) //64
(50 1.8 0) //65
(50 3 0) //66
(48.727078 3 0) //67
(48.727078 1.2727922 0.5) //68
(50 1.8 0.5) //69
(50 3 0.5) //70
(48.727078 3 0.5) //71
);

blocks
(
hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) (20 20 1) simpleGrading (1 1 1)
hex (16 17 18 19 20 21 22 23) (20 4 1) simpleGrading (1 1 1)
hex (24 25 26 27 28 29 30 31) (20 4 1) simpleGrading (1 1 1)
hex (32 33 34 35 36 37 38 39) (20 20 1) simpleGrading (1 1 1)
hex (40 41 42 43 44 45 46 47) (20 4 1) simpleGrading (1 1 1)
hex (48 49 50 51 52 53 54 55) (20 4 1) simpleGrading (1 1 1)
hex (56 57 58 59 60 61 62 63) (4 20 1) simpleGrading (1 1 1)
hex (64 65 66 67 68 69 70 71) (4 4 1) simpleGrading (1 1 1)

);

edges
(
arc 1 2 (26.7830657 23.2277857 0)
arc 5 6 (26.7830657 23.2277857 0.5)

arc 34 35 (39.5577969 9.7852384 0)
arc 38 39 (39.5577969 9.7852384 0.5)

arc 49 50 (48.3370196 0.6888302 0)
arc 53 54 (48.3370196 0.6888302 0.5)

arc 64 65 (49.3111698 1.6229832 0)
arc 68 69 (49.3111698 1.6229832 0.5)


);

boundary
(
inlet // patch name
{
type inlet; // patch type for patch 0
faces
(
(0 3 7 4)
(8 11 15 12)
(16 19 23 20)
(24 27 31 28)
);
}

outlet // patch name
{
type patch; // patch type for patch 1
faces
(
(57 58 62 61)
(65 66 70 69)
);
}

walls // patch name
{
type wall; // patch type for patch 0
faces
(
(1 2 6 5)
(3 2 7 6)
(34 35 39 38)
(62 63 59 58)

(24 49 53 28)
(49 50 54 53)
(64 65 69 68)
);
}
);

patches
(
patch
inlet
(
(0 3 7 4)
(8 11 15 12)
(16 19 23 20)
(24 27 31 28)
)

patch
outlet
(

(57 58 62 61)
(65 66 70 69)


)

symmetryPlane
symmetryPlane
(
(2 3 7 6)
(24 25 29 28)
(48 49 53 52)
)

wall
wall
(
(1 2 6 5)
(34 35 39 38)
(58 59 63 62)
(49 50 54 53)
(64 65 69 68)
)
empty
empty
(
(0 1 2 3)
(4 5 6 7)
(8 9 10 11)
(12 13 14 15)
(16 17 18 19)
(20 21 22 23)
(24 25 26 27)
(28 29 30 31)
(32 33 34 35)
(36 37 38 39)
(40 41 42 43)
(44 45 46 47)
(48 49 50 51)
(52 53 54 55)
(56 57 58 59)
(60 61 62 63)
(64 65 66 67)
(68 69 70 71)

)
)


mergePatchPairs
(
);

// ************************************************** *********************** //
masb is offline   Reply With Quote

Old   December 15, 2012, 13:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Marco,

I've moved you thread to the blockMesh sub-forum, since this would be the best place to ask about how to use it

I don't have enough time right now to go around diagnosing the one you've got, so my quickest suggestion is for you to use SwiftBlock: http://openfoamwiki.net/index.php/Contrib/SwiftBlock

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
internal faces, mesh


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
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 10:23
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 11:58
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 09:14
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 16:03
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11


All times are GMT -4. The time now is 14:50.