CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Error !! No. of points and fields don't match

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

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2019, 18:06
Question Error !! No. of points and fields don't match
  #1
Member
 
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 2
mkjmalik is an unknown quantity at this point
ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\ IO\Geometry\vtkOpenFOAMReader.cxx, line 7590
vtkOpenFOAMReaderPrivate (000001CB4309AFA0): Number of cells/points in mesh and field don't match: mesh = 15000, field = 8000


How i can solve this error? i made 15 blocks of (10 10 10) cells, i hv tried to solve this by creating 14 blocks of (10 10 5) and 1 block of (10 10 10) to match but then another error occurs of inconsistency of no. of faces. please help me solve this issue.

i'm new to Openfoam.
Regards MKJ
mkjmalik is offline   Reply With Quote

Old   October 22, 2019, 19:31
Default
  #2
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 4,101
Rep Power: 49
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
First of all, what are you even doing?


The error is self-explanatory. Your fields (presumably, p, U, etc) contain 8000 cells but you load a mesh which has a different number, which means there is an inconsistency and an obvious error.
LuckyTran is offline   Reply With Quote

Old   October 31, 2019, 16:05
Unhappy problem
  #3
Member
 
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 2
mkjmalik is an unknown quantity at this point
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
(0 0 0) //0 first line
(6.9 0 0) //1
(7.7 0 0) //2
(10.7 0 0) //3
(11.4595 0 0) //4
(12.4507 0 0) //5
(20 0 0) //6

(0 1.3 0) //7 2nd line
(6.9 1.3 0) //8
(7.7 1.3 0) //9
(10.7 1.3 0) //10
(11.4595 1.3 0) //11
(12.4507 1.3 0) //12
(20 1.3 0) //13

(0 1.6247 0) //14 3rd line
(6.9 1.6247 0) //15
(7.7 1.6247 0) //16
(10.7 1.6247 0) //17
(11.4595 1.6247 0) //18
(12.4507 1.6247 0) //19
(20 1.6247 0) //20

(0 1.8 0) //21 4th line
(6.9 1.8 0) //22
(7.7 1.8 0) //23
(10.7 1.8 0) //24
(11.1 1.8 0) //25
(11.545 1.8 0) //26
(12.4507 1.8 0) //27
(20 1.8 0) //28

(0 2.3 0) //29 5th line
(6.9 2.3 0) //30
(7.7 2.3 0) //31
(10.7 2.3 0) //32
(11.3439 2.3 0) //33
(11.7889 2.3 0) //34
(12.4507 2.3 0) //35
(20 2.3 0) //36

(0 2.3437 0) //37 6th line
(6.9 2.3437 0) //38
(7.7 2.3437 0) //39
(10.7 2.3437 0) //40
(11.3652 2.3437 0) //41
(11.8102 2.3437 0) //42
(12.4507 2.3437 0) //43
(20 2.3437 0) //44

(0 2.519 0) //45 7th line
(6.9 2.519 0) //46
(7.7 2.519 0) //47
(10.7 2.519 0) //48
(11.4507 2.519 0) //49
(12.4507 2.519 0) //50
(20 2.519 0) //51

(0 3.6 0) //52 8th line
(6.9 3.6 0) //53
(7.7 3.6 0) //54
(10.7 3.6 0) //55
(11.4507 3.6 0) //56
(12.4507 3.6 0) //57
(20 3.6 0) //58


(0 0 0.8) //59 first line(Z=0.8)
(6.9 0 0.8) //60
(7.7 0 0.8) //61
(10.7 0 0.8) //62
(11.4595 0 0.8) //63
(12.4507 0 0.8) //64
(20 0 0.8) //65

(0 1.3 0.8) //66 2nd line
(6.9 1.3 0.8) //67
(7.7 1.3 0.8) //68
(10.7 1.3 0.8) //69
(11.4595 1.3 0.8) //70
(12.4507 1.3 0.8) //71
(20 1.3 0.8) //72

(0 1.6247 0.8) //73 3rd line
(6.9 1.6247 0.8) //74
(7.7 1.6247 0.8) //75
(10.7 1.6247 0.8) //76
(11.4595 1.6247 0.8) //77
(12.4507 1.6247 0.8) //78
(20 1.6247 0.8) //79

(0 1.8 0.8) //80 4th line
(6.9 1.8 0.8) //81
(7.7 1.8 0.8) //82
(10.7 1.8 0.8) //83
(11.1 1.8 0.8) //84
(11.545 1.8 0.8) //85
(12.4507 1.8 0.8) //86
(20 1.8 0.8) //87

(0 2.3 0.8) //88 5th line
(6.9 2.3 0.8) //89
(7.7 2.3 0.8) //90
(10.7 2.3 0.8) //91
(11.3439 2.3 0.8) //92
(11.7889 2.3 0.8) //93
(12.4507 2.3 0.8) //94
(20 2.3 0.8) //95

(0 2.3437 0.8) //96 6th line
(6.9 2.3437 0.8) //97
(7.7 2.3437 0.8) //98
(10.7 2.3437 0.8) //99
(11.3652 2.3437 0.8) //100
(11.8102 2.3437 0.8) //101
(12.4507 2.3437 0.8) //102
(20 2.3437 0.8) //103

(0 2.519 0.8) //104 7th line
(6.9 2.519 0.8) //105
(7.7 2.519 0.8) //106
(10.7 2.519 0.8) //107
(11.4507 2.519 0.8) //108
(12.4507 2.519 0.8) //109
(20 2.519 0.8) //110

(0 3.6 0.8) //111 8th line
(6.9 3.6 0.8) //112
(7.7 3.6 0.8) //113
(10.7 3.6 0.8) //114
(11.4507 3.6 0.8) //115
(12.4507 3.6 0.8) //116
(20 3.6 0.8) //117


(0 0 2) //118 first line (Z=2)
(6.9 0 2) //119
(7.7 0 2) //120
(10.7 0 2) //121
(11.4595 0 2) //122
(12.4507 0 2) //123
(20 0 2) //124

(0 1.3 2) //125 2nd line
(6.9 1.3 2) //126
(7.7 1.3 2) //127
(10.7 1.3 2) //128
(11.4595 1.3 2) //129
(12.4507 1.3 2) //130
(20 1.3 2) //131

(0 1.6247 2) //132 3rd line
(6.9 1.6247 2) //133
(7.7 1.6247 2) //134
(10.7 1.6247 2) //135
(11.4595 1.6247 2) //136
(12.4507 1.6247 2) //137
(20 1.6247 2) //138

(0 1.8 2) //139 4th line
(6.9 1.8 2) //140
(7.7 1.8 2) //141
(10.7 1.8 2) //142
(11.1 1.8 2) //143
(11.545 1.8 2) //144
(12.4507 1.8 2) //145
(20 1.8 2) //146

(0 2.3 2) //147 5th line
(6.9 2.3 2) //148
(7.7 2.3 2) //149
(10.7 2.3 2) //150
(11.3439 2.3 2) //151
(11.7889 2.3 2) //152
(12.4507 2.3 2) //153
(20 2.3 2) //154

(0 2.3437 2) //155 6th line
(6.9 2.3437 2) //156
(7.7 2.3437 2) //157
(10.7 2.3437 2) //158
(11.3652 2.3437 2) //159
(11.8102 2.3437 2) //160
(12.4507 2.3437 2) //161
(20 2.3437 2) //162

(0 2.519 2) //163 7th line
(6.9 2.519 2) //164
(7.7 2.519 2) //165
(10.7 2.519 2) //166
(11.4507 2.519 2) //167
(12.4507 2.519 2) //168
(20 2.519 2) //169

(0 3.6 2) //170 8th line
(6.9 3.6 2) //171
(7.7 3.6 2) //172
(10.7 3.6 2) //173
(11.4507 3.6 2) //174
(12.4507 3.6 2) //175
(20 3.6 2) //176


);

blocks
(
hex (0 1 8 7 59 60 67 66) (20 20 1) simpleGrading (1 1 1)

hex (2 3 10 9 61 62 69 68) (20 20 1) simpleGrading (1 1 1)
hex (3 4 11 10 62 63 70 69) (20 20 1) simpleGrading (1 1 1)
hex (4 5 12 11 63 64 71 70) (20 20 1) simpleGrading (1 1 1)
hex (5 6 13 12 64 65 72 71) (20 20 1) simpleGrading (1 1 1)

hex (7 8 15 14 66 67 74 73) (20 20 1) simpleGrading (1 1 1)
hex (8 9 16 15 67 68 75 74) (20 20 1) simpleGrading (1 1 1)
hex (9 10 17 16 68 69 76 75) (20 20 1) simpleGrading (1 1 1)
hex (10 11 18 17 69 70 77 76) (20 20 1) simpleGrading (1 1 1)
hex (11 12 19 18 70 71 78 77) (20 20 1) simpleGrading (1 1 1)
hex (12 13 20 19 71 72 79 78) (20 20 1) simpleGrading (1 1 1)

hex (14 15 22 21 73 74 81 80) (20 20 1) simpleGrading (1 1 1)
hex (15 16 23 22 74 75 82 81) (20 20 1) simpleGrading (1 1 1)
hex (16 17 24 23 75 76 83 82) (20 20 1) simpleGrading (1 1 1)
hex (17 18 25 24 76 77 84 83) (20 20 1) simpleGrading (1 1 1)
hex (18 19 27 26 77 78 86 85) (20 20 1) simpleGrading (1 1 1)
hex (19 20 28 27 78 79 87 86) (20 20 1) simpleGrading (1 1 1)

hex (21 22 30 29 80 81 89 88) (20 20 1) simpleGrading (1 1 1)
hex (22 23 31 30 81 82 90 89) (20 20 1) simpleGrading (1 1 1)
hex (23 24 32 31 82 83 91 90) (20 20 1) simpleGrading (1 1 1)
hex (24 25 33 32 83 84 92 91) (20 20 1) simpleGrading (1 1 1)
hex (26 27 35 34 85 86 94 93) (20 20 1) simpleGrading (1 1 1)
hex (27 28 36 35 86 87 95 94) (20 20 1) simpleGrading (1 1 1)

hex (29 30 38 37 88 89 97 96) (20 20 1) simpleGrading (1 1 1)
hex (31 32 40 39 90 91 99 98) (20 20 1) simpleGrading (1 1 1)
hex (32 33 41 40 91 92 100 99) (20 20 1) simpleGrading (1 1 1)
hex (34 35 43 42 93 94 102 101) (20 20 1) simpleGrading (1 1 1)
hex (35 36 44 43 94 95 103 102) (20 20 1) simpleGrading (1 1 1)

hex (37 38 46 45 96 97 105 104) (20 20 1) simpleGrading (1 1 1)
hex (39 40 48 47 98 99 107 106) (20 20 1) simpleGrading (1 1 1)
hex (40 41 49 48 99 100 108 107) (20 20 1) simpleGrading (1 1 1)
hex (42 43 50 49 101 102 109 108) (20 20 1) simpleGrading (1 1 1)
hex (43 44 51 50 102 103 110 109) (20 20 1) simpleGrading (1 1 1)

hex (45 46 53 52 104 105 112 111) (20 20 1) simpleGrading (1 1 1)

hex (47 48 55 54 106 107 114 113) (20 20 1) simpleGrading (1 1 1)
hex (48 49 56 55 107 108 115 114) (20 20 1) simpleGrading (1 1 1)
hex (49 50 57 56 108 109 116 115) (20 20 1) simpleGrading (1 1 1)
hex (50 51 58 57 109 110 117 116) (20 20 1) simpleGrading (1 1 1)

hex (25 18 42 49 84 77 101 108) (20 20 1) simpleGrading (1 1 1)

hex (59 60 67 66 118 119 126 125) (20 20 1) simpleGrading (1 1 1) //z=0.8-2

hex (61 62 69 68 120 121 128 127) (20 20 1) simpleGrading (1 1 1)
hex (62 63 70 69 121 122 129 128) (20 20 1) simpleGrading (1 1 1)
hex (63 64 71 70 122 123 130 129) (20 20 1) simpleGrading (1 1 1)
hex (64 65 72 71 123 124 131 130) (20 20 1) simpleGrading (1 1 1)

hex (66 67 74 73 125 126 133 132) (20 20 1) simpleGrading (1 1 1)
hex (67 68 75 74 126 127 134 133) (20 20 1) simpleGrading (1 1 1)
hex (68 69 76 75 127 128 135 134) (20 20 1) simpleGrading (1 1 1)
hex (69 70 77 76 128 129 136 135) (20 20 1) simpleGrading (1 1 1)
hex (70 71 78 77 129 130 137 136) (20 20 1) simpleGrading (1 1 1)
hex (71 72 79 78 130 131 138 137) (20 20 1) simpleGrading (1 1 1)

hex (73 74 81 80 132 133 140 139) (20 20 1) simpleGrading (1 1 1)
hex (74 75 82 81 133 134 141 140) (20 20 1) simpleGrading (1 1 1)
hex (75 76 83 82 134 135 142 141) (20 20 1) simpleGrading (1 1 1)
hex (76 77 84 83 135 136 143 142) (20 20 1) simpleGrading (1 1 1)
hex (77 78 86 85 136 137 145 144) (20 20 1) simpleGrading (1 1 1)
hex (78 79 87 86 137 138 146 145) (20 20 1) simpleGrading (1 1 1)

hex (80 81 89 88 139 140 148 147) (20 20 1) simpleGrading (1 1 1)
hex (81 82 90 89 140 141 149 148) (20 20 1) simpleGrading (1 1 1)
hex (82 83 91 90 141 142 150 149) (20 20 1) simpleGrading (1 1 1)
hex (83 84 92 91 142 143 151 150) (20 20 1) simpleGrading (1 1 1)
hex (85 86 94 93 144 145 153 152) (20 20 1) simpleGrading (1 1 1)
hex (86 87 95 94 145 146 154 153) (20 20 1) simpleGrading (1 1 1)

hex (88 89 97 96 147 148 156 155) (20 20 1) simpleGrading (1 1 1)
hex (90 91 99 98 149 150 158 157) (20 20 1) simpleGrading (1 1 1)
hex (91 92 100 99 150 151 159 158) (20 20 1) simpleGrading (1 1 1)
hex (93 94 102 101 152 153 161 160) (20 20 1) simpleGrading (1 1 1)
hex (94 95 103 102 153 154 162 161) (20 20 1) simpleGrading (1 1 1)

hex (96 97 105 104 155 156 164 163) (20 20 1) simpleGrading (1 1 1)
hex (98 99 107 106 157 158 166 165) (20 20 1) simpleGrading (1 1 1)
hex (99 100 108 107 158 159 167 166) (20 20 1) simpleGrading (1 1 1)
hex (101 102 109 108 160 161 168 167) (20 20 1) simpleGrading (1 1 1)
hex (102 103 110 109 161 162 169 168) (20 20 1) simpleGrading (1 1 1)

hex (104 105 112 111 163 164 171 170) (20 20 1) simpleGrading (1 1 1)

hex (106 107 114 113 165 166 173 172) (20 20 1) simpleGrading (1 1 1)
hex (107 108 115 114 166 167 174 173) (20 20 1) simpleGrading (1 1 1)
hex (108 109 116 115 167 168 175 174) (20 20 1) simpleGrading (1 1 1)
hex (109 110 117 116 168 169 176 175) (20 20 1) simpleGrading (1 1 1)

hex (84 77 101 108 143 136 160 167) (20 20 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
lowerWall
{
type wall;
faces
(
(0 1 8 7)

(2 3 10 9)
(3 4 11 10)
(4 5 12 11)
(5 6 13 12)

(7 8 15 14)
(8 9 16 15)
(9 10 17 16)
(10 11 18 17)
(11 12 19 18)
(12 13 20 19)

(14 15 22 21)
(15 16 23 22)
(16 17 24 23)
(17 18 25 24)
(18 19 27 26)
(19 20 28 27)

(21 22 30 29)
(22 23 31 30)
(23 24 32 31)
(24 25 33 32)
(26 27 35 34)
(27 28 36 35)

(29 30 38 37)
(31 32 40 39)
(32 33 41 40)
(34 35 43 42)
(35 36 44 43)

(37 38 46 45)
(39 40 48 47)
(40 41 49 48)
(42 43 50 49)
(43 44 51 50)

(45 46 53 52)

(47 48 55 54)
(48 49 56 55)
(49 50 57 56)
(50 51 58 57)

(25 18 42 49)
);
}

atmosphere
{
type patch;
faces
(
(118 119 126 125)

(120 121 128 127)
(121 122 129 128)
(122 123 130 129)
(123 124 131 130)

(125 126 133 132)
(126 125 134 133)
(127 126 135 134)
(128 127 136 135)
(129 128 137 136)
(130 129 138 137)

(132 133 140 139)
(133 134 141 140)
(134 135 142 141)
(135 136 143 142)
(136 137 145 144)
(137 138 146 145)

(139 140 148 147)
(140 141 149 148)
(141 142 150 149)
(142 143 151 150)
(144 145 153 152)
(145 146 154 153)

(147 148 156 155)
(149 150 158 157)
(150 151 159 158)
(152 153 161 160)
(153 154 162 161)

(155 156 164 163)
(157 158 166 165)
(158 159 167 166)
(160 161 168 167)
(161 162 169 168)

(163 164 171 170)

(165 166 173 172)
(166 167 174 173)
(167 168 175 174)
(168 169 176 175)

(143 136 160 159)
):
}

outSideWalls
{
type Wall;
faces
(
(0 1 60 59) // z=0.8
(1 8 67 60)
(8 9 68 67)
(9 2 61 68)
(2 3 62 61)
(3 4 63 62)
(4 5 64 63)
(5 6 65 64)

(59 60 119 118) // z=2
(60 67 126 119)
(67 68 127 126)
(68 61 120 127)
(61 62 121 120)
(62 63 122 121)
(63 64 123 122)
(64 65 124 123)

(6 13 72 65) //z=0.8
(13 20 79 72)
(20 28 87 79)
(28 36 95 87)
(36 44 103 95)
(44 51 110 103)
(51 58 117 110)

(65 72 131 124) //z=2
(72 79 138 131)
(79 87 146 138)
(87 95 154 146)
(95 103 162 154)
(103 110 169 162)
(110 117 176 169)

(58 57 116 117) //z=0.8
(57 56 115 116)
(56 55 114 115)
(55 54 113 114)
(54 47 106 113)
(47 39 98 106)
(39 31 90 98)
(31 30 89 90)
(30 38 97 89)
(38 46 105 97)
(46 53 112 105)
(53 52 111 112)

(117 116 175 176) //z=2
(116 115 174 175)
(115 114 173 174)
(114 113 172 173)
(113 106 165 172)
(106 98 157 165)
(98 90 149 157)
(90 89 148 149)
(89 97 156 148)
(97 105 164 156)
(105 112 171 164)
(112 111 170 171)

(52 45 104 111) //z=0.8
(45 37 96 104)
(37 29 88 96)
(29 21 80 88)
(21 14 73 80)
(14 7 66 73)
(7 0 59 66)

(111 104 163 170) //z=2
(104 96 155 163)
(96 88 147 155)
(88 80 139 147)
(80 73 132 139)
(73 66 125 132)
(66 59 118 125)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //


this is my blockmeshdict file.. can you please help me sort out problem. when you visualize this mesh you will find an obstacle in the middle. which is open from two sides. this is my obstacle for the flow but i want to close it from all sides and i want to remove the upper part of this obstacle from height 0.8.
this is dambreakflow case. and its my first mesh ever. i don't know how i can solve this. please help me.

Thanks..
mkjmalik is offline   Reply With Quote

Old   November 1, 2019, 03:44
Default
  #4
Member
 
Join Date: Aug 2018
Posts: 74
Rep Power: 4
vesp is on a distinguished road
Quote:
Originally Posted by mkjmalik View Post
/*--------------------------------*- C++ -*----------------------------------*\

| ========= | |

| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |

| \\ / O peration | Version: 5 |

| \\ / A nd | Web: www.OpenFOAM.org |

| \\/ M anipulation | |

\*---------------------------------------------------------------------------*/

FoamFile

{

version 2.0;

format ascii;

class dictionary;

object blockMeshDict;

}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //



convertToMeters 1;



vertices

(

(0 0 0) //0 first line

(6.9 0 0) //1

(7.7 0 0) //2

(10.7 0 0) //3

(11.4595 0 0) //4

(12.4507 0 0) //5

(20 0 0) //6



(0 1.3 0) //7 2nd line

(6.9 1.3 0) //8

(7.7 1.3 0) //9

(10.7 1.3 0) //10

(11.4595 1.3 0) //11

(12.4507 1.3 0) //12

(20 1.3 0) //13



(0 1.6247 0) //14 3rd line

(6.9 1.6247 0) //15

(7.7 1.6247 0) //16

(10.7 1.6247 0) //17

(11.4595 1.6247 0) //18

(12.4507 1.6247 0) //19

(20 1.6247 0) //20



(0 1.8 0) //21 4th line

(6.9 1.8 0) //22

(7.7 1.8 0) //23

(10.7 1.8 0) //24

(11.1 1.8 0) //25

(11.545 1.8 0) //26

(12.4507 1.8 0) //27

(20 1.8 0) //28



(0 2.3 0) //29 5th line

(6.9 2.3 0) //30

(7.7 2.3 0) //31

(10.7 2.3 0) //32

(11.3439 2.3 0) //33

(11.7889 2.3 0) //34

(12.4507 2.3 0) //35

(20 2.3 0) //36



(0 2.3437 0) //37 6th line

(6.9 2.3437 0) //38

(7.7 2.3437 0) //39

(10.7 2.3437 0) //40

(11.3652 2.3437 0) //41

(11.8102 2.3437 0) //42

(12.4507 2.3437 0) //43

(20 2.3437 0) //44



(0 2.519 0) //45 7th line

(6.9 2.519 0) //46

(7.7 2.519 0) //47

(10.7 2.519 0) //48

(11.4507 2.519 0) //49

(12.4507 2.519 0) //50

(20 2.519 0) //51



(0 3.6 0) //52 8th line

(6.9 3.6 0) //53

(7.7 3.6 0) //54

(10.7 3.6 0) //55

(11.4507 3.6 0) //56

(12.4507 3.6 0) //57

(20 3.6 0) //58





(0 0 0.8) //59 first line(Z=0.8)

(6.9 0 0.8) //60

(7.7 0 0.8) //61

(10.7 0 0.8) //62

(11.4595 0 0.8) //63

(12.4507 0 0.8) //64

(20 0 0.8) //65



(0 1.3 0.8) //66 2nd line

(6.9 1.3 0.8) //67

(7.7 1.3 0.8) //68

(10.7 1.3 0.8) //69

(11.4595 1.3 0.8) //70

(12.4507 1.3 0.8) //71

(20 1.3 0.8) //72



(0 1.6247 0.8) //73 3rd line

(6.9 1.6247 0.8) //74

(7.7 1.6247 0.8) //75

(10.7 1.6247 0.8) //76

(11.4595 1.6247 0.8) //77

(12.4507 1.6247 0.8) //78

(20 1.6247 0.8) //79



(0 1.8 0.8) //80 4th line

(6.9 1.8 0.8) //81

(7.7 1.8 0.8) //82

(10.7 1.8 0.8) //83

(11.1 1.8 0.8) //84

(11.545 1.8 0.8) //85

(12.4507 1.8 0.8) //86

(20 1.8 0.8) //87



(0 2.3 0.8) //88 5th line

(6.9 2.3 0.8) //89

(7.7 2.3 0.8) //90

(10.7 2.3 0.8) //91

(11.3439 2.3 0.8) //92

(11.7889 2.3 0.8) //93

(12.4507 2.3 0.8) //94

(20 2.3 0.8) //95



(0 2.3437 0.8) //96 6th line

(6.9 2.3437 0.8) //97

(7.7 2.3437 0.8) //98

(10.7 2.3437 0.8) //99

(11.3652 2.3437 0.8) //100

(11.8102 2.3437 0.8) //101

(12.4507 2.3437 0.8) //102

(20 2.3437 0.8) //103



(0 2.519 0.8) //104 7th line

(6.9 2.519 0.8) //105

(7.7 2.519 0.8) //106

(10.7 2.519 0.8) //107

(11.4507 2.519 0.8) //108

(12.4507 2.519 0.8) //109

(20 2.519 0.8) //110



(0 3.6 0.8) //111 8th line

(6.9 3.6 0.8) //112

(7.7 3.6 0.8) //113

(10.7 3.6 0.8) //114

(11.4507 3.6 0.8) //115

(12.4507 3.6 0.8) //116

(20 3.6 0.8) //117





(0 0 2) //118 first line (Z=2)

(6.9 0 2) //119

(7.7 0 2) //120

(10.7 0 2) //121

(11.4595 0 2) //122

(12.4507 0 2) //123

(20 0 2) //124



(0 1.3 2) //125 2nd line

(6.9 1.3 2) //126

(7.7 1.3 2) //127

(10.7 1.3 2) //128

(11.4595 1.3 2) //129

(12.4507 1.3 2) //130

(20 1.3 2) //131



(0 1.6247 2) //132 3rd line

(6.9 1.6247 2) //133

(7.7 1.6247 2) //134

(10.7 1.6247 2) //135

(11.4595 1.6247 2) //136

(12.4507 1.6247 2) //137

(20 1.6247 2) //138



(0 1.8 2) //139 4th line

(6.9 1.8 2) //140

(7.7 1.8 2) //141

(10.7 1.8 2) //142

(11.1 1.8 2) //143

(11.545 1.8 2) //144

(12.4507 1.8 2) //145

(20 1.8 2) //146



(0 2.3 2) //147 5th line

(6.9 2.3 2) //148

(7.7 2.3 2) //149

(10.7 2.3 2) //150

(11.3439 2.3 2) //151

(11.7889 2.3 2) //152

(12.4507 2.3 2) //153

(20 2.3 2) //154



(0 2.3437 2) //155 6th line

(6.9 2.3437 2) //156

(7.7 2.3437 2) //157

(10.7 2.3437 2) //158

(11.3652 2.3437 2) //159

(11.8102 2.3437 2) //160

(12.4507 2.3437 2) //161

(20 2.3437 2) //162



(0 2.519 2) //163 7th line

(6.9 2.519 2) //164

(7.7 2.519 2) //165

(10.7 2.519 2) //166

(11.4507 2.519 2) //167

(12.4507 2.519 2) //168

(20 2.519 2) //169



(0 3.6 2) //170 8th line

(6.9 3.6 2) //171

(7.7 3.6 2) //172

(10.7 3.6 2) //173

(11.4507 3.6 2) //174

(12.4507 3.6 2) //175

(20 3.6 2) //176





);



blocks

(

hex (0 1 8 7 59 60 67 66) (20 20 1) simpleGrading (1 1 1)



hex (2 3 10 9 61 62 69 68) (20 20 1) simpleGrading (1 1 1)

hex (3 4 11 10 62 63 70 69) (20 20 1) simpleGrading (1 1 1)

hex (4 5 12 11 63 64 71 70) (20 20 1) simpleGrading (1 1 1)

hex (5 6 13 12 64 65 72 71) (20 20 1) simpleGrading (1 1 1)



hex (7 8 15 14 66 67 74 73) (20 20 1) simpleGrading (1 1 1)

hex (8 9 16 15 67 68 75 74) (20 20 1) simpleGrading (1 1 1)

hex (9 10 17 16 68 69 76 75) (20 20 1) simpleGrading (1 1 1)

hex (10 11 18 17 69 70 77 76) (20 20 1) simpleGrading (1 1 1)

hex (11 12 19 18 70 71 78 77) (20 20 1) simpleGrading (1 1 1)

hex (12 13 20 19 71 72 79 78) (20 20 1) simpleGrading (1 1 1)



hex (14 15 22 21 73 74 81 80) (20 20 1) simpleGrading (1 1 1)

hex (15 16 23 22 74 75 82 81) (20 20 1) simpleGrading (1 1 1)

hex (16 17 24 23 75 76 83 82) (20 20 1) simpleGrading (1 1 1)

hex (17 18 25 24 76 77 84 83) (20 20 1) simpleGrading (1 1 1)

hex (18 19 27 26 77 78 86 85) (20 20 1) simpleGrading (1 1 1)

hex (19 20 28 27 78 79 87 86) (20 20 1) simpleGrading (1 1 1)



hex (21 22 30 29 80 81 89 88) (20 20 1) simpleGrading (1 1 1)

hex (22 23 31 30 81 82 90 89) (20 20 1) simpleGrading (1 1 1)

hex (23 24 32 31 82 83 91 90) (20 20 1) simpleGrading (1 1 1)

hex (24 25 33 32 83 84 92 91) (20 20 1) simpleGrading (1 1 1)

hex (26 27 35 34 85 86 94 93) (20 20 1) simpleGrading (1 1 1)

hex (27 28 36 35 86 87 95 94) (20 20 1) simpleGrading (1 1 1)



hex (29 30 38 37 88 89 97 96) (20 20 1) simpleGrading (1 1 1)

hex (31 32 40 39 90 91 99 98) (20 20 1) simpleGrading (1 1 1)

hex (32 33 41 40 91 92 100 99) (20 20 1) simpleGrading (1 1 1)

hex (34 35 43 42 93 94 102 101) (20 20 1) simpleGrading (1 1 1)

hex (35 36 44 43 94 95 103 102) (20 20 1) simpleGrading (1 1 1)



hex (37 38 46 45 96 97 105 104) (20 20 1) simpleGrading (1 1 1)

hex (39 40 48 47 98 99 107 106) (20 20 1) simpleGrading (1 1 1)

hex (40 41 49 48 99 100 108 107) (20 20 1) simpleGrading (1 1 1)

hex (42 43 50 49 101 102 109 108) (20 20 1) simpleGrading (1 1 1)

hex (43 44 51 50 102 103 110 109) (20 20 1) simpleGrading (1 1 1)



hex (45 46 53 52 104 105 112 111) (20 20 1) simpleGrading (1 1 1)



hex (47 48 55 54 106 107 114 113) (20 20 1) simpleGrading (1 1 1)

hex (48 49 56 55 107 108 115 114) (20 20 1) simpleGrading (1 1 1)

hex (49 50 57 56 108 109 116 115) (20 20 1) simpleGrading (1 1 1)

hex (50 51 58 57 109 110 117 116) (20 20 1) simpleGrading (1 1 1)



hex (25 18 42 49 84 77 101 108) (20 20 1) simpleGrading (1 1 1)



hex (59 60 67 66 118 119 126 125) (20 20 1) simpleGrading (1 1 1) //z=0.8-2



hex (61 62 69 68 120 121 128 127) (20 20 1) simpleGrading (1 1 1)

hex (62 63 70 69 121 122 129 128) (20 20 1) simpleGrading (1 1 1)

hex (63 64 71 70 122 123 130 129) (20 20 1) simpleGrading (1 1 1)

hex (64 65 72 71 123 124 131 130) (20 20 1) simpleGrading (1 1 1)



hex (66 67 74 73 125 126 133 132) (20 20 1) simpleGrading (1 1 1)

hex (67 68 75 74 126 127 134 133) (20 20 1) simpleGrading (1 1 1)

hex (68 69 76 75 127 128 135 134) (20 20 1) simpleGrading (1 1 1)

hex (69 70 77 76 128 129 136 135) (20 20 1) simpleGrading (1 1 1)

hex (70 71 78 77 129 130 137 136) (20 20 1) simpleGrading (1 1 1)

hex (71 72 79 78 130 131 138 137) (20 20 1) simpleGrading (1 1 1)



hex (73 74 81 80 132 133 140 139) (20 20 1) simpleGrading (1 1 1)

hex (74 75 82 81 133 134 141 140) (20 20 1) simpleGrading (1 1 1)

hex (75 76 83 82 134 135 142 141) (20 20 1) simpleGrading (1 1 1)

hex (76 77 84 83 135 136 143 142) (20 20 1) simpleGrading (1 1 1)

hex (77 78 86 85 136 137 145 144) (20 20 1) simpleGrading (1 1 1)

hex (78 79 87 86 137 138 146 145) (20 20 1) simpleGrading (1 1 1)



hex (80 81 89 88 139 140 148 147) (20 20 1) simpleGrading (1 1 1)

hex (81 82 90 89 140 141 149 148) (20 20 1) simpleGrading (1 1 1)

hex (82 83 91 90 141 142 150 149) (20 20 1) simpleGrading (1 1 1)

hex (83 84 92 91 142 143 151 150) (20 20 1) simpleGrading (1 1 1)

hex (85 86 94 93 144 145 153 152) (20 20 1) simpleGrading (1 1 1)

hex (86 87 95 94 145 146 154 153) (20 20 1) simpleGrading (1 1 1)



hex (88 89 97 96 147 148 156 155) (20 20 1) simpleGrading (1 1 1)

hex (90 91 99 98 149 150 158 157) (20 20 1) simpleGrading (1 1 1)

hex (91 92 100 99 150 151 159 158) (20 20 1) simpleGrading (1 1 1)

hex (93 94 102 101 152 153 161 160) (20 20 1) simpleGrading (1 1 1)

hex (94 95 103 102 153 154 162 161) (20 20 1) simpleGrading (1 1 1)



hex (96 97 105 104 155 156 164 163) (20 20 1) simpleGrading (1 1 1)

hex (98 99 107 106 157 158 166 165) (20 20 1) simpleGrading (1 1 1)

hex (99 100 108 107 158 159 167 166) (20 20 1) simpleGrading (1 1 1)

hex (101 102 109 108 160 161 168 167) (20 20 1) simpleGrading (1 1 1)

hex (102 103 110 109 161 162 169 168) (20 20 1) simpleGrading (1 1 1)



hex (104 105 112 111 163 164 171 170) (20 20 1) simpleGrading (1 1 1)



hex (106 107 114 113 165 166 173 172) (20 20 1) simpleGrading (1 1 1)

hex (107 108 115 114 166 167 174 173) (20 20 1) simpleGrading (1 1 1)

hex (108 109 116 115 167 168 175 174) (20 20 1) simpleGrading (1 1 1)

hex (109 110 117 116 168 169 176 175) (20 20 1) simpleGrading (1 1 1)



hex (84 77 101 108 143 136 160 167) (20 20 1) simpleGrading (1 1 1)

);



edges

(

);



boundary

(

lowerWall

{

type wall;

faces

(

(0 1 8 7)



(2 3 10 9)

(3 4 11 10)

(4 5 12 11)

(5 6 13 12)



(7 8 15 14)

(8 9 16 15)

(9 10 17 16)

(10 11 18 17)

(11 12 19 18)

(12 13 20 19)



(14 15 22 21)

(15 16 23 22)

(16 17 24 23)

(17 18 25 24)

(18 19 27 26)

(19 20 28 27)



(21 22 30 29)

(22 23 31 30)

(23 24 32 31)

(24 25 33 32)

(26 27 35 34)

(27 28 36 35)



(29 30 38 37)

(31 32 40 39)

(32 33 41 40)

(34 35 43 42)

(35 36 44 43)



(37 38 46 45)

(39 40 48 47)

(40 41 49 48)

(42 43 50 49)

(43 44 51 50)



(45 46 53 52)



(47 48 55 54)

(48 49 56 55)

(49 50 57 56)

(50 51 58 57)



(25 18 42 49)

);

}



atmosphere

{

type patch;

faces

(

(118 119 126 125)



(120 121 128 127)

(121 122 129 128)

(122 123 130 129)

(123 124 131 130)



(125 126 133 132)

(126 125 134 133)

(127 126 135 134)

(128 127 136 135)

(129 128 137 136)

(130 129 138 137)



(132 133 140 139)

(133 134 141 140)

(134 135 142 141)

(135 136 143 142)

(136 137 145 144)

(137 138 146 145)



(139 140 148 147)

(140 141 149 148)

(141 142 150 149)

(142 143 151 150)

(144 145 153 152)

(145 146 154 153)



(147 148 156 155)

(149 150 158 157)

(150 151 159 158)

(152 153 161 160)

(153 154 162 161)



(155 156 164 163)

(157 158 166 165)

(158 159 167 166)

(160 161 168 167)

(161 162 169 168)



(163 164 171 170)



(165 166 173 172)

(166 167 174 173)

(167 168 175 174)

(168 169 176 175)



(143 136 160 159)

):

}



outSideWalls

{

type Wall;

faces

(

(0 1 60 59) // z=0.8

(1 8 67 60)

(8 9 68 67)

(9 2 61 68)

(2 3 62 61)

(3 4 63 62)

(4 5 64 63)

(5 6 65 64)



(59 60 119 118) // z=2

(60 67 126 119)

(67 68 127 126)

(68 61 120 127)

(61 62 121 120)

(62 63 122 121)

(63 64 123 122)

(64 65 124 123)



(6 13 72 65) //z=0.8

(13 20 79 72)

(20 28 87 79)

(28 36 95 87)

(36 44 103 95)

(44 51 110 103)

(51 58 117 110)



(65 72 131 124) //z=2

(72 79 138 131)

(79 87 146 138)

(87 95 154 146)

(95 103 162 154)

(103 110 169 162)

(110 117 176 169)



(58 57 116 117) //z=0.8

(57 56 115 116)

(56 55 114 115)

(55 54 113 114)

(54 47 106 113)

(47 39 98 106)

(39 31 90 98)

(31 30 89 90)

(30 38 97 89)

(38 46 105 97)

(46 53 112 105)

(53 52 111 112)



(117 116 175 176) //z=2

(116 115 174 175)

(115 114 173 174)

(114 113 172 173)

(113 106 165 172)

(106 98 157 165)

(98 90 149 157)

(90 89 148 149)

(89 97 156 148)

(97 105 164 156)

(105 112 171 164)

(112 111 170 171)



(52 45 104 111) //z=0.8

(45 37 96 104)

(37 29 88 96)

(29 21 80 88)

(21 14 73 80)

(14 7 66 73)

(7 0 59 66)



(111 104 163 170) //z=2

(104 96 155 163)

(96 88 147 155)

(88 80 139 147)

(80 73 132 139)

(73 66 125 132)

(66 59 118 125)

);

}

);



mergePatchPairs

(

);



// ************************************************** *********************** //





this is my blockmeshdict file.. can you please help me sort out problem. when you visualize this mesh you will find an obstacle in the middle. which is open from two sides. this is my obstacle for the flow but i want to close it from all sides and i want to remove the upper part of this obstacle from height 0.8.

this is dambreakflow case. and its my first mesh ever. i don't know how i can solve this. please help me.



Thanks..


you could at least habe posted it in the correct forum.... smh.
vesp is offline   Reply With Quote

Old   November 2, 2019, 10:37
Default
  #5
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 4,101
Rep Power: 49
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Check your 0 dir and make sure the fields are consistent with the mesh.
mkjmalik likes this.
LuckyTran 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] Help with Snappy: no layers growing GianF OpenFOAM Meshing & Mesh Conversion 2 September 23, 2020 08:26
Velocity fields and probes do not match up nskelly OpenFOAM Post-Processing 1 November 1, 2019 13:07
[snappyHexMesh] SHM Layer Addition Phase dickcruz OpenFOAM Meshing & Mesh Conversion 4 November 1, 2018 07:05
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
TimeVaryingMappedFixedValue best practice to extract subset points and fields podallaire OpenFOAM Running, Solving & CFD 6 May 21, 2014 10:25


All times are GMT -4. The time now is 07:31.