TAGGED: #fluent-#cfd-#ansys
-
-
February 13, 2024 at 12:52 pm
haikal.fouzi
SubscriberHi ANSYS, I'm facing similar issue as naibaf Fluent: Problem at partition boundary in parallel simulation using VOF and porous media (ansys.com) ,where i'm trying to access c_udmi value in the exterior cell of a partition. My intention is to calculate the average value of C_UDMI for a cell_t c at thread t based on the neighboring cell (if the given cell_t c has 6 faces, that means it has 6 neighboring cells). The averaging function works if the cell zone was in the same partition, but will give the wrong value if the cell zone have more than one partition.
Below images is the correct contour of user defined memory as the cell zone is not separated by any partition.

Â
Below is the wrong contour (wrong averaging calculation) as the cell zone was splitted into two different partition.

Right now, my cell x at compute node #1 couldn't get the udmi value in cell y of compute node #2 and vice versa, is there a way to access user defined memory on the exterior cell of a partition mesh so that i could get the averaging calculation right. -
February 13, 2024 at 1:33 pm
Rob
Forum ModeratorAs you'll have seen in other threads, staff are little limited regarding UDF support. https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v241/en/flu_udf/flu_udf_ChapParallelUDFUsage.html may be what you're after.Â
-
February 15, 2024 at 10:08 am
haikal.fouzi
SubscriberHi Rob, thank you for the reply. I've read the parallelization chapter in the udf manual but it seems like i couldn't find a proper method to query information from the exterior cell in the neigboring compute node.
-
February 15, 2024 at 11:10 am
Rob
Forum ModeratorWill PRF_GRSUM1 do what you want? Otherwise, we'll have to rely on the wider community as there may not be a documented solution.Â
-
February 19, 2024 at 1:05 am
haikal.fouzi
SubscriberHi Rob, unfortunately PRF_GRSUM1 is not suitable for my case as the each cell averaging calculation is dependent on its neighboring cell value
-
February 20, 2024 at 11:21 am
Rob
Forum ModeratorWon't the order you do the averaging in also alter the result?Â
I can't assist further on this as staff are not permitted to share "specialist" knowledge.Â
-
February 27, 2024 at 10:20 am
haikal.fouzi
Subscriberthe averaging order will not influence the result in the interior cells as the calculation is based on the pre-calculated UDM value in the boundary cells.
Below is the visualization of the averaging of interior cells based on udm value at 2 boundaries. As you can see the contour across the interior cells is pretty similar with the boundary cells.

-
- The topic ‘Fluent: Problem accessing stored UDMI value of different compute node’ is closed to new replies.
-
4678
-
1565
-
1386
-
1241
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.


