kernels and data structures (found in example: gabls1) #577
-
Dear Neks, starting with NekRS (v23), I had a look at the examples. The following questions are particularly motivated by example
I can decipher the following:
I can not completely decipher the following:
As
I acknowledge that these are a bunch of questions and a single answer might not address all of them, but I would really appreciate any help anyway. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Note, invLMM != 1/LMM. Instead it refers to the inverse of the assembled
mass matrix.
…On Mon, 15 Jul 2024 at 17:19, turbulentphil ***@***.***> wrote:
Thank you for your answer!
1. It’s great that these basic functions will make it into the next
version of NekRS.
2. OK, so LMM is in some sense part of vgeo and thus we need to
multiply by invLMM separately (given that a subsequent averaging
procedure multiplies, as usual, again by LMM).
3. The way I understand your answer is the following:
3.1 The gradient field computed by, e.g., gradY is correct in the
sense that this represents the gradient field obtained from each spectral
element itself.
3.2 This gradient field is (of course) not continuous any more at the
spectral element boundaries.
3.3 The solution of the function call is already stored / up-to-date
in the solution array / device memory.
3.4 oogs::startFinish averages the values at the spectral element
boundaries based on the values from the adjacent elements, thus generating
a smooth continuous solution.
3.5 So, in some sense, we have translated the solution field from
being true within-element only to continuous across the individual elements.
4. OK, good to know or to be aware of!
—
Reply to this email directly, view it on GitHub
<#577 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEN2M76DQR4UXZVCFO2Z74DZMPK6FAVCNFSM6AAAAABKRGELOOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBVGE3TSMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
#include "<okl source>/foo.okl
in theudf
OKL section. Note, basic SEM ops can be found here: https://github.com/Nek5000/nekRS/blob/next/src/core/opSEM.hppvgeo
stands for volumetric geometric factorsoogs::startFinish
implements a gather (local to global) operation followed by a scatter (global to local). This is required to maintain C0 continuity with surrounding elements, the local DOFs must be assembled with the corresponding local DOFs in adjacent elements to create a continuous, global DOF.