CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Update nodes with a ON_DEMAND UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 13, 2009, 15:36
Default Update nodes with a ON_DEMAND UDF
Join Date: Jun 2009
Posts: 31
Rep Power: 10
mrestrepo30 is on a distinguished road
I'm calculating the displacement of the nodes by comparing two grids at different times, so the way it does it, is that it goes through the faces of a thread, and then on each face goes through all the nodes. However, as some faces "share" nodes, I end up calculating the displacement for one node several times.

I tried to use something I found in the GRID_MOTION macro:

f_node_loop (f1, t1, n1) {
node1 = F_NODE(f1, t1, n1);

However when I use this the UDF never goes inside the IF, so I get no information from the nodes. Does anyone know how to implement this function on a ON_DEMAND macro?

I appreciate any comments about it!
mrestrepo30 is offline   Reply With Quote


nodes, on demand, update

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update nodes with a ON_DEMAND UDF mrestrepo30 FLUENT 0 July 13, 2009 14:36
Interpolation (Number of mapped nodes) Sam CFX 3 January 6, 2008 20:51
Number of nodes on block. Felix CFX 0 October 24, 2007 22:26
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19

All times are GMT -4. The time now is 18:55.