[Nek5000-users] userbc to set BC from velocity field computed in userchk

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Oct 6 10:37:21 CDT 2016


Good afternoon Neks,

I am trying to set boundary conditions from a velocity field computed in 
the userchk subroutine. The nature of the velocity field is defined as 
follows :

real boundx(lx1,ly1,lz1,lelt)
real boundy(lx1,ly1,lz1,lelt)
real boundz(lx1,ly1,lz1,lelt)

I was wondering what was the proper syntax to set the user defined 
Dirichlet velocity; is the following syntax in the userbc correct ?

ux=boundx(ix,iy,iz,iside,ie)
uy=boundy(ix,iy,iz,iside,ie)
uz=boundz(ix,iy,iz,iside,ie)

Thank you for your time,

Best wishes,

Arnold


More information about the Nek5000-users mailing list