CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Function Collect_faces_to_nodes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2015, 05:00
Default loop over nodes / Function Collect_faces_to_nodes
  #1
Zal
New Member
 
Antoine
Join Date: Jun 2015
Posts: 12
Rep Power: 10
Zal is on a distinguished road
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

Last edited by Zal; August 7, 2015 at 08:51.
Zal is offline   Reply With Quote

Reply

Tags
collect_faces_to_nodes, udf


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lets talk about relaxation factor optimization chriss85 OpenFOAM Running, Solving & CFD 35 June 21, 2019 09:54
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 01:47
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 06:59
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 04:02.