<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<br>
<br>
<p><font face="Calibri,Arial,Helvetica,sans-serif" size="3" color="black"><span style="font-size:12pt;background-color:white;"></span></font></p>
<font face="Calibri,Arial,Helvetica,sans-serif" size="3" color="black">
<div style="margin-top:0;margin-bottom:0;">Hi,<br>
<br>
I have problems with merging two 2D meshes.<br>
I want to merge two meshes generated with genbox:<br>
<br>
1. walls.box<br>
This mesh is an "Y"-type mesh. It goes from beeing a square of side 10 into a square of side 0.5 via two circles (of radii 1.1 and 1.0).<br>
<br>
2. center.box<br>
This is an "Box"-type mesh. It is a square of size<br>
<br>
%%%%%%%%%%%%%%%%%%%%%%%%<br>
<br>
This is walls.box:<br>
<br>
</div>
<div style="margin-top:0;margin-bottom:0;">reafile.rea<br>
2<br>
1<br>
#<br>
Y<br>
4 -8<br>
0. 0.<br>
bbccb<br>
0.5 0.6 1. 1.1 10.<br>
0 1 1<br>
W ,W ,E ,E ,<br>
</div>
<div style="margin-top:0;margin-bottom:0;"><br>
%%%%%%%%%%%%%%%%%<br>
<br>
</div>
<div style="margin-top:0;margin-bottom:0;">And this is center.box:</div>
<div style="margin-top:0;margin-bottom:0;"><br>
</div>
<div style="margin-top:0;margin-bottom:0;">reafile.rea<br>
2<br>
1<br>
#<br>
Box<br>
-2 -2<br>
-0.5 0.5 1.<br>
-0.5 0.5 1.<br>
W ,W ,W ,W ,<br>
<br>
%%%%%%%<br>
<br>
<font face="Calibri,Arial,Helvetica,sans-serif" size="3" color="black">I can plot the two meshes on top of each other, and the elements seem to align perfectly.</font><br>
<br>
I use nekmerge2 (from the example case "expansion") to generate a merged .rea file:<br>
nekmerge2 center walls bottom<br>
<br>
I now obtain a bottom.rea file. I generate bottom.map using genmap (tolerance 0.2).<br>
I compile (using a bottom.usr file and a SIZE file) using makenek.<br>
I run serially using "nek".<br>
<br>
Now I get several warnings of the type:<br>
<br>
WARNING2 Element mesh mismatch at:<br>
I,J,K,IE: 1 2 1 1<br>
Near Y = -0.50000000 -0.41269471 0.0000000 , d: 0.0000000 -0.36629354E-01 2.0000000<br>
<br>
And then "Mesh consistency check failed. EXITING in VRDSMSH."<br>
<br>
No output is generated. What is the problem here? Have I missed some critical aspect of merging meshes?<br>
<br>
Best,<br>
<br>
Johan<br>
</div>
</font>
<p></p>
</div>
</div>
</body>
</html>