<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi all,</p>
<p>Thank you for all the suggestions. I didn't have magnetic field
in the simulations. Also, I did rotate the Windtunnel problem and
have the lower y boundary as the axis of rotation. After some
tests, I solved the problem by removing the line "REQUIRES
Grid/GridBoundaryConditions/OneRow" in Config and it works now.<br>
<br>
It seems like OneRow does not support axisymmetric.</p>
<p>Cheers,</p>
<p>Po-Yu</p>
<p><br>
</p>
<div class="moz-cite-prefix">Lu, Yingchao 於 2022/5/24 下午 09:51 寫道:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR07MB7280ED5F5BB88A6922A16DB3E8D79@MN2PR07MB7280.namprd07.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@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;}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;}div.WordSection1
{page:WordSection1;}</style>
<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
<a class="moz-txt-link-rfc2396E" href="mailto:flash-users-bounces@flash.rochester.edu"><flash-users-bounces@flash.rochester.edu></a> on behalf
of Andy Sha Liao <a class="moz-txt-link-rfc2396E" href="mailto:andy@f.energy"><andy@f.energy></a><br>
<b>Date: </b>Tuesday, May 24, 2022 at 9:42 AM<br>
<b>To: </b>Po-Yu Chang <a class="moz-txt-link-rfc2396E" href="mailto:pchang@mail.ncku.edu.tw"><pchang@mail.ncku.edu.tw></a><br>
<b>Cc: </b><a class="moz-txt-link-abbreviated" href="mailto:flash-users@flash.rochester.edu">flash-users@flash.rochester.edu</a>
<a class="moz-txt-link-rfc2396E" href="mailto:flash-users@flash.rochester.edu"><flash-users@flash.rochester.edu></a><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"
moz-do-not-send="true" class="moz-txt-link-freetext">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"
moz-do-not-send="true" class="moz-txt-link-freetext">pchang@mail.ncku.edu.tw</a><br>
<a href="http://capst.ncku.edu.tw/PGS/" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">https://flash.rochester.edu/mailman/listinfo/flash-users</a><o:p></o:p></span></p>
</blockquote>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Po-Yu Chang
Assistant Professor
Institute of Space and Plasma Sciences (ISAPS)
National Cheng Kung University (NCKU)
No.1, University Road,
Tainan City 70101, Taiwan
(TEL) +886-6-2757575 ext. 65916
<a class="moz-txt-link-abbreviated" href="mailto:pchang@mail.ncku.edu.tw">pchang@mail.ncku.edu.tw</a>
<a class="moz-txt-link-freetext" href="http://capst.ncku.edu.tw/PGS/">http://capst.ncku.edu.tw/PGS/</a></pre>
</body>
</html>