qvol in userq for passive scalar

105 views
Skip to first unread message

Florian

unread,
Nov 22, 2019, 5:05:38 AM11/22/19
to Nek5000
Dear Neks,

Just a quick and probably easy question:
I want to set the qvol term for my temperature and passive scalar advection equation. Am I doing this right:

in userq:
-------------------------------
if (ifield.eq.2) then
  qvol = ...
elseif (ifield.eq.3) then
  qvol = ...
endif
------------------------------

And if so, what is the SOURCE term for?

Thanks in advance.

Best Florian

Stefan K.

unread,
Nov 22, 2019, 5:40:57 AM11/22/19
to Florian, Nek5000
Checkout the source and you'll know (see nekuq function). Yes, only qvol is used so your example is correct.

--
You received this message because you are subscribed to the Google Groups "Nek5000" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nek5000+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nek5000/c79757e6-7b70-4d2b-811f-c93d3a74a4d3%40googlegroups.com.

Florian

unread,
Nov 22, 2019, 5:58:22 AM11/22/19
to Nek5000
Thanks!
I was going through the conduct.f and only found qvol in the nekuq subroutine. That's why I was wondering.

Best
Florian


Am Freitag, 22. November 2019 11:40:57 UTC+1 schrieb StefanK:
Checkout the source and you'll know (see nekuq function). Yes, only qvol is used so your example is correct.

On Fri, Nov 22, 2019 at 11:05 AM 'Florian' via Nek5000 <nek...@googlegroups.com> wrote:
Dear Neks,

Just a quick and probably easy question:
I want to set the qvol term for my temperature and passive scalar advection equation. Am I doing this right:

in userq:
-------------------------------
if (ifield.eq.2) then
  qvol = ...
elseif (ifield.eq.3) then
  qvol = ...
endif
------------------------------

And if so, what is the SOURCE term for?

Thanks in advance.

Best Florian

--
You received this message because you are subscribed to the Google Groups "Nek5000" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nek5000+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages