[Nek5000-users] Time-dependent Boundary Condition

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Mar 30 16:18:11 CDT 2012


Hi Alireza,

I would normally put something like:


       write(6,*) a,pi,time,ux
       stop


after the assign statement, run it, and see what happens.

Please let me know if that clarifies at all.

Also, how did you implement the bc?  Was it in genbox?

Did you specify:  'v  '   (v, followed by two spaces) ?

Best regards,

Paul



On Fri, 30 Mar 2012, nek5000-users at lists.mcs.anl.gov wrote:

> Hi,
>
> I want to simulate a 2D test case with time-dependent velocity boundary 
> condition with the following form:
> ux = A sin(2*pi*t)
>
> I implemented the BC as velocity (v) in rea file and as
> ux=A*sin(2*pi*time)
> in userbc subroutine. Looking at the results, it seems that the BC is not 
> enforced correctly and the velocity is zero at the boundary. I wonder if you 
> could help me in this regard.
>
> Regards,
> Alireza
>
>
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users



More information about the Nek5000-users mailing list