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

Divergence in UDF for density case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2022, 03:01
Default Divergence in UDF for density case
  #1
Member
 
Sai Krishna
Join Date: May 2018
Posts: 37
Rep Power: 8
Sai Krishna is on a distinguished road
Hi All,
I have to simulate high pressure liquid flow with custom density equation. For this I am trying to validate my UDF approach. I considered ideal gas equation in a UDF and trying to compare the results with available ideal gas method in Fluent. Though UDF is not showing any error in interpretation, but simulation is diverging in no time. Changing the courant number and under relaxation factors just postponed the divergence.
I am attaching UDF and residuals pics of the same. Can anyone let me know what can be the issue in this?

Note: Actual eqn is the one which I need to incorporate finally

Thanks and regards.
Attached Images
File Type: jpg initial error.jpg (79.9 KB, 5 views)
File Type: png udf.png (6.1 KB, 5 views)
File Type: jpg final error.jpg (76.3 KB, 3 views)
File Type: png actual equation.png (68.1 KB, 4 views)
Sai Krishna is offline   Reply With Quote

Old   February 15, 2022, 02:53
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
check mesh quality
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   February 15, 2022, 04:06
Default
  #3
Member
 
Sai Krishna
Join Date: May 2018
Posts: 37
Rep Power: 8
Sai Krishna is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
check mesh quality
Thanks for the response @Alexander.
I have already simulated ideal gas model on the same mesh and it ran smoothly. Problem arising when Iam considering UDF.
Sai Krishna 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
UDf and divergence arslandogukanitu Main CFD Forum 0 December 13, 2018 08:08
UDF srivastava and sundaresan friction model - divergence of the solutor Luca_Panariello Fluent Multiphase 1 January 18, 2017 11:07
Fluent Radiation/porous media Schmitt pierre-Louis FLUENT 26 September 1, 2016 11:29
Divergence in non-Newtonian fluid UDF moabdi FLUENT 0 June 23, 2016 12:30
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03


All times are GMT -4. The time now is 22:15.