[Nek5000-users] How to assembly different geometry

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Sun Oct 30 23:01:49 CDT 2016


Hi Alessondro,

Just to be clear, I attach the mbox.box file that I used.  It works with the current repo
version of genbox (and earlier ones).

Paul

________________________________
From: nek5000-users-bounces at lists.mcs.anl.gov [nek5000-users-bounces at lists.mcs.anl.gov] on behalf of nek5000-users at lists.mcs.anl.gov [nek5000-users at lists.mcs.anl.gov]
Sent: Sunday, October 30, 2016 10:32 PM
To: nek5000-users at lists.mcs.anl.gov
Subject: Re: [Nek5000-users] How to assembly different geometry


Hi Paul,

Thank you so much. Are the BC's correct?

I have slightly modified your script and I get the following error. What is wrong in your opinion?

forrtl: severe (24): end-of-file during read, unit 99, file /galileo/home/userexternal/aalla000/channel/box.tmp
Image              PC                Routine            Line        Source
libifcore.so.5     00007FD15E583947  Unknown               Unknown  Unknown
libifcore.so.5     00007FD15E5C209F  Unknown               Unknown  Unknown
libifcore.so.5     00007FD15E5C0538  Unknown               Unknown  Unknown
genbox             0000000000416D0D  Unknown               Unknown  Unknown
genbox             000000000040270C  Unknown               Unknown  Unknown
genbox             000000000040134E  Unknown               Unknown  Unknown
libc.so.6          00007FD15C6A0B15  Unknown               Unknown  Unknown
genbox             0000000000401259  Unknown               Unknown  Unknown

Thanks a lot,
Alessandro

Il 30/10/16 22:25, nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov> ha scritto:


Hi Alessandro,

 Here is a multi-box file example that will generate something similar to what you're
after.  You can edit to suit your needs.

Paul


one2d.rea

2                      spatial dimension

1                      number of fields

#========================================================

#    Here is a multibox example

#========================================================

#

Box  left lower

-3  -2                     nelx,nely,nelz for Box)

-2  -1   0.8               x0 x1 ratio

-2 -.1   1.0               y0 y1 ratio

v  ,W  ,SYM,   ,          (bc's)

Box  left center

-3  -3                     nelx,nely,nelz for Box)

-2  -1   0.8               x0 x1 ratio

-.1 .1   1.0               y0 y1 ratio

v  ,   ,   ,   ,          (bc's)

Box  left upper

-3  -2                     nelx,nely,nelz for Box)

-2  -1   0.8               x0 x1 ratio

.1   2   1.0               y0 y1 ratio

v  ,W  ,   ,SYM,          (bc's)

Box  center center

-4  -3                     nelx,nely,nelz for Box)

-1   0   1.0               x0 x1 ratio

-.1 .1   1.0               y0 y1 ratio

   ,   ,W  ,W  ,          (bc's)

Box  right lower

-3  -2                     nelx,nely,nelz for Box)

0   2.   1.2               x0 x1 ratio

-2 -.1   1.0               y0 y1 ratio

   ,O  ,SYM,   ,          (bc's)

Box  right center

-3  -3                     nelx,nely,nelz for Box)

0   2.   1.2               x0 x1 ratio

-.1 .1   1.0               y0 y1 ratio

   ,O  ,   ,   ,          (bc's)

Box  right upper

-3  -2                     nelx,nely,nelz for Box)

0   2.   1.2               x0 x1 ratio

.1   2   1.0               y0 y1 ratio

   ,O  ,   ,SYM,          (bc's)


.... PS ---- Be sure that you have 3 characters (counting spaces)

for each BC.


The "right upper"  "right center" etc. are just comments.

"Box" is a keyword, however... (so to distinguish from cylinder, etc.)




________________________________
From: nek5000-users-bounces at lists.mcs.anl.gov<mailto:nek5000-users-bounces at lists.mcs.anl.gov> [nek5000-users-bounces at lists.mcs.anl.gov<mailto:nek5000-users-bounces at lists.mcs.anl.gov>] on behalf of nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov> [nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>]
Sent: Sunday, October 30, 2016 3:09 PM
To: nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>
Subject: Re: [Nek5000-users] How to assembly different geometry


I can think of two options:

- Create the three different boxes with genbox and merge them with nekmerge

- Create the whole mesh with your favorite meshing tool, export it as EXODUSII and use exo2nek

Von: <nek5000-users-bounces at lists.mcs.anl.gov<mailto:nek5000-users-bounces at lists.mcs.anl.gov>> on behalf of <nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>>
Antworten an: <nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>>
Datum: Sunday, October 30, 2016 at 10:26 PM
An: <nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>>
Betreff: [Nek5000-users] How to assembly different geometry


Hi All,

I would like to generate a mesh as Figure 2 in
http://www.mathematics.uh.edu/docs/math/NASC-preprint-series/2015_2016/Preprint_No16-54.pdf

If I build three different boxes, how can I then assemble them? Could anyone please help me?

Thanks,
Alessandro


--
Dr Alessandro Alla

Florida State University
Department of Scienfitic Computing
400 Dirac Science Library
Tallahassee FL 32306-4120

Room:   462
Phone:  +1 8506441010

E-Mail: aalla at fsu.edu<mailto:aalla at fsu.edu>
Skype: alessandro.alla
www.alessandroalla.com<http://www.alessandroalla.com>

_______________________________________________ Nek5000-users mailing list Nek5000-users at lists.mcs.anl.gov<mailto: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<mailto:Nek5000-users at lists.mcs.anl.gov>
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users



--
Dr Alessandro Alla

Florida State University
Department of Scienfitic Computing
400 Dirac Science Library
Tallahassee FL 32306-4120

Room:   462
Phone:  +1 8506441010

E-Mail: aalla at fsu.edu<mailto:aalla at fsu.edu>
Skype: alessandro.alla
www.alessandroalla.com<http://www.alessandroalla.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20161031/0f5fff6d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mbox.box
Type: application/octet-stream
Size: 1511 bytes
Desc: mbox.box
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20161031/0f5fff6d/attachment.obj>


More information about the Nek5000-users mailing list