Hi Dennis,<div><span style="white-space:pre">     </span> I have read this over, and I find in the first task, that you recommended using poisson solver. My case is an ideal case where the flow goes over an 2D ideal mountain, where I think the mountain is small compared the lateral distance in the domain. In this case, is an infinite small kesi (stream function) appropriate as the boundary condition in the two sides?</div><div><span style="white-space:pre">      </span>yours,</div><div><span style="white-space:pre">                </span>Jinbo<br><br><br><blockquote name="replyContent" class="ReferenceQuote" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0">-----原始邮件-----<br>
<b>发件人:</b><span id="rc_from">"Dennis Shea" <shea@ucar.edu></span><br>
<b>发送时间:</b><span id="rc_senttime">2019-07-28 01:32:54 (星期日)</span><br>
<b>收件人:</b> "谢瑾博" <xiejinbo@mail.iap.ac.cn><br>
<b>抄送:</b> Ncl-talk <ncl-talk@ucar.edu><br>
<b>主题:</b> Re: [ncl-talk] Any non global function calculation for stream function?<br><br><div dir="ltr"><div><div><br></div><div>NCL does <b>not </b>have a function that computes stream function on a limited area [regional] grid.</div><div>The calculation of stream function and velocity potential with a regional domain is non-trivial.<br></div><div>==============<br></div></div><div>This question has been asked several times in the past.  For example: <br></div><div><a href="https://www.ncl.ucar.edu/Support/talk_archives/all/1413.html" target="_blank"><b>https://www.ncl.ucar.edu/Support/talk_archives/all/1413.html</b></a></div><br><div><b></b><div>Perhaps, the code [?fortran?] used in the following could be found:</div><div><br></div><div><a href="https://journals.ametsoc.org/doi/full/10.1175/MWR3249.1" target="_blank"><b>Computation of the Streamfunction and Velocity Potential for Limited and Irregular Domains</b></a></div><div><span>Monthly Weather Review 134(11):3384-3394</span><span> · November 2006</span> </div><div><br></div><div>=====================<br></div><div>Miscellaneous: non-NCL</div><div><br></div><div><a href="http://pordlabs.ucsd.edu/matlab/stream.htm" target="_blank"><b>http://pordlabs.ucsd.edu/matlab/stream.htm</b></a></div><div><br></div><div><b>Good Luck</b><br> </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 27, 2019 at 9:24 AM 谢瑾博 via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Collegues,<div><span style="white-space:pre-wrap">       </span>I have been trying to calculate the stream function reversing from a know u and v in a small domain on Mercator using wrf. However, using <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/uv2sfvpF-1.shtml" style="margin:0px;padding:0px;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px" target="_blank">uv2sfvpF</a> or <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/uv2sfvpF-1.shtml" style="margin:0px;padding:0px;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px" target="_blank">uv2sfvp</a>f does not get the results since they require global grid. Is there any availible functions to calculate stream functions in small domains in NCL?</div><div><span style="white-space:pre-wrap"> </span>yours,</div><div><span style="white-space:pre-wrap">           </span>Jinbo <br><br><span>--<br><div style="font-family:tahoma,verdana,arial,helvetica,sans-serif"><span style="font-family:Arial;white-space:pre-wrap;line-height:22px;background-color:rgb(255,252,246)">Dr</span><span style="font-family:"lucida Grande",Verdana;line-height:23px">. Jinbo Xie</span></div><div><span style="line-height:23px"><font face="lucida Grande, Verdana">State Key Laboratory of Numerical Modeling for Atmospheric Sciences and Geophysical Fluid Dynamics (LASG)</font></span></div><div style="font-family:tahoma,verdana,arial,helvetica,sans-serif"><font face="'lucida Grande', Verdana"><span style="line-height:23px">Institute of Atmospheric Physics,Chinese Academy of Sciences </span></font></div><div style="font-family:tahoma,verdana,arial,helvetica,sans-serif"><span style="font-family:"lucida Grande",Verdana;line-height:23px">e-mail: <a href="mailto:xiejinbo@mail.iap.ac.cn" target="_blank">xiejinbo@mail.iap.ac.cn</a></span></div><div id="gmail-m_-3342341624692306227gmail-m_-3978749341721629772aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown" style="font-family:tahoma,verdana,arial,helvetica,sans-serif"><span style="font-family:"lucida Grande",Verdana;line-height:23px">Tel:86-10-8299-5419(o)</span></div></span></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
</blockquote><br><span>--<br><div style="font-family: tahoma, verdana, arial, helvetica, sans-serif;"><span style="font-family: Arial; white-space: pre-wrap; line-height: 22px; background-color: rgb(255, 252, 246);">Dr</span><span style="font-family: "lucida Grande", Verdana; line-height: 23px;">. Jinbo Xie</span></div><div><span style="line-height: 23px;"><font face="lucida Grande, Verdana">State Key Laboratory of Numerical Modeling for Atmospheric Sciences and Geophysical Fluid Dynamics (LASG)</font></span></div><div style="font-family: tahoma, verdana, arial, helvetica, sans-serif;"><font face="'lucida Grande', Verdana"><span style="line-height: 23px;">Institute of Atmospheric Physics,Chinese Academy of Sciences </span></font></div><div style="font-family: tahoma, verdana, arial, helvetica, sans-serif;"><span style="font-family: "lucida Grande", Verdana; line-height: 23px;">e-mail: <a href="mailto:xiejinbo@mail.iap.ac.cn" target="_blank">xiejinbo@mail.iap.ac.cn</a></span></div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown" style="font-family: tahoma, verdana, arial, helvetica, sans-serif;"><span style="font-family: "lucida Grande", Verdana; line-height: 23px;">Tel:86-10-8299-5419(o)</span></div></span></div>