<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Vatslav,
<div class=""><br class="">
</div>
<div class="">you will have to use the neknek script that allows you to exchange data between two Nek5000 sessions that are run simultaneously. You should have a look at the neknek examples to understand how to set up your usr file.</div>
<div class=""><br class="">
</div>
<div class="">Some of the subroutines that will be useful to you are located in the following link: <a href="http://www.mcs.anl.gov/research/projects/nek5/docs/html/multimesh_8f_source.html" class="">http://www.mcs.anl.gov/research/projects/nek5/docs/html/multimesh_8f_source.html</a></div>
<div class=""><br class="">
</div>
<div class="">You will have to modify some of them to fit your needs since for example the subroutine ‘set_inflag’ is written to look for ‘in’ boundary conditions and replace them with ‘v ’. You will need a subroutine that looks for ‘in’ and substitute it
with either ‘v ‘ or ‘P ‘ depending on the which pipe you are at.</div>
<div class=""><br class="">
</div>
<div class="">Marco</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Mar 24, 2017, at 4:16 AM, <a href="mailto:nek5000-users@lists.mcs.anl.gov" class="">
nek5000-users@lists.mcs.anl.gov</a> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Hi, Neks!<br class="">
<br class="">
</div>
I have two pipes in my simulation. They are placed near each other on one axis with empty space between.<br class="">
One of them with periodic boundary conditions on z direction, another one - inflow -> outflow.
<br class="">
How can I copy velocity slice from one of boundary on first pipe with periodic bc to the inflow boundary on second pipe?<br class="">
<div class="">
<div class="">
<div class="m_-1567735881023454462gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class=""><br class="">
</div>
<div class="">Regards, Vatslav.<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
Nek5000-users mailing list<br class="">
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" class="">Nek5000-users@lists.mcs.anl.gov</a><br class="">
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>