<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks a lot. <div><br></div><div>Could you please tell me where I can find more information of defining the .usr file. </div><div><br></div><div>for example if I have boundary condition like this on a pipe </div><div><br></div><div>" v,O,W,W "</div><div><br></div><div>and If I want to define a parabolic profile on the inlet say a value of 10 . How do I specific the edge ?</div><div><br></div><div>Thank you.</div><div><br></div><div>Kamal </div><div><br></div><div><div>On Jan 13, 2014, at 7:58 PM, <a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div>When you create the .box file, it is important that the line containing the boundary conditions follows the format as described on the nek wiki and documentation.</div><div><br></div><div>
It is a 3 character code that defines each boundary condition, and the whitespace must be maintained. For example, </div><div> </div><div>"v ,A ,W ,W , , "</div><div><br></div><div>would be a valid entry, whereas using less than 3 characters will result in commas and whitespace being entered into your .rea file.</div>
<div><br></div><div>More info and examples can be found:</div><div><a href="http://nek5000.mcs.anl.gov/index.php/Genbox">http://nek5000.mcs.anl.gov/index.php/Genbox</a><br></div><div><br></div><div>Best,</div><div>Katie</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 13, 2014 at 8:49 AM, <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I created my .box file, with help of genbox I created .rea file.<br>
later I created a .usr and SIZE file.<br>
<br>
I have attached all the files I used with this mail<br>
<br>
I launched the simulation and I got this error<br>
<br>
******************************<u></u>******************************<u></u>*****<br>
/-----------------------------<u></u>-----------------------------\<u></u>\<br>
| _ __ ______ __ __ ______ ____ ____ ____ |<br>
| / | / // ____// //_/ / ____/ / __ \\ / __ \\ / __ \\ |<br>
| / |/ // __/ / ,< /___ \\ / / / // / / // / / / |<br>
| / /| // /___ / /| | ____/ / / /_/ // /_/ // /_/ / |<br>
| /_/ |_//_____//_/ |_|/_____/ <a href="smb://____/">\\____/</a> <a href="smb://____/">\\____/</a> <a href="smb://____/">\\____/</a> |<br>
| |<br>
|-----------------------------<u></u>-----------------------------|<br>
| |<br>
| NEK5000: Open Source Spectral Element Solver |<br>
| COPYRIGHT (c) 2008-2010 UCHICAGO ARGONNE, LLC |<br>
| Version: 1.0rc1 / SVN r982 |<br>
| Web: <a href="http://nek5000.mcs.anl.gov/" target="_blank">http://nek5000.mcs.anl.gov</a> |<br>
| |<br>
\\----------------------------<u></u>------------------------------<u></u>/<br>
<br>
<br>
Number of processors: 1<br>
REAL wdsize : 8<br>
INTEGER wdsize : 4<br>
<br>
<br>
Beginning session:<br>
/home/kamal/neksamples/mine/<u></u>box.rea<br>
<br>
<br>
timer accuracy: 0.0000000E+00 sec<br>
<br>
read .rea file<br>
nelgt/nelgv/lelt: 15 15 15<br>
lx1 /lx2 /lx3 : 8 6 8<br>
<br>
mapping elements to processors<br>
0 15 15 15 15 NELV<br>
RANK 0 IEG 1 2 3 4 5 6 7 8<br>
9 10 11 12 13 14 15<br>
element load imbalance: 0 15 15<br>
done :: mapping elements to processors<br>
<br>
0 objects found<br>
done :: read .rea file 0.67091E-03 sec<br>
<br>
Reset the target Courant number to .5<br>
setup mesh topology<br>
Right-handed check complete for 15 elements. OK.<br>
setvert2d: 8 252 792 252 252<br>
call usrsetvert<br>
done :: usrsetvert<br>
<br>
gs_setup: 0 unique labels shared<br>
handle bytes (avg, min, max): 3972 3972 3972<br>
buffer bytes (avg, min, max): 0 0 0<br>
setupds time 1.9503E-04 seconds 0 8 252 15<br>
4 max multiplicity<br>
done :: setup mesh topology<br>
<br>
call usrdat<br>
done :: usrdat<br>
<br>
generate geometry data<br>
vol_t,vol_v: 1.9999999999999920 1.9999999999999920<br>
done :: generate geometry data<br>
<br>
call usrdat2<br>
done :: usrdat2<br>
<br>
regenerate geometry data 1<br>
vol_t,vol_v: 1.9999999999999938 1.9999999999999938<br>
done :: regenerate geometry data 1<br>
<br>
verify mesh topology<br>
0.0000000000000000 4.0000000000000000 Xrange<br>
0.0000000000000000 0.50000000000000000 Yrange<br>
0.0000000000000000 0.0000000000000000 Zrange<br>
done :: verify mesh topology<br>
<br>
103 Parameters from file:/home/kamal/neksamples/<u></u>mine/box.rea<br>
1 1.00000 p1 DENSITY<br>
2 -20.0000 p2 VISCOS<br>
7 1.00000 p7 RHOCP<br>
8 1.00000 p8 CONDUCT<br>
11 1000.0 p11 NSTEPS<br>
12 -1.000000E-04 p12 DT<br>
15 100.000 p15 IOSTEP<br>
18 0.250000E-01 p18 GRID<br>
19 -1.00000 p19 INTYPE<br>
20 12.0000 p20 NORDER<br>
21 0.100000E-10 p21 DIVERGENCE<br>
22 0.100000E-11 p22 HELMHOLTZ<br>
24 0.100000E-09 p24 TOLREL<br>
25 0.100000E-09 p25 TOLABS<br>
26 1.00000 p26 COURANT/NTAU<br>
27 3.00000 p27 TORDER<br>
28 0. p28 TORDER: mesh velocity (0: p28=p27)<br>
43 1.00000 p43 0=semg/1=schwarz<br>
66 4.00000 p66 output : <0=ascii, else binary<br>
67 4.00000 p67 restart: <0=ascii, else binary<br>
93 20.0000 p93 Number of previous pressure solns saved<br>
94 5.00000 p94 start projecting velocity after p94 step<br>
95 5.00000 p95 start projecting pressure after p95 step<br>
96 1.00000 p96 u0 translational velocity (in .usr)<br>
97 0.30000 p97 v0 translational velocity (in .usr)<br>
99 3.00000 p99 dealiasing: <0--> off/3--> old/4--> new<br>
102 1.00000 p102 Dump out divergence at each time step<br>
<br>
IFTRAN = T<br>
IFFLOW = T<br>
IFHEAT = F<br>
IFSPLIT = F<br>
IFLOMACH = F<br>
IFUSERVP = F<br>
IFUSERMV = F<br>
IFSTRS = F<br>
IFCHAR = F<br>
IFCYCLIC = F<br>
IFAXIS = F<br>
IFMVBD = F<br>
IFMELT = F<br>
IFMODEL = F<br>
IFKEPS = F<br>
IFMOAB = F<br>
IFNEKNEK = F<br>
IFSYNC = T<br>
<br>
IFVCOR = T<br>
IFINTQ = F<br>
IFCWUZ = F<br>
IFSWALL = F<br>
IFGEOM = F<br>
IFSURT = F<br>
IFWCNO = F<br>
<br>
IFTMSH for field 1 = F<br>
IFADVC for field 1 = T<br>
IFNONL for field 1 = F<br>
<br>
Dealiasing enabled, lxd= 12<br>
<br>
Estimated eigenvalues<br>
EIGAA = 20.047633939712757<br>
EIGGA = 46987.971345031350<br>
EIGAE = 0.61685027506808487<br>
EIGAS = 3.8461538461538464E-003<br>
EIGGE = 46987.971345031350<br>
EIGGS = 2.0000000000000000<br>
<br>
verify mesh topology<br>
0.0000000000000000 4.0000000000000000 Xrange<br>
0.0000000000000000 0.50000000000000000 Yrange<br>
0.0000000000000000 0.0000000000000000 Zrange<br>
done :: verify mesh topology<br>
<br>
E-solver strategy: 1 itr<br>
0 15 BC FAIL<br>
EXIT: E INVALID BC FOUND in genfast 15<br>
<br>
call exitt: dying ...<br>
<br>
backtrace(): obtained 9 stack frames.<br>
./nek5000(print_stack_+0x1a) [0x4fe90a]<br>
./nek5000(exitt_+0x20f) [0x5bc0af]<br>
./nek5000(exitti_+0x12a) [0x5be72a]<br>
./nek5000(gen_fast_+0x581) [0x4fa701]<br>
./nek5000(set_overlap_+0x125) [0x4eb465]<br>
./nek5000(nek_init_+0x82d) [0x41affd]<br>
./nek5000(main+0x24) [0x419e54]<br>
/lib/x86_64-linux-gnu/libc.so.<u></u>6(__libc_start_main+0xf5) [0x7fd9f1f33de5]<br>
./nek5000() [0x419e99]<br>
<br>
total elapsed time : 3.74889E-03 sec<br>
total solver time incl. I/O : 0.00000E+00 sec<br>
time/timestep : 0.00000E+00 sec<br>
CPU seconds/timestep/gridpt : 0.00000E+00 sec<br>
<br>
<br>
real 0m0.030s<br>
user 0m0.020s<br>
sys 0m0.000s<br>
<br>
<br>_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>Nek5000-users mailing list<br><a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a><br>https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br></blockquote></div><br></body></html>