[Nek5000-users] Autosphere's radius
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Thu Nov 17 10:09:09 CST 2016
Hi Jacob,
Yes - you can change the radius. I find it best to convert mid-side node defs to circles first,
before doing any modifications. It seems that some of preneks operations are not fully
compatible with the mid side node definitions at present. Here is a script that resizes and
otherwise modifies a circle. Note that "one2d.rea" should be any 2D .rea file with a single element.
(I've attached one here.)
pretex << EOF
c3
1 READ PREVIOUS PARAMETERS
one2d
1 BUILD FROM FILE
one2d
5 DELETE ELEMENT
4 CURVE SIDES
5 Autosphere
2 3 Enter number of elements in core and shell:
0.66 Enter ratio in outer shell:
8 Convert Midside to Circle
1000 Input maxium radius:
1 BUILD MENU
3 GLOBAL REFINE
11 STRETCH
5 Stretch R
3 Input expansion factor ( =< 0 to abort):
1 UP MENU
8 OCT/Multi-SPLIT
q quad or multi-split? (q/m)
y Are you sure you want to split (y/n)?
1 END GLOBAL REFINE
4 CURVE SIDES
8 Convert Midside to Circle
1000 Input maxium radius:
1 BUILD MENU
3 GLOBAL REFINE
7 REPLICATE/ROTATE
3 Rep. (1), Rot. (2), Rep/Rot (3) Template (4)? (0=abort)
90 Input rotation angle (deg):
3 Input number of reps (e.g., 1 --> double mesh size)
13 Clean up vertices
1 END GLOBAL REFINE
1 END ELEMENTS
1 ACCEPT MATL,QVOL
1 ACCEPT B.C.'s
1 ACCEPT B.C.'s
1 EXIT
EOF
echo c3 > SESSION.NAME
postx
________________________________
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: Wednesday, November 16, 2016 11:57 PM
To: nek5000-users at lists.mcs.anl.gov
Subject: [Nek5000-users] Autosphere's radius
Hi, Neks!
I am trying to create an own mesh, based on expansion example. When I build a circle in pretex, it is always has radius = 0.5. Can I change it in the pretex directly? (Now I could vary only numbers of elements in inner and outer shells).
Thanks in advance,
Jacob.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20161117/6a8acf77/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: one2d.rea
Type: application/octet-stream
Size: 6440 bytes
Desc: one2d.rea
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20161117/6a8acf77/attachment-0001.obj>
More information about the Nek5000-users
mailing list