[Nek5000-users] lid driven cavity

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Mon Jan 18 19:23:01 CST 2016


Sorry to spam. I could solve the issue.
W  ,W  ,W  ,w             V bc's  ! west,east,south,north,bottom,top
should be changed to
W  ,W  ,W  ,v             V bc's  ! west,east,south,north,bottom,top

So just a typo in boundary conditions.

On 1/18/2016 8:07 PM, nek5000-users at lists.mcs.anl.gov wrote:
> Hi Neks,
>
> I'm trying to solve a simple 2D cavity problem with Nek and I've got 
> the following error:
>
> EXIT: E INVALID BC FOUND in genfast         64
>
>   * For your info here is the genbox script I used for the mesh:
>
>
> test5.rea
> 2                         spatial dimension
> 1                         number of fields
> #
> #=======================================================================
> #
> box_1                     1st character .ne. "c" or "C"
> -8  -8  1                 nelx,nely,nelz
> 0   1  1            x_0  x_Nelx  ratio
> 0   1  1
> W  ,W  ,W  ,w             V bc's  ! west,east,south,north,bottom,top
>
>   * Also, this is the userbc part in user file:
>
> c-----------------------------------------------------------------------
>       subroutine userbc (ix,iy,iz,iside,ieg)
>       include 'SIZE'
>       include 'TSTEP'
>       include 'INPUT'
>       include 'NEKUSE'
>
>       ux=1.
>       uy=0.
>
>       return
>       end
>
> This should be a straightforward problem but am not sure which part 
> I'm getting wrong. Any advice is appreciated. Hopefully, I can make a 
> sample tutorial for this well-known problem and share with new comers.
>
> Thanks,
> Saleh
>
>
> _______________________________________________
> 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/20160118/422de4a9/attachment.html>


More information about the Nek5000-users mailing list