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

Divergence & Floating Point Error on using UDF

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 15, 2020, 03:53
Default Divergence
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Do you get divergence at the very first iteration? In that case, you need to ensure that all the denominators are non-zero and all the sources are comparatively small. Since you are using field values in the UDF, a good initial guess is also important. So, you may try running the solution for a few iterations before hooking the source UDFs.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

 


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
Divergence Problem Conjugated Heat Transfer Christoph.Ha FLUENT 27 December 5, 2017 10:46
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 16:08
[blockMesh] error EOF in blockMesh Ahmed Khattab OpenFOAM Meshing & Mesh Conversion 7 May 17, 2012 00:37
Primitive error at node- Floating point exception / continuity divergence issues phales15 FLUENT 0 April 30, 2011 19:05
divergence in AMG and floating point grzes FLUENT 0 February 17, 2006 13:22


All times are GMT -4. The time now is 09:33.