-
-
November 26, 2024 at 7:22 amthamilmaniSubscriber
How to access yplus values at all cells as my UDF needs to return different values based on different range of yplus. ANSYS Fluent only provide Wall yplus in the cell macros, which has first cell y plus next to the wall. How to map y plus distributed values across the domain?
yplus = ustar * y / nu where ustar needs wall shear stress value at y = 0
Let's say even if I am trying to create my own UDMI or UDS for yplus, it is essential to access the near wall (y=0) values for calculating the yplus, which I am not sure how to handle it?
Any information or help regarding this would be valuable.
-
November 26, 2024 at 11:29 amRobForum Moderator
Once you're not in the near wall cell Fluent may not know the distance to the "nearest" wall so y+ may not be valid. The near wall cell ought to have a value, although it may not be trivial to access it.Â
-
November 27, 2024 at 11:53 amthamilmaniSubscriber
C_WALL_DIST(c, t) can be used to get the near wall distance right?
I am more concerned about not just accessing the distance from the wall but also the wall variables like, velocity gradient at y = 0 and thereby wall shear.
-
November 27, 2024 at 12:33 pmRobForum Moderator
Near wall cell, yes. Beyond that it's complicated: how does Fluent know which wall a cell is nearest to?Â
-
December 3, 2024 at 9:00 amthamilmaniSubscriber
I can understand that it is complicated. But I have seen that a research paper has implemented that and mentioned in ANSYS Fluent as Face mapping of y+ in their algorithm, hence the question.
I am not able to see any way ahead to go with that. Anyone knows how that can be implemented?
https://linkinghub.elsevier.com/retrieve/pii/S0017931023009742
-
December 3, 2024 at 2:07 pmRobForum Moderator
Nothing I can comment on as staff are limited to public domain knowledge.Â
-
- You must be logged in to reply to this topic.
-
1116
-
468
-
445
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.