[Nek5000-users] Defining 2 different drichlet velocities in 2 different zones
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Mon Nov 13 14:29:14 CST 2017
Hi Amitvikram,
One way to do it by geometry since userbc() has x,y,z info for each GLL point.
Another way is during the mesh construction: use a specific boundary character codes say 'v01' and 'v02' instead of default 'v ' and then in usrdat2() loop over cbc array to switch them back to 'v ' remembering the local element numbers for a future use in userbc().
Aleks
________________________________
From: Nek5000-users <nek5000-users-bounces at lists.mcs.anl.gov> on behalf of nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
Sent: Monday, November 13, 2017 9:39:12 AM
To: nek5000-users at lists.mcs.anl.gov
Subject: [Nek5000-users] Defining 2 different drichlet velocities in 2 different zones
Hi all,
I'm using a geometry where I need to define 2 different velocities at 2 inlets. How do I differentiate the zones in the .usr file where i set up my bcs? Whats the format for this?
Sincerely,
--
Amitvikram Dutta
Graduate Research Assistant
Fluid Mechanics Research Lab
University of Waterloo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20171113/1ed90049/attachment.html>
More information about the Nek5000-users
mailing list