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

Reload udf from udf?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2015, 07:37
Default Reload udf from udf?
  #1
Leb
New Member
 
V.Leb
Join Date: Jun 2015
Posts: 8
Rep Power: 11
Leb is on a distinguished road
Hi,

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

Code:
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

Reply


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
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 22: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 16:14.