<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Thank you Nicolas i will give a try.<br></div><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br><b>À: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br><b>Envoyé: </b>Mercredi 14 Mars 2018 16:42:22<br><b>Objet: </b>Re: [Nek5000-users] Nodal points using face and element number<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><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><br><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><br><br><div>Regards<br></div><br><div>Sijo<br></div></div></div><br>_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>Nek5000-users mailing list<br>Nek5000-users@lists.mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br></div></div></body></html>