[Nek5000-users] how to define boundary conditions with a specified function.
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Wed Jun 18 03:46:24 CDT 2014
Hello Neks,
Again, since u=2*x, then u_x=2, the boundary conditions for uy should be
v_y = -u_x = -2.
when I set the boundary type as "v" and it is aligned/parallel with X-axis. the value of uy will be equal to zero by default. So in this case is it feasible to set "v" as boundary type?
I find here http://lists.mcs.anl.gov/pipermail/nek5000-users/2011-April/001312.html
and http://lists.mcs.anl.gov/pipermail/nek5000-users/2010-December/001184.html
have a similar question with mine. Is there someone can give me some advices? thank you!!
Wei
On Jun 17, 2014, at 6:42 PM, nek5000-users at lists.mcs.anl.gov wrote:
> Thanks you Paul, for your so quickly response and help!!. It works.
>
> Wei
> On Jun 17, 2014, at 5:36 PM, nek5000-users at lists.mcs.anl.gov wrote:
>
>> ux=0
>> uy=0
>> uz=0
>> eps = 1.e-4
>> if (abs(y-1.).le.eps) ux=2*x
>
> _______________________________________________
> 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/20140618/9f8adc4f/attachment.html>
More information about the Nek5000-users
mailing list