[Nek5000-users] "genmap" trouble with periodic boundary conditions

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Mar 12 12:41:14 CST 2010


Hello,

I am trying to run a backward facing step geometry simulation. Making the
mesh with "genbox" works fine but "genmap" gives the following error. It
seems there is some problem with the periodic boundary conditions.

-------------------------------------------------------------------------
Input (.rea) file name:
Input mesh tolerance (default 0.2):
NOTE: smaller is better, but generous is more forgiving for bad meshes.
 reading .rea file data ...
 start locglob_lexico:           8        5184       41472  0.1000000
 locglob:           1           1       41472
 locglob:           2          41       41472
 locglob:           3         485       41472
 locglob:           1        6305       41472
 locglob:           2        6305       41472
 locglob:           3        6305       41472
 locglob:           1        6305       41472
 locglob:           2        6305       41472
 locglob:           3        6305       41472
 done locglob_lexico:      6305      6305     41472         8
 start periodic vtx:        5184        6305

 abort: PERIODIC MISMATCH 2:
        1  5 P    ie
        0  4   je
   0.000000       0.000000      bc


           8  quit
---------------------------------------------------------------------------

Here is my bfs.box file.

---------------------------------------------------------------------------
bfs1.rea
-3                         spatial dimension (if negative dump .re2 file)
1                         number of fields
#
#=======================================================================
#
box_1
-32 -3 -12                nelx,nely,nelz (negative --> auto spacing)
0.0  17.92 1.03           x_0  x_1 ratio
-1.0  -0.5   1.25
0.0  6.0   1
W  ,O  ,W  ,   ,P  ,P     bc's  ! west,east,south,north,bottom,top
box_2
-32 -3 -12                nelx,nely,nelz (negative --> auto spacing)
0.0 17.92 1.03           x_0  x_1 ratio
-0.5 0.0  0.8
0.0  6.0   1
W  ,O  ,   ,   ,P  ,P      bc's  ! west,east,south,north,bottom,top
box_3
-32 -6 -12                nelx,nely,nelz (negative --> auto spacing)
0.0 17.92 1.03           x_0  x_1 ratio
0.0 10.76 2.25
0.0  6.0   1
   ,O  ,   ,   ,P  ,P     bc's  ! west,east,south,north,bottom,top
box_4
-8 -6 -12                 nelx,nely,nelz (negative --> auto spacing)
-5.0 0.0 0.85            x_0  x_1 ratio
0.0 10.76 2.25
0.0  6.0   1
v  ,   ,W  ,   ,P  ,P     bc's  ! west,east,south,north,bottom,top
---------------------------------------------------------------------------

I cannot figure out what this error means. If I change the periodic
boundary condition to any other b.c., it works.

This error started occurring after I did a "svn update tools" this
morning. Now "genmap" does not even run on an old .rea file.

Can anybody suggest me solutions for this.

Thanks a lot,

Harish Kanchi.





More information about the Nek5000-users mailing list