<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I am getting an </font>
<br>
<br><font size=2 face="sans-serif">Error : Incompatible surface
21 in transfinite volume 26 </font>
<br>
<br><font size=2 face="sans-serif">when trying to mesh a simple cube geometry.
Any assistance about how to resolve this error</font>
<br><font size=2 face="sans-serif">would be appreciated. The .geo
and error log are below.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br>
<br><font size=2 face="sans-serif">Doug</font>
<br>
<br><font size=2 face="sans-serif">===========================</font>
<br><font size=2 face="sans-serif">Douglas.P.Enright@aero.org</font>
<br>
<br><font size=2 face="sans-serif">===========================================================================================</font>
<br>
<br><font size=2 face="sans-serif">error log:</font>
<br>
<br><font size=2 face="sans-serif">Info : Read '/Users/denright/projects/solar_cell_defect/projects/gmsh-2.2.6/refined_mesh/cube_mesh_bottom.geo'</font>
<br><font size=2 face="sans-serif">Info : Meshing 1D...</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 1
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 2
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 3
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 4
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 5
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 6
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 7
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 8
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 9
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 10
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 11
(Line)</font>
<br><font size=2 face="sans-serif">Info : Meshing curve 12
(Line)</font>
<br><font size=2 face="sans-serif">Info : Mesh 1D complete
(0.041759 s)</font>
<br><font size=2 face="sans-serif">Info : Meshing 2D...</font>
<br><font size=2 face="sans-serif">Info : Meshing surface
19 (transfinite)</font>
<br><font size=2 face="sans-serif">Info : Meshing surface
20 (transfinite)</font>
<br><font size=2 face="sans-serif">Info : Meshing surface
21 (transfinite)</font>
<br><font size=2 face="sans-serif">Info : Meshing surface
22 (transfinite)</font>
<br><font size=2 face="sans-serif">Info : Meshing surface
23 (transfinite)</font>
<br><font size=2 face="sans-serif">Info : Meshing surface
24 (transfinite)</font>
<br><font size=2 face="sans-serif">Info : Mesh 2D complete
(0.022251 s)</font>
<br><font size=2 face="sans-serif">Info : Meshing 3D...</font>
<br><font size=2 face="sans-serif">Info : Meshing volume 26
(transfinite)</font>
<br><font size=2 face="sans-serif">Error : Incompatible surface
21 in transfinite volume 26</font>
<br><font size=2 face="sans-serif">Info : Meshing volume 26
(Tetgen+Delaunay)</font>
<br><font size=2 face="sans-serif">Info : 44 points 38 edges
and 84 faces in the final mesh</font>
<br><font size=2 face="sans-serif">Info : 44 points created
-- Worst tet radius is 1.69973</font>
<br><font size=2 face="sans-serif">Info : Gmsh 3D Delaunay
has generated 192 tets</font>
<br><font size=2 face="sans-serif">Info : Mesh 3D complete
(0.025593 s)</font>
<br><font size=2 face="sans-serif">Info : 59 vertices 308
elements</font>
<br><font size=2 face="sans-serif">Error : ------------------------------</font>
<br><font size=2 face="sans-serif">Error : Mesh generation error
summary</font>
<br><font size=2 face="sans-serif">Error : 0 warnings</font>
<br><font size=2 face="sans-serif">Error : 1 error</font>
<br><font size=2 face="sans-serif">Error : Check the full log for
details</font>
<br><font size=2 face="sans-serif">Error : ------------------------------</font>
<br>
<br><font size=2 face="sans-serif">.geo file:</font>
<br>
<br><font size=2 face="sans-serif">/*********************************************************************
</font>
<br><font size=2 face="sans-serif"> *</font>
<br><font size=2 face="sans-serif"> * uniform cube_mesh example</font>
<br><font size=2 face="sans-serif"> * </font>
<br><font size=2 face="sans-serif"> * based upon Gmsh tutorials</font>
<br><font size=2 face="sans-serif"> *</font>
<br><font size=2 face="sans-serif"> * January 27, 2009</font>
<br><font size=2 face="sans-serif"> * D.P. Enright</font>
<br><font size=2 face="sans-serif"> *********************************************************************/</font>
<br>
<br>
<br><font size=2 face="sans-serif">// characteristic length, size</font>
<br><font size=2 face="sans-serif">lc = .01;</font>
<br><font size=2 face="sans-serif">ls = .01;</font>
<br>
<br><font size=2 face="sans-serif">// front surface</font>
<br><font size=2 face="sans-serif">P01 = newp; Point(P01) = {0., 0., 0.,
lc};</font>
<br><font size=2 face="sans-serif">P02 = newp; Point(P02) = {ls, 0., 0.,
lc};</font>
<br><font size=2 face="sans-serif">P03 = newp; Point(P03) = {ls, ls/2.,
0., lc};</font>
<br><font size=2 face="sans-serif">P08 = newp; Point(P08) = {0., ls/2.,
0., lc};</font>
<br>
<br><font size=2 face="sans-serif">// back surface</font>
<br><font size=2 face="sans-serif">P09 = newp; Point(P09) = {ls, 0., ls,
lc};</font>
<br><font size=2 face="sans-serif">P10 = newp; Point(P10) = {ls, ls/2,
ls, lc};</font>
<br><font size=2 face="sans-serif">P15 = newp; Point(P15) = {0.,
ls/2., ls, lc};</font>
<br><font size=2 face="sans-serif">P16 = newp; Point(P16) = {0.,
0., ls, lc};</font>
<br>
<br><font size=2 face="sans-serif">//reorder lines numbers in increasing
consecutive order</font>
<br><font size=2 face="sans-serif">// front surface </font>
<br><font size=2 face="sans-serif">L01 = newl; Line(L01) = {P01, P02};</font>
<br><font size=2 face="sans-serif">L02 = newl; Line(L02) = {P02, P03};</font>
<br><font size=2 face="sans-serif">L08 = newl; Line(L08) = {P08, P01};</font>
<br><font size=2 face="sans-serif">L09 = newl; Line(L09) = {P03, P08};</font>
<br>
<br><font size=2 face="sans-serif">// back surface</font>
<br><font size=2 face="sans-serif">L11 = newl; Line(L11) = {P09, P10};</font>
<br><font size=2 face="sans-serif">L17 = newl; Line(L17) = {P15, P16};</font>
<br><font size=2 face="sans-serif">L18 = newl; Line(L18) = {P16, P09};</font>
<br><font size=2 face="sans-serif">L19 = newl; Line(L19) = {P10, P15};</font>
<br>
<br><font size=2 face="sans-serif">// right side surface</font>
<br><font size=2 face="sans-serif">L21 = newl; Line(L21) = {P02, P09};</font>
<br><font size=2 face="sans-serif">L22 = newl; Line(L22) = {P03, P10};</font>
<br>
<br><font size=2 face="sans-serif">// left side surface</font>
<br><font size=2 face="sans-serif">L25 = newl; Line(L25) = {P01, P16};</font>
<br><font size=2 face="sans-serif">L26 = newl; Line(L26) = {P08, P15};</font>
<br>
<br><font size=2 face="sans-serif">// number points per line</font>
<br><font size=2 face="sans-serif">nppl_bottom = 3;</font>
<br>
<br><font size=2 face="sans-serif">// uniform distribution, overrides any
predefined characteristic length</font>
<br>
<br><font size=2 face="sans-serif">// bottom surface - LL01, LL04, LL07,
LL10, LL13, LL15</font>
<br><font size=2 face="sans-serif">// LL01 - {L01, L02, -L09, L08}; LL04
- {L11, L19, L17, L18}</font>
<br><font size=2 face="sans-serif">// LL07 - {-L02, L21, L11, -L22}; LL10
- {L08, L25, -L17, -L26}</font>
<br><font size=2 face="sans-serif">// LL13 - {L01, L21, -L18, -L25}; LL15
- {-L09, L22, L19, -L26}</font>
<br><font size=2 face="sans-serif">// Distinct Lines: L01, L02, L08, L09,
L11, L17, L18, L19, L21, </font>
<br><font size=2 face="sans-serif">//
L22, L25, L26</font>
<br>
<br><font size=2 face="sans-serif">Transfinite Line{L01} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L02} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L08} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L09} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L11} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L17} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L18} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L19} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L21} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L22} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L25} = nppl_bottom;</font>
<br><font size=2 face="sans-serif">Transfinite Line{L26} = nppl_bottom;</font>
<br>
<br><font size=2 face="sans-serif">// create line loops </font>
<br><font size=2 face="sans-serif">// counter clockwise orientation as
viewed from outside</font>
<br>
<br><font size=2 face="sans-serif">// front surfaces (bottom PS1, middle
PS2, top PS3)</font>
<br><font size=2 face="sans-serif">LL01 = newll;</font>
<br><font size=2 face="sans-serif">Line Loop(LL01) = {L01, L02, L09, L08};</font>
<br>
<br><font size=2 face="sans-serif">// back surface (bottom PS4, middle
PS5, top PS6)</font>
<br><font size=2 face="sans-serif">LL04 = newll;</font>
<br><font size=2 face="sans-serif">Line Loop(LL04) = {L11, L19, L17, L18};</font>
<br>
<br><font size=2 face="sans-serif">// right side surface (bottom PS7, middle
PS8, top PS9)</font>
<br><font size=2 face="sans-serif">LL07 = newll;</font>
<br><font size=2 face="sans-serif">Line Loop(LL07) = {-L02, L21, L11, -L22};</font>
<br>
<br><font size=2 face="sans-serif">// left side surface (bottom PS10, middle
PS11, top PS12)</font>
<br><font size=2 face="sans-serif">LL10 = newll;</font>
<br><font size=2 face="sans-serif">Line Loop(LL10) = {L08, L25, -L17, -L26};</font>
<br>
<br><font size=2 face="sans-serif">// bottom side surface (PS13)</font>
<br><font size=2 face="sans-serif">LL13 = newll;</font>
<br><font size=2 face="sans-serif">Line Loop(LL13) = {L01, L21, -L18, -L25};</font>
<br>
<br><font size=2 face="sans-serif">// mid 1 surface (PS15)</font>
<br><font size=2 face="sans-serif">LL15 = newll;</font>
<br><font size=2 face="sans-serif">Line Loop(LL15) = {-L09, L22, L19, -L26};</font>
<br>
<br><font size=2 face="sans-serif">//need to finish point distributions
and surface creation</font>
<br>
<br><font size=2 face="sans-serif">// create surfaces</font>
<br><font size=2 face="sans-serif">// bottom to top</font>
<br><font size=2 face="sans-serif">// front</font>
<br><font size=2 face="sans-serif">// bottom surface (PS1)</font>
<br><font size=2 face="sans-serif">PS1 = news; </font>
<br><font size=2 face="sans-serif">Plane Surface(PS1) = {LL01};</font>
<br>
<br><font size=2 face="sans-serif">// back</font>
<br><font size=2 face="sans-serif">// bottom surface (PS4)</font>
<br><font size=2 face="sans-serif">PS4 = news;</font>
<br><font size=2 face="sans-serif">Plane Surface(PS4) = {LL04};</font>
<br>
<br><font size=2 face="sans-serif">// right side</font>
<br><font size=2 face="sans-serif">// bottom surface (PS7)</font>
<br><font size=2 face="sans-serif">PS7 = news;</font>
<br><font size=2 face="sans-serif">Plane Surface(PS7) = {LL07};</font>
<br>
<br><font size=2 face="sans-serif">// left side</font>
<br><font size=2 face="sans-serif">// bottom surface (PS10)</font>
<br><font size=2 face="sans-serif">PS10 = news;</font>
<br><font size=2 face="sans-serif">Plane Surface(PS10) = {LL10};</font>
<br>
<br>
<br><font size=2 face="sans-serif">// bottom surface (PS13)</font>
<br><font size=2 face="sans-serif">PS13 = news;</font>
<br><font size=2 face="sans-serif">Plane Surface(PS13) = {LL13};</font>
<br>
<br><font size=2 face="sans-serif">// mid 1 surface (PS15)</font>
<br><font size=2 face="sans-serif">PS15 = news;</font>
<br><font size=2 face="sans-serif">Plane Surface(PS15) = {LL15};</font>
<br>
<br><font size=2 face="sans-serif">//define transfinite surfaces from plane
surfaces</font>
<br><font size=2 face="sans-serif">Transfinite Surface{PS1} = {P01,
P02, P03, P08};</font>
<br><font size=2 face="sans-serif">Transfinite Surface{PS4} = {P09,
P16, P15, P10};</font>
<br><font size=2 face="sans-serif">Transfinite Surface{PS7} = {P02,
P09, P11, P03};</font>
<br><font size=2 face="sans-serif">Transfinite Surface{PS10} = {P01, P16,
P15, P08};</font>
<br><font size=2 face="sans-serif">Transfinite Surface{PS13} = {P01, P02,
P09, P16};</font>
<br><font size=2 face="sans-serif">Transfinite Surface{PS15} = {P03, P08,
P10, P15};</font>
<br>
<br><font size=2 face="sans-serif">// define surface loops</font>
<br><font size=2 face="sans-serif">SL1 = newsl;</font>
<br><font size=2 face="sans-serif">Surface Loop(SL1) = { PS1, PS7, PS4,
PS10, PS13, PS15 };</font>
<br>
<br><font size=2 face="sans-serif">V1 = newv;</font>
<br><font size=2 face="sans-serif">Volume(V1) = { SL1 };</font>
<br>
<br><font size=2 face="sans-serif">// define Transfinite Volume</font>
<br><font size=2 face="sans-serif">Transfinite Volume{V1} = {P01, P02,
P03, P08, P09, P10, P15, P16};</font>
<br>