Velocity gradient in cartesian basis #214
-
Is the variable named u_y that is output by horses2plt the derivative of x-velocity with respect to the cartesian y-coordinate? Based on what I read in the source code, this should be the case, but I am not observing this in the Tecplot output file that I am generating. I get a different value compared to the value that I compute in Tecplot using
I have also tried calculating the surface integral of du/dy through a surface monitor (this is a part of what I want to achieve in the end) using, say something like:
and I notice again that this wouldn't yield the expected value. Am I misunderstanding something here? Thank you for your time. Edit: I forgot to mention some details. I am using the following line when using horses2plt
and my reference length is 1 meters (so the grid is the same in dimensional and non-dimensional coordinates), so I do not think that the issue concerns non-dimensionalization. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Upon further investigation, I found out what was happening. It was this following setting in the control file that was causing the unexpected values:
I guess the entropy derivatives were being stored in U_x, U_y and U_z when the aforementioned option was being used. Commenting this out fixed my issue. |
Beta Was this translation helpful? Give feedback.
-
I am glad to check the problem is solved!
… On 5 Apr 2024, at 07:52, Prasanna Thoguluva Rajendran ***@***.***> wrote:
Upon further investigation, I found out what was happening. It was this following setting in the control file that was causing the unexpected values:
Gradient variables = Entropy
Commenting this out fixed my issue.
—
Reply to this email directly, view it on GitHub <https://urldefense.com/v3/__https://github.com/loganoz/horses3d/discussions/214*discussioncomment-9017303__;Iw!!D9dNQwwGXtA!T47PUbPaCSOOpXK0PKhMYFCNP339VTQ2z5uZ-PoOureSJk9d2-GkBiCTbA-NOUJkFTOZRTbmx7RbLTcF_UYvcTU$>, or unsubscribe <https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ACRCY6MLOLWSJOF6GXDIXUTY3Y3Z7AVCNFSM6AAAAABFWY4GQWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMJXGMYDG__;!!D9dNQwwGXtA!T47PUbPaCSOOpXK0PKhMYFCNP339VTQ2z5uZ-PoOureSJk9d2-GkBiCTbA-NOUJkFTOZRTbmx7RbLTcFPjrMxlw$>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
Upon further investigation, I found out what was happening. It was this following setting in the control file that was causing the unexpected values:
I guess the entropy derivatives were being stored in U_x, U_y and U_z when the aforementioned option was being used. Commenting this out fixed my issue.