<div dir="ltr"><div>"I guess what you are trying to do is to have one domain that is periodic and use that to drive the flow in another domain, which is presumably inflow-outflow?"<br><br></div>Yes. This is what I mean. And with old nek version (September 2015) my function works very well, but now (after upgrade) it doesn't interpolate velocity slice.<br><div><br></div><div>In my function I take two slice from each of session, change bc from P->inP and v->inv, then set intflag = 1 for face with inv and inP and then i change bc back to P and v as it was before.<br></div><div><br>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br><br>Dear Vatslav,<br><br>It's not clear to me how your approach should function if your intent<br><br>is to change a Periodic BC to an overlapping-domain-interpolation one.<br><br>I guess what you are trying to do is to have one domain that is periodic<br><br>and use that to drive the flow in another domain, which is presumably<br><br>inflow-outflow? If that is your goal, you might find that recirculating BCs<br><br>would be of value (possibly a bit more efficient), depending on your setup.<br><br>If we understand the objective we might be able to help.<br><br>Best,<br><br>Paul<br><br>From: Nek5000-users <<a href="https://vk.com/write?email=nek5000-users-bounces@lists.mcs.anl.gov" target="_blank">nek5000-users-bounces@lists.mcs.anl.gov</a>> on behalf of <a href="https://vk.com/write?email=nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a> <<a href="https://vk.com/write?email=nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>><br>Sent: Tuesday, September 26, 2017 3:06:33 AM<br>To: <a href="https://vk.com/write?email=nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a><br>Subject: [Nek5000-users] neknek new version<br><br>Hi, Neks.<br><br>I use neknek script in my simulation. I write the function like set_intflag in multimesh.f to find special bc and mark it:<br><br>nfaces = 2*ndim<br>nel = nelfld(ifield)<br><br>nflag=nel*nfaces<br>call izero(intflag,nflag)<br><br>do j=1,ifield<br>do e=1,nel<br>do f=1,nfaces<br>if ( session.eq.'pipe_per1' ) then<br>if ( cbc(f,e,j).eq.'P ' ) intflag(f,e) = 1<br>endif<br><br>if ( session.eq.'pipe_per2' ) then<br>if ( cbc(f,e,j).eq.'v ' ) intflag(f,e) = 1<br>endif<br>enddo<br>enddo<br>enddo<br><br>( from periodic bc in one nek-session to inlet bc in another nek-session ).<br><br>So,
it works very well on old version of nek, but on the latest version of
Nek5000 i can't interpolate boundary slice between two session in such
way anymore. And I absolutely no idea why.<br><br>Can anyone say how it can be fixed?<br><br>Regard, Vatslav<br><br><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">С уважением, Владимир Рыженьков</div></div></div></div></div>
</div></div>