[Nek5000-users] How to assembly different geometry

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Sun Oct 30 21:25:42 CDT 2016



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 [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 3:09 PM
To: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20161031/339fec5a/attachment.html>


More information about the Nek5000-users mailing list