February 16, 2022 at 3:43 pmhasupportSubscriber
I would like to have the surface elements of the mesh colored by the Gaussian curvature. I don't care if the solution is done in fluent and exported to ensight, or if it is directly done in ensight. The idea is to compute something as in
From what I have checked online, I would maybe go for a UDF, the problem is that I didn´t find a way to get the face index of the adjacent faces -the faces in contact with the nodes of the actual face-. The only macros I found are F_C0(f,t) and F_C1(f,t), but that gives the volume cells adjacent to a face, and not the faces.
Does anybody know how to do it? As I said, if not in Fluent, Ensight would also work.
Thanks in advance.February 17, 2022 at 6:30 pmSurya DebAnsys EmployeeHello,
Can you please embed an image of what you want to do? Please do not provide links as we will not be able to click on those links.
You can embed an image instead.
February 18, 2022 at 7:37 amhasupportSubscriberHello!
Yes, what I would like to achieve is to create a variable that shows curvature such us in this picture from the FreeCAD wiki:
It kind of should be embedded, since the curvature is something that even fluent mesher is calculating for making the refinements, but, I don't know how to do it.
Thanks for the help.
RegardsFebruary 18, 2022 at 11:54 amRobAnsys EmployeeFluent Meshing is checking the rate of change of facet normal, which the solver will also know. I think you'll need a UDF for this and the section in the manual on facet values is going to be a good starting point.
February 19, 2022 at 10:33 amhasupportSubscriberHi!
Yes, I have checked the manual, but didn't find a solution, therefore I asked here.
The problem is that I didn┬┤t find a way to get the face index of the adjacent faces -the faces in contact with the nodes of the actual face-. The only macros I found are F_C0(f,t) and F_C1(f,t), but that gives the volume cells adjacent to a face, and not the faces.
If you know a function that gets the adjacent cells' index, I could start working from there.
Thanks in advance.
February 21, 2022 at 12:01 pmRobAnsys EmployeeI don't think you need to find the neighbours. You want the facet normal, once you have that you can use the built in gradient/derivative tools.
February 21, 2022 at 3:47 pmhasupportSubscriberOh, didn't think of that!
Thanks! I will write again once I try it
February 25, 2022 at 7:24 amhasupportSubscriberThat did indeed work. Thank you very much!
Viewing 7 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.