<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div><br>
</div>
Hi Jacob,
<div><br>
</div>
<div>Yes - you can change the radius. I find it best to convert mid-side node defs to circles first,</div>
<div>before doing any modifications. It seems that some of preneks operations are not fully </div>
<div>compatible with the mid side node definitions at present. Here is a script that resizes and</div>
<div>otherwise modifies a circle. Note that "one2d.rea" should be any 2D .rea file with a single element.</div>
<div>(I've attached one here.)</div>
<div><br>
</div>
<div>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
pretex << EOF</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
c3</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 READ PREVIOUS PARAMETERS</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
one2d</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 BUILD FROM FILE</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
one2d</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
5 DELETE ELEMENT</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier; min-height: 12px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
4 CURVE SIDES</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
5 Autosphere</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
2 3 Enter number of elements in core and shell:</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
0.66 Enter ratio in outer shell:</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
8 Convert Midside to Circle</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1000 Input maxium radius:</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 BUILD MENU</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier; min-height: 12px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
3 GLOBAL REFINE</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
11 STRETCH</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
5 Stretch R</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
3 Input expansion factor ( =< 0 to abort):</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 UP MENU</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
8 OCT/Multi-SPLIT</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
q quad or multi-split? (q/m)</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
y Are you sure you want to split (y/n)?</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 END GLOBAL REFINE</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier; min-height: 12px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
4 CURVE SIDES</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
8 Convert Midside to Circle</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1000 Input maxium radius:</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 BUILD MENU</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier; min-height: 12px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
3 GLOBAL REFINE</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
7 REPLICATE/ROTATE</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
3 Rep. (1), Rot. (2), Rep/Rot (3) Template (4)? (0=abort)</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
90 Input rotation angle (deg):</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
3 Input number of reps (e.g., 1 --> double mesh size)</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
13 Clean up vertices</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 END GLOBAL REFINE</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier; min-height: 12px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 END ELEMENTS</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier; min-height: 12px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 ACCEPT MATL,QVOL</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 ACCEPT B.C.'s</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 ACCEPT B.C.'s</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
1 EXIT</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
EOF</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
echo c3 > SESSION.NAME</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
postx</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 10px; line-height: normal; font-family: Courier;">
<br>
</p>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF141785" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> nek5000-users-bounces@lists.mcs.anl.gov [nek5000-users-bounces@lists.mcs.anl.gov] on behalf of nek5000-users@lists.mcs.anl.gov [nek5000-users@lists.mcs.anl.gov]<br>
<b>Sent:</b> Wednesday, November 16, 2016 11:57 PM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> [Nek5000-users] Autosphere's radius<br>
</font><br>
</div>
<div></div>
<div>Hi, Neks!<br>
<br>
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).<br>
<br>
Thanks in advance, <br>
<span style="font-family:Verdana,Arial,Helvetica,sans-serif; font-size:12px">Jacob.</span>
</div>
</div>
</div>
</div>
</div>
</body>
</html>