CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Reload udf from udf?

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

LinkBack Thread Tools Display Modes
Old   July 29, 2015, 06:37
Default Reload udf from udf?
New Member
Join Date: Jun 2015
Posts: 8
Rep Power: 4
Leb is on a distinguished road

Is it possible to reload a udf from inside itself?

I currently face a problem of using dynamic mesh. I have periodic data in a .txt file, the first cycle is read fine, but the second one is not read (I think the culprit is

if (NODE_POS_NEED_UPDATE (node_p))
              /* Set flag to indicate that the current node's        */
			  /* position has been updated, so that it will not be   */
              /* updated during a future pass through the loop:      */
              NODE_POS_UPDATED (node_p);
Since FLUENT probably remembers, that that node has already been updated (which is strange, because if motion is defined with a function, there is no problem with any number of cycles (butterfly-flex example)). I'm pretty sure that there is no problem with the file being read (since if I remove the next cycle from the data, the meshing fails with negative volumes)

So, I think if I could reload the meshing udf at the end of the cycle somehow from inside the udf, this problem would be solved.
Leb is offline   Reply With Quote


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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF acasas CFD Freelancers 1 January 23, 2015 08:26
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

All times are GMT -4. The time now is 07:32.