ExtremeFLOW / neko

/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗
https://neko.cfd/
Other
161 stars 29 forks source link

Adds Neumann boundary condition for scalars. #1137

Closed timofeymukha closed 5 months ago

timofeymukha commented 6 months ago

First step towards Neumann / flux boundary conditions.

Not sure if it works when the axes are not aligned with the faces, due to the following statement in the Nek5000 docs regarding scalar bcs. "If the normal, tangent, and bitangent vectors are not aligned with the mesh the stress formulation has to be used." I don't see why this is the case for the scalar, though.

There a couple of questions regarding the implementation of bcs in the scalar types, which I would like to clear up in this PR review as well, I will leave some comments below for threaded discussions.

timofeymukha commented 6 months ago

OK, now I am happy, so ready for review :-).