Conversation
in CInterpolator::ReconstructBoundary.
|
I followed @pcarruscag 's request in commit 12974ab. |
pcarruscag
left a comment
There was a problem hiding this comment.
Thanks Max, I missed the solution v primitive part of the problem.
|
I don't think forwarding GetPrimitive to GetSolution by default is a good option, a "Slinding state" layer could be appropriate but that does not need to be fixed right now. |
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
|
By "Sliding State layer", do you mean a virtual |
|
I would add that layer to the solver so that the interpolation does not have to bypass it by going straight to the nodes. |
|
Ok thanks Pedro! |
|
Thanks @maxaehle 💐 Not sure how this will interact with scalar solvers (species transport) to come ... but in case someone there wants to work with sliding interfaces then I guess one has to test that a priori |
Proposed Changes
CSlidingInterface::GetDonor_Variableneeds to access thePrimitiveof flow variables and theSolutionof turbulent variables. Which one is the case, is currently decided by checkingdonor_solution->GetnPrimVar() == 2(true->turbulent, false->flow). If the SA turbulence model is used, the non-overidden "virtual placeholder"CVariable::GetPrimitive(unsigned long,unsigned long) constreturning zero is incorrectly called.We propose to fix this by additionally checking for
donor_solution->GetnPrimVar() == 1.Related Work
@maxaehle, @mcmorelli, @BeckettZhou, @EduardoMolina
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.