<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I assume that for your isothermal case, you set the boundary conditions for the velocity field with the following piece of code:
<div class=""><br class="">
</div>
<div class="">
<div class=""><span class="" style="font-family: monospace, monospace;">do iel=1,nelt</span><br class="" style="font-family: monospace, monospace;">
<span class="" style="font-family: monospace, monospace;"> do ifc=1,2*ndim</span><br class="" style="font-family: monospace, monospace;">
<span class="" style="font-family: monospace, monospace;"> idss = bc(5,ifc,iel,1)</span><br class="" style="font-family: monospace, monospace;">
<span class="" style="font-family: monospace, monospace;"> if (idss.eq.1) cbc(ifc,iel,1)='v </span><font face="monospace, monospace" class="">‘</font></div>
<div class=""><font face="monospace, monospace" class=""> if (idss.eq.2) cbc(ifc,iel,1)=‘O ‘</font></div>
<div class=""><span class="" style="font-family: monospace, monospace;"> if (idss.eq.3) cbc(ifc,iel,1)=‘W '</span><br class="" style="font-family: monospace, monospace;">
<span class="" style="font-family: monospace, monospace;"> enddo</span><br class="" style="font-family: monospace, monospace;">
<span class="" style="font-family: monospace, monospace;">enddo</span></div>
</div>
<div class=""><span class="" style="font-family: monospace, monospace;"><br class="">
</span></div>
<div class=""><font face="monospace, monospace" class="">The ‘1’ in the arrays cbc and bc is for the velocity field. If you use the same approach for the temperature equation, you will have the replace ‘1’ with ‘2’ which corresponds to the temperature field.</font></div>
<div class=""><font face="monospace, monospace" class=""><br class="">
</font></div>
<div class=""><font face="monospace, monospace" class="">Marco</font></div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 23, 2018, at 5:04 PM, <a href="mailto:nek5000-users@lists.mcs.anl.gov" class="">
nek5000-users@lists.mcs.anl.gov</a> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hi Nek`s
<div class=""><br class="">
</div>
<div class="">I generated my mesh in exo2nek. My initial case was a DNS study over pebbles in tandem for iso-thermal flow. I now wish to add heat transfer from the pebbles..</div>
<div class=""><br class="">
</div>
<div class="">How do i specify the thermal boundary conditions for a mesh that has been generated by exo2nek?</div>
<div class=""><br class="">
</div>
<div class="">Regards</div>
<div class="">
<div class=""><br class="">
</div>
<br class="">
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div style="font-size: 12.8px;" class=""><span style="font-family:"Times New Roman",serif;color:rgb(31,73,125)" class=""><span style="color:rgb(31,73,125)" class=""></span></span><br class="webkit-block-placeholder">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
Nek5000-users mailing list<br class="">
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" class="">Nek5000-users@lists.mcs.anl.gov</a><br class="">
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>