Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Installation and Licensing Ansys Products UDF: Segmentation fault when using F_AREA Reply To: UDF: Segmentation fault when using F_AREA

antosanf
Subscriber

Hi Rob,

Than you for helping me out.

  1. I was trying to get information on the interior faces but I realized that the zone-id I was using in the code did not allow me to do that. I was using a zone-id that belongs to the "Cell Zone Conditions". From what I understand now, these zones only store cell information as opposed to information on interior faces. Is this correct?
  2. If I instead use the respective zone id that is listed in the "Boundary Conditions/Internals", I can get information on the interior faces and there is no segmentation fault. The code runs.
  3. I want to determine the flux that goes into each cell of a porous media. Would it be possible to loop over cells and then over the faces of each cell? The reason why I ask this is because the zone-id for cells is separate than for faces so I am not sure how to approach this task.
[bingo_chatbox]