<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Dear nek5000 team,
<div><br>
</div>
<div>I have modified the makeq.f routine to include the line “call convab” into the condition “ifcvode”, just before "call wlaplacian…". </div>
<div>According to the test I performed with my vortex convection case as well as the “lowMach_test” case from the example directory of nek, now it seems to works as it should. I get the same results as with no-CVODE, or CVODE without the characteristic method.</div>
<div><br>
</div>
<div>If I am right, with that change, now convective and diffusive terms of heat and scalar equations are solved within CVODE, while the velocity in the hydrodynamic system is computed with the characteristic method (OIFS, sorry for the mistake in my previous
email).</div>
<div><br>
</div>
<div>Could you confirm me that it is an appropriate fix for the problem (supposing it was initially a bug)?</div>
<div>Thank you for your help!</div>
<div><br>
</div>
<div><br>
<div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>Best regards,</div>
<div>Emmanuel</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>On 22 May 2014, at 23:41, <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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Dear nek5000 team,
<div><br>
</div>
<div>
<div>I have set-up a test case that consist of a free convection of a 2D vortex in a periodic domain. In the initial condition, I have put a line of passive scalars superimposed onto the vortex. If I use the standard solver for temperature and PS (p16 = 0 or
1), everything works fine. My vortex is convected and the line of passive scalars is distorted by the vortex and diffused progressivly. It works well even with IFCHAR= T or F. Perfect.</div>
</div>
<div><br>
</div>
<div>However when I switch to the CVODE solver (p16 = 3) for time integration of temperature and PS, it works only with IFCHAR=F. When IFCHAR is T, my line of passive scalars is not convected by the flow and doesn’t interact with the vortex. Only the progressive
diffusion is taken into account.</div>
<div><br>
</div>
<div>A quick look at the routine makeq.f confirms this behaviour. If IFCHAR is F, the routine convab is called to compute the convective operator, and then the diffusion operator is computed with the call of the routine wlapacian. If IFCHAR is T, only this
latter diffusion part is computed. In that case I didn’t find where the convection part is computed. It seems that it is missing.</div>
<div><br>
</div>
<div>My question is just: is this normal? Why only the diffusion operator is computed when CVODE and IOFS are used together? Is it a bug? Am I missing something in the theory? </div>
<div><br>
</div>
<div>Than you in advance for your explanations !</div>
<div><br>
</div>
<div>
<div>
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>Best regards,</div>
<div>Emmanuel</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
</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>
</div>
</body>
</html>