[Nek5000-users] genbox question

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Jan 17 15:01:38 CST 2014


Hi,

I am struggling with genbox to generate a mesh around the cylinder, which
could be used in the example ext_cyl as the file import.rea, but with a
mesh refined or more coarse.

base.rea
2                       spatial dimension
1                       number of fields
#
# comments
#
#
#========================================================
#
Y                       cYlinder
3 -24 1                 nelr,nel_theta,nelz
.0 .0                   x0,y0 - center of cylinder
ccbb                    descriptors: c-cyl, o-oct, b-box (1 character +
space)
.5 .55 .7 .8            r0 r1 ... r_nelr
0 1 1                   theta0/2pi theta1/2pi ratio
E  ,E  ,E  ,E  ,        bc’s (3 characters + comma)

I am wondering how to define the boundary condition here.
E   ,E   ,E   ,E   ,
or
E   ,E   ,E   ,E   ,W  ?

I slightly modified some lines in mknek to take into account of this new
file, so everything can be run automatically. But I got a very strange mesh
here. Some parts are missing.

Can someone help me out?

Just download these files and run ./mkmesh

Thank you very much in advance.

Tubois
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140117/eb04f1e1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: box7.2d
Type: application/octet-stream
Size: 392 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140117/eb04f1e1/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base.rea
Type: application/octet-stream
Size: 5139 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140117/eb04f1e1/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpcyl.box
Type: application/octet-stream
Size: 902 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140117/eb04f1e1/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makenek
Type: application/octet-stream
Size: 1978 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140117/eb04f1e1/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkmesh
Type: application/octet-stream
Size: 652 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140117/eb04f1e1/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visit0000.png
Type: image/png
Size: 44948 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140117/eb04f1e1/attachment-0001.png>


More information about the Nek5000-users mailing list