[Nek5000-users] Nodal points using face and element number
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Wed Mar 14 10:48:37 CDT 2018
Thank you Nicolas i will give a try.
De: "nek5000-users" <nek5000-users at lists.mcs.anl.gov>
À: "nek5000-users" <nek5000-users at lists.mcs.anl.gov>
Envoyé: Mercredi 14 Mars 2018 16:42:22
Objet: Re: [Nek5000-users] Nodal points using face and element number
Hi Sijo,
Given element iel and face iface, the corresponding nodal points can be accessed as follows:
c Identify the start and end indices of the face
call facind(kx1,kx2,ky1,ky2,kz1,kz2,nx1,ny1,nz1,iface)
c Loop through the nodes of the face
do iz = kz1,kz2
do iy = ky1,ky2
do ix = kx1,kx2
myarray(ix,iy,iz,iel) = ... ! accessing the points on face iface
enddo
enddo
enddo
Best,
Nicolas
On Wed, Mar 14, 2018 at 4:24 PM, < [ mailto:nek5000-users at lists.mcs.anl.gov | nek5000-users at lists.mcs.anl.gov ] > wrote:
Hi Neks,
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.
Regards
Sijo
_______________________________________________
Nek5000-users mailing list
[ mailto:Nek5000-users at lists.mcs.anl.gov | Nek5000-users at lists.mcs.anl.gov ]
[ https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users | https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users ]
_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20180314/9c9a8789/attachment.html>
More information about the Nek5000-users
mailing list