-
-
June 20, 2025 at 5:56 pm
balevy
SubscriberI have a UDF where I loop over the cells in a thread and then the faces of each cell. I use F_C0() and F_C1() to get the cells on either side of the face. However, sometimes, F_C0() returns -1, which seems like it corresponds to C0 not existing. When this happens, F_C1 works without issue (and corresponds to the current cell in my outer cell loop). Does anyone know what is happening in this case?
I also make sure that the face is not on a boundary using BOUNDARY_FACE_THREAD_P(), so both C0 and C1 should exist.
I am using Fluent 2023R2.
-
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3301
-
1036
-
1006
-
859
-
804
Top Rated Tags
© 2025 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.