CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Function Collect_faces_to_nodes (https://www.cfd-online.com/Forums/fluent-udf/157756-function-collect_faces_to_nodes.html)

Zal August 7, 2015 05:00

loop over nodes / Function Collect_faces_to_nodes
 
Hi !

I work on a program that needs to know the face2 that share node1 and node2 with the face1


For that the program uses the function collect_faces_to_nodes but it creates a segmentation fault.

extract of the UDF :
collect_faces_to_nodes(domain,thread,TRUE,FALSE);
node1=F_NODE(face,thread,n); (n is the number of the node 1)
list=NODE_LIST(node1);

I do not know the usefulness of the function collect_faces_to_nodes.
I think I need it to use the function NODE_LIST but not sur.



I try to find a way to not use "collect_faces_to_nodes" and but I do not know if it is possible to loop over all the nodes of a face thread and I do not see this type of loop in the UDF manual.


thank you for your help !

Zal


All times are GMT -4. The time now is 11:08.