[Nek5000-users] prex question
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Sun Nov 3 13:28:43 CST 2013
Hi Tubois,
11 SET ENTIRE LEVEL applies the next selected
boundary condition to any _remaining_ boundaries for which
BCs have yet to be defined.
In this case, that is just the BCs on the top and bottom
of the domain, since the inlet and outlet were prescribed
in the box file, while the sides were left blank. The
cylinder itself inherits and retains its boundary conditions
from the "import.rea" file.
Does this clarify?
Best, Paul
----- Original Message -----
From: nek5000-users at lists.mcs.anl.gov
To: nek5000-users at lists.mcs.anl.gov
Sent: Sunday, November 3, 2013 11:35:36 AM
Subject: Re: [Nek5000-users] prex question
Hi Paul,
Thank you very much! Just need a confirm about your mesh.
11 SET ENTIRE LEVEL
1 PERIODIC-AUTO
means to set the periodic boundary condition for the box except the inlet already set in fpcyl.box?
n Is this a lattice for hex-close-packed spheres?:
So the boundary condition for the circle will be set to walls automatically?
Thank you!
Tubois
On Sun, Nov 3, 2013 at 5:46 PM, < nek5000-users at lists.mcs.anl.gov > wrote:
Hi Tubois,
I've just updated this example and have included a script that appears
to work.
I recommend moving your existing ext_cyl directory to, say, ext_cyl.1,
and then svn update ext_cyl.
Then, in the new ext_cyl directory you should be able to type:
mkmesh
The README file is also updated. Have a look at mkmesh and you
can see the basic steps.
Paul
----- Original Message -----
From: nek5000-users at lists.mcs.anl.gov
To: nek5000-users at lists.mcs.anl.gov
Sent: Sunday, November 3, 2013 10:00:17 AM
Subject: [Nek5000-users] prex question
Hello everyone,
1, I am trying to create the mesh of the example ext_cyl with genbox, and pretek. After consulting the email archives online, I almost got it works. The question lies on mesh-merging. I used pretex. The commands is listed as follows.
I got a mesh ext_cyl.rea identical to the one in the example, when I visualized it with postx. However, when I use xxdiff to examine it, I found several differences.
BOUNDARY CONDITIONS:
FLUID BOUNDARY CONDITIONS:
11 0.00000 0.00000 .....
For the file in the example, this line is
P 11 1337.00 3.00000 ......
So which step did I missed? To set the BC in pretek? Can someone gives a detailed command lines?
2, About creating the mesh, the wiki says that Nek5000 works with Moab Cubit, but this software is not free of charge. Is there any other free software for meshing? In the archive, I found the discussion about converting Gambit (we have Gambit in school) mesh to rea. The guy left an email address cmeador at tamu.edu , which is no more valid.
Thank you very much!
Best regards
Tubois
==================================================================
Choose a Name for This session:
ext_cyl
Beginning Session ext_cyl
1 READ PREVIOUS PARAMETERS
2 TYPE IN NEW PARAMETERS
3 CONJ. HEAT TRANSFER MERGE
Choose item:
1
1
Enter name of previous session
box.rea
1 BUILD FROM FILE
2 BUILD INTERACTIVELY
Choose item:
1
1
Enter name of previous session
(Default= box.rea )
I pressed ENTER
Will Read Mesh and B.C. data from box.rea
Reading Element 29 [ 1C]
Reading Element 58 [ 1f]
Reading Element 87 [ 1I]
Reading Element 116 [ 1l]
Reading Element 145 [ 1O]
Reading Element 174 [ 1r]
Reading Element 203 [ 1U]
Reading Element 232 [ 1x]
Reading Element 261 [ 1a]
Reading Element 290 [ 1D]
Reading Element 319 [ 1g]
Reading Element 348 [ 1J]
Reading Element 377 [ 1m]
Reading Element 406 [ 1P]
Reading Element 435 [ 1s]
Reading Element 464 [ 1V]
Reading Element 493 [ 1y]
Reading Element 522 [ 1b]
Reading Element 551 [ 1E]
Reading Element 580 [ 1h]
Reading Element 609 [ 1K]
Reading Element 638 [ 1n]
Reading Element 667 [ 1Q]
Reading Element 696 [ 1t]
Reading Element 725 [ 1W]
Reading Element 754 [ 1z]
Reading Element 783 [ 1c]
Reading Element 812 [ 1F]
Reading Element 841 [ 1i]
Reading Element 870 [ 1L]
Reading Element 899 [ 1o]
Reading Element 928 [ 1R]
Reading Element 957 [ 1u]
Reading Element 986 [ 1X]
Reading Element 1015 [ 1A]
Reading Element 1044 [ 1d]
Reading Element 1073 [ 1G]
Reading Element 1102 [ 1j]
Reading Element 1131 [ 1M]
Reading Element 1160 [ 1p]
Reading Element 1189 [ 1S]
Reading Element 1218 [ 1v]
Reading Element 1247 [ 1Y]
Reading Element 1276 [ 1B]
Reading Element 1305 [ 1e]
Reading Element 1334 [ 1H]
Reading Element 1363 [ 1k]
Reading Element 1392 [ 1N]
Reading Element 1421 [ 1q]
Reading Element 1450 [ 1T]
drwobjs: 0
Showing only 90 elements of 1456
*** BUILD MENU ***
inside gencen 1456 F 4
done gencen 1456
1 END ELEMENTS
2 MODIFY ELEMENT
3 GLOBAL REFINE
4 CURVE SIDES
5 DELETE ELEMENT
6 ZOOM
7 SET GRID
8 DEFINE OBJECT
9 REDRAW MESH
10 IMPORT MESH
11 IMPORT VTK MESH
12 IMPORT vtx MESH
13 REFLECT MESH
Choose item:
10
10
input name of new .rea file
import.rea
Would you like to displace existing elements in box?
y
Found 80 curve sides.
IFLD: 1 1 T F
***** FLUID BOUNDARY CONDITIONS *****
***** FLUID BOUNDARY CONDITIONS *****$
This is nel,ncurve old: 1456 0
This is nel,ncurve new: 1536 80
inside gencen 1536 F 4
done gencen 1536
X min/max of new elements: -1.200000 1.200001
Y min/max of new elements: -1.200000 1.200000
NO KEEP: 514 F -1.0500000 -1.0500000 0.0000000
NO KEEP: 515 F -0.75000000 -1.0500000 0.0000000
NO KEEP: 516 F -0.45000002 -1.0500000 0.0000000
NO KEEP: 517 F -0.15000001 -1.0500000 0.0000000
NO KEEP: 518 F 0.15000001 -1.0500000 0.0000000
NO KEEP: 519 F 0.45000002 -1.0500000 0.0000000
NO KEEP: 520 F 0.75000000 -1.0500000 0.0000000
NO KEEP: 521 F 1.0500000 -1.0500000 0.0000000
NO KEEP: 570 F -1.0500000 -0.75000000 0.0000000
NO KEEP: 571 F -0.75000000 -0.75000000 0.0000000
NO KEEP: 572 F -0.45000002 -0.75000000 0.0000000
NO KEEP: 573 F -0.15000001 -0.75000000 0.0000000
NO KEEP: 574 F 0.15000001 -0.75000000 0.0000000
NO KEEP: 575 F 0.45000002 -0.75000000 0.0000000
NO KEEP: 576 F 0.75000000 -0.75000000 0.0000000
NO KEEP: 577 F 1.0500000 -0.75000000 0.0000000
NO KEEP: 626 F -1.0500000 -0.45000002 0.0000000
NO KEEP: 627 F -0.75000000 -0.45000002 0.0000000
NO KEEP: 628 F -0.45000002 -0.45000002 0.0000000
NO KEEP: 629 F -0.15000001 -0.45000002 0.0000000
NO KEEP: 630 F 0.15000001 -0.45000002 0.0000000
NO KEEP: 631 F 0.45000002 -0.45000002 0.0000000
NO KEEP: 632 F 0.75000000 -0.45000002 0.0000000
NO KEEP: 633 F 1.0500000 -0.45000002 0.0000000
NO KEEP: 682 F -1.0500000 -0.15000001 0.0000000
NO KEEP: 683 F -0.75000000 -0.15000001 0.0000000
NO KEEP: 684 F -0.45000002 -0.15000001 0.0000000
NO KEEP: 685 F -0.15000001 -0.15000001 0.0000000
NO KEEP: 686 F 0.15000001 -0.15000001 0.0000000
NO KEEP: 687 F 0.45000002 -0.15000001 0.0000000
NO KEEP: 688 F 0.75000000 -0.15000001 0.0000000
NO KEEP: 689 F 1.0500000 -0.15000001 0.0000000
NO KEEP: 738 F -1.0500000 0.15000001 0.0000000
NO KEEP: 739 F -0.75000000 0.15000001 0.0000000
NO KEEP: 740 F -0.45000002 0.15000001 0.0000000
NO KEEP: 741 F -0.15000001 0.15000001 0.0000000
NO KEEP: 742 F 0.15000001 0.15000001 0.0000000
NO KEEP: 743 F 0.45000002 0.15000001 0.0000000
NO KEEP: 744 F 0.75000000 0.15000001 0.0000000
NO KEEP: 745 F 1.0500000 0.15000001 0.0000000
NO KEEP: 794 F -1.0500000 0.45000002 0.0000000
NO KEEP: 795 F -0.75000000 0.45000002 0.0000000
NO KEEP: 796 F -0.45000002 0.45000002 0.0000000
NO KEEP: 797 F -0.15000001 0.45000002 0.0000000
NO KEEP: 798 F 0.15000001 0.45000002 0.0000000
NO KEEP: 799 F 0.45000002 0.45000002 0.0000000
NO KEEP: 800 F 0.75000000 0.45000002 0.0000000
NO KEEP: 801 F 1.0500000 0.45000002 0.0000000
NO KEEP: 850 F -1.0500000 0.75000000 0.0000000
NO KEEP: 851 F -0.75000000 0.75000000 0.0000000
NO KEEP: 852 F -0.45000002 0.75000000 0.0000000
NO KEEP: 853 F -0.15000001 0.75000000 0.0000000
NO KEEP: 854 F 0.15000001 0.75000000 0.0000000
NO KEEP: 855 F 0.45000002 0.75000000 0.0000000
NO KEEP: 856 F 0.75000000 0.75000000 0.0000000
NO KEEP: 857 F 1.0500000 0.75000000 0.0000000
NO KEEP: 906 F -1.0500000 1.0500000 0.0000000
NO KEEP: 907 F -0.75000000 1.0500000 0.0000000
NO KEEP: 908 F -0.45000002 1.0500000 0.0000000
NO KEEP: 909 F -0.15000001 1.0500000 0.0000000
NO KEEP: 910 F 0.15000001 1.0500000 0.0000000
NO KEEP: 911 F 0.45000002 1.0500000 0.0000000
NO KEEP: 912 F 0.75000000 1.0500000 0.0000000
NO KEEP: 913 F 1.0500000 1.0500000 0.0000000
Deleting element 514 of 1536.
Deleting element 515 of 1536.
Deleting element 516 of 1536.
Deleting element 517 of 1536.
Deleting element 518 of 1536.
Deleting element 519 of 1536.
Deleting element 520 of 1536.
Deleting element 521 of 1536.
Deleting element 570 of 1536.
Deleting element 571 of 1536.
Deleting element 572 of 1536.
Deleting element 573 of 1536.
Deleting element 574 of 1536.
Deleting element 575 of 1536.
Deleting element 576 of 1536.
Deleting element 577 of 1536.
Deleting element 626 of 1536.
Deleting element 627 of 1536.
Deleting element 628 of 1536.
Deleting element 629 of 1536.
Deleting element 630 of 1536.
Deleting element 631 of 1536.
Deleting element 632 of 1536.
Deleting element 633 of 1536.
Deleting element 682 of 1536.
Deleting element 683 of 1536.
Deleting element 684 of 1536.
Deleting element 685 of 1536.
Deleting element 686 of 1536.
Deleting element 687 of 1536.
Deleting element 688 of 1536.
Deleting element 689 of 1536.
Deleting element 738 of 1536.
Deleting element 739 of 1536.
Deleting element 740 of 1536.
Deleting element 741 of 1536.
Deleting element 742 of 1536.
Deleting element 743 of 1536.
Deleting element 744 of 1536.
Deleting element 745 of 1536.
Deleting element 794 of 1536.
Deleting element 795 of 1536.
Deleting element 796 of 1536.
Deleting element 797 of 1536.
Deleting element 798 of 1536.
Deleting element 799 of 1536.
Deleting element 800 of 1536.
Deleting element 801 of 1536.
Deleting element 850 of 1536.
Deleting element 851 of 1536.
Deleting element 852 of 1536.
Deleting element 853 of 1536.
Deleting element 854 of 1536.
Deleting element 855 of 1536.
Deleting element 856 of 1536.
Deleting element 857 of 1536.
Deleting element 906 of 1536.
Deleting element 907 of 1536.
Deleting element 908 of 1536.
Deleting element 909 of 1536.
Deleting element 910 of 1536.
Deleting element 911 of 1536.
Deleting element 912 of 1536.
Deleting element 913 of 1536.
drwobjs: 0
Showing only 90 elements of 1472
drwobjs: 0
inside gencen 1472 F 4
done gencen 1472
1 END ELEMENTS
2 MODIFY ELEMENT
3 GLOBAL REFINE
4 CURVE SIDES
5 DELETE ELEMENT
6 ZOOM
7 SET GRID
8 DEFINE OBJECT
9 REDRAW MESH
10 IMPORT MESH
11 IMPORT VTK MESH
12 IMPORT vtx MESH
13 REFLECT MESH
Choose item:
1
1
1 ACCEPT MATL,QVOL
2 SELECT ELEMENT
3 SELECT MATL [ 0]
4 SET MATL PROPS,Q
5 SHOW MATL PROPS,Q
Choose it
1
1
start locglob_lexico: 4 1472 5888 1.99999996E-02
locglob: 1 1 5888
locglob: 2 81 5888
locglob: 1 1562 5888
locglob: 2 1562 5888
Performing unique_vertex2 self_chk 5888
done locglob_lexico: 1562 1562 5888 5
Performing makecell self_chk 5888
*** MIDWAY BREAK MENU ***
ABORT to write build data to file and exit
SET B.C'S to continue
1 SET BCs
2 ABORT
Choose item:
2
Generating Mesh Points for 1472 Elements
1472 this is nel in prexit
Writing Parameters to file
Deleting tmp.* files.
Exiting session 4.59163468E-41
_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
More information about the Nek5000-users
mailing list