<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div><br>
</div>
<div>Hi Sandeep,</div>
<div><br>
</div>
The temperature should be continuous if everything is working correctly.
<div><br>
</div>
<div>One way things can go wrong is if the initial temperature is not continuous, because subsequent</div>
<div>fields are computed as updates of the original. All corrections are continuous:</div>
<div><br>
</div>
<div> T^n = T^n-1 + dT</div>
<div><br>
</div>
<div>dT is continuous. T^n will be continuous only if T^n-1 is continuous. useric() generally ensures</div>
<div>continuity of temperature and velocity via the dsavg operation before the start of the calculation.</div>
<div><br>
</div>
<div>Even if the user prescribes a discontinuous initial condition, useric() invokes dsavg to force continuity.</div>
<div><br>
</div>
<div>How do you know that the function is discontinuous ?</div>
<div><br>
</div>
<div>Paul</div>
<div><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF562947" style="direction: ltr;"><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> Tuesday, January 24, 2017 8:27 AM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> [Nek5000-users] nelgv in uservp of conj_ht<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hello All,</div>
<div class="gmail_default" style="font-size:small">I have a question in uservp of conjugate heat transfer. I am trying to modify the conjugate heat transfer problem (with additional passive scalars) and use for solving MHD problem with vector potential approach.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">I tested the conjugate heat transfer case changing the IF condition in uservp in following ways. <br>
</div>
<div class="gmail_default">
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Case 1:</div>
<div class="gmail_default" style="font-size:small"> if (ieg .gt. nelgv) then ! properties in the solid</div>
<div class="gmail_default" style="font-size:small"> udiff = 0.1*param(8) ! conductivity</div>
<div class="gmail_default" style="font-size:small"> utrans = 1.0</div>
<div class="gmail_default" style="font-size:small"> endif</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div style="font-size:small">Case 2:</div>
<div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span>if (y .ge. 1.5D0) then</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span>udiff= 0.1*param(8)</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span>elseif (y. le. 0.5D0) then</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span>udiff= 0.1*param(8)</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span>else</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span>udiff = param(8)</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span>endif</div>
</div>
<div style="font-size:small"><br>
</div>
<div style="font-size:small">I got a small difference in the temperature profile at the interface between solid and fluid. </div>
<div style="font-size:small">Could you please let me know, how do the above two cases affect the conditions imposed at the interface (what is the mathematical treatment and how does it change).</div>
<div style="font-size:small">Thank you in advance.</div>
<div style="font-size:small"><br>
</div>
<div style="font-size:small">Yours sincerely,</div>
<div style="font-size:small">Sandeep</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>