<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi David,<br>
<br>
The routine is doing just some sanity checks on your geometry so you shouldn't be concerned. However if you want to import a lot more from that example file it could be that certain routines/operations are hard wired to a geometry generated by genbox (which
is the case here). So keep wary and if something doesn't work you need to adapt that to your case.<br>
<br>
Oana<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF629533"><font face="Tahoma" size="2" color="#000000"><b>From:</b> nek5000-users-bounces@lists.mcs.anl.gov [nek5000-users-bounces@lists.mcs.anl.gov] on behalf of nek5000-users@lists.mcs.anl.gov [nek5000-users@lists.mcs.anl.gov]<br>
<b>Sent:</b> Friday, September 18, 2015 1:49 PM<br>
<b>To:</b> Nek Mailing List<br>
<b>Subject:</b> Re: [Nek5000-users] userchk in turbChannel<br>
</font><br>
</div>
<div></div>
<div>
<p dir="ltr">Oana, <br>
Okay, I will keep trying to get around it. Can you tell me what exactly this function is doing? Is it checking for mesh or input errors?<br>
David</p>
<div class="gmail_quote">On Sep 16, 2015 3:53 PM, <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hi David,<br>
<br>
I think that piece of code applies to a perfectly rectangular geometry where both nelx, nely are clearly defined as provided in e.g. genbox. For pipe it is indeed a tricky if not impossible matter.<br>
<br>
However the check performed there seems to me not too relevant for your problem. You could in fact just compute<br>
nelx*nely*nelz>lelx*lely*lelz<br>
<br>
Oana<br>
________________________________________<br>
From: <a href="mailto:nek5000-users-bounces@lists.mcs.anl.gov" target="_blank">nek5000-users-bounces@lists.mcs.anl.gov</a> [<a href="mailto:nek5000-users-bounces@lists.mcs.anl.gov" target="_blank">nek5000-users-bounces@lists.mcs.anl.gov</a>] on behalf of
<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a> [<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>]<br>
Sent: Wednesday, September 16, 2015 2:14 PM<br>
To: Nek Mailing List<br>
Subject: [Nek5000-users] userchk in turbChannel<br>
<br>
Hi all,<br>
<br>
I'm trying to use a round pipe mesh with this LES formulation but this<br>
section in userchk is tripping me up:<br>
<br>
nelx = 8 ! Number of elements in x,y, and z directions.<br>
nely = 8 ! NOTE, this may vary from one mesh to the next.<br>
nelz = 8 !<br>
<br>
ntot = nx1*ny1*nz1*nelv<br>
<br>
! do some checks<br>
if (istep.eq.0) then<br>
if(mod(nely,2).ne.0) then<br>
if(nid.eq.0) write(6,*) 'ABORT: nely has to be even!'<br>
call exitt<br>
endif<br>
if(nelx.gt.lelx .or. nely.gt.lely .or. nelz.gt.lelz) then<br>
if(nid.eq.0) write(6,*) 'ABORT: nel_xyz > lel_xyz!'<br>
call exitt<br>
endif<br>
endif<br>
<br>
How should I determine nelx and nely for the circular area at the end<br>
of the pipe? I have 56 elements in this area (x-y plane) extruded to<br>
10 layers with n2to3 (560 total elements).<br>
<br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>