<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Do you have magnetic field in the simulations? If not with B-field, I think "axisymmetric" and "reflect" do the same thing. If there is B-field, as the user guide says "axisymmetric" is "like reflect, but
both normal and toroidal vector components change sign."<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Yingchao<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">flash-users <flash-users-bounces@flash.rochester.edu> on behalf of Andy Sha Liao <andy@f.energy><br>
<b>Date: </b>Tuesday, May 24, 2022 at 9:42 AM<br>
<b>To: </b>Po-Yu Chang <pchang@mail.ncku.edu.tw><br>
<b>Cc: </b>flash-users@flash.rochester.edu <flash-users@flash.rochester.edu><br>
<b>Subject: </b>Re: [FLASH-USERS] Problem of 2D cylindrical setup<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">I think the cylindrical geometry only works if the lower y boundary is the axis of rotation. So, you will have to manually rotate Windtunnel to blow vertically (along y axis).<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Andy<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">On Sun, May 22, 2022 at 1:37 PM Po-Yu Chang <<a href="mailto:pchang@mail.ncku.edu.tw">pchang@mail.ncku.edu.tw</a>> wrote:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi all,<br>
<br>
I am trying to simulate a hydrodynamic problem in 2D cylindrical <br>
coordinate. Therefore, I started from the example "WindTunnel". This <br>
example was originally in the cartesian coordinate. Therefore, I had the <br>
following for the setup:<br>
<br>
./setup -auto -2d +Cylindrical WindTunnel -objdir=WindTunnelCyl<br>
<br>
I found that in flash.par, the geometry was still set as<br>
<br>
"geometry = cartesian"<br>
<br>
Therefore, I replaced that line with<br>
<br>
"geometry = Cylindrical"<br>
<br>
Then, I found that if I set the boundary:<br>
<br>
"xl_boundary_type = axisymmetric"<br>
<br>
It gave an error message: "Error message is unsupported boundary <br>
condition on Lower Face"<br>
<br>
If I replaced the boundary to<br>
<br>
"xl_boundary_type = reflect"<br>
<br>
Then, it ran without errors.<br>
<br>
However, I believe the reflection boundary on the axis is not correct. <br>
It seems like the problem was still under cartesian coordinate even I <br>
set it to cylindrical coordinate during the "./setup" and changed the <br>
geometry to cylindrical in the flash.par. So, what did I miss for <br>
setting the cylindrical coordinate?<br>
<br>
Thank you.<br>
<br>
Cheers,<br>
<br>
Po-Yu<br>
<br>
-- <br>
Po-Yu Chang<br>
Assistant Professor<br>
Institute of Space and Plasma Sciences (ISAPS)<br>
National Cheng Kung University (NCKU)<br>
No.1, University Road,<br>
Tainan City 70101, Taiwan<br>
(TEL) +886-6-2757575 ext. 65916<br>
<a href="mailto:pchang@mail.ncku.edu.tw" target="_blank">pchang@mail.ncku.edu.tw</a><br>
<a href="http://capst.ncku.edu.tw/PGS/" target="_blank">http://capst.ncku.edu.tw/PGS/</a><br>
<br>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><o:p></o:p></span></p>
</blockquote>
</div>
</div>
</body>
</html>