<div dir="ltr"><div>Hi Sijo,<br><br>Given element iel and face iface, the corresponding nodal points can be accessed as follows:<br><br><span style="font-family:monospace,monospace">c Identify the start and end indices of the face</span><br><span style="font-family:monospace,monospace">call facind(kx1,kx2,ky1,ky2,kz1,kz2,nx1,ny1,nz1,iface)<br><br>c Loop through the nodes of the face<br>do iz = kz1,kz2<br>do iy = ky1,ky2<br>do ix = kx1,kx2<br> myarray(ix,iy,iz,iel) = ... ! accessing the points on face iface<br>enddo<br>enddo<br>enddo<br></span><br><br></div><div>Best,<br></div><div>Nicolas<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 14, 2018 at 4:24 PM, <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>Hi Neks,<br></div><div><br></div><div>Could you please tell me, if i give the face number and element number, can i get the nodal co ordinates? My problem is I have a body in fluid domain and I have the element number and face number of elements which is in contact with the surface of the body. I need to get the x cordinates of the Nodes which are on the body.<br></div><div><br></div><div><br></div><div>Regards<br></div><div><br></div><div>Sijo<br></div></div></div><br>______________________________<wbr>_________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.<wbr>gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/<wbr>mailman/listinfo/nek5000-users</a><br>
<br></blockquote></div><br></div>