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

values stored in UDM are different from their original values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2021, 23:22
Default values stored in UDM are different from their original values
  #1
Member
 
xingangzheng
Join Date: Jul 2009
Posts: 37
Rep Power: 16
ustbdynamic is on a distinguished road
Hello,
Now I come across a strange phenomenon that the values or variables distribution stored in UDM are different from their original.

I am debugging a multiphase reaction using Euleran model (gas-solid granular flow, 2 phases). It's always wrong this time. So the reaction source is set to 0 and several UDMs are placed inside the DEFINE_HET_RXN_RATE. The results show that some values stored in UDMs are different from their original value.

Have you guys ever encountered this phenomenon.
How does it happen? And is it reliable to call values in this way during Euleran multiphase simulation.

Thank you very much.

The udf and comparisions are shown below.

DEFINE_HET_RXN_RATE(debug,c,t,hr,mw,yi,rr,rr_t)
{

Thread *tp,*ts ;

ts= THREAD_SUB_THREAD(t,1);
tp= THREAD_SUB_THREAD(t,0);


C_UDMI(c,t,31)= C_T(c,tp);// gas temperature
C_UDMI(c,t,33)= C_T(c,ts); //solid temperature

C_UDMI(c,t,28)= C_R(c,tp); // gas density
C_UDMI(c,t,26)=C_YI(c,ts,2);

*rr = 0.0;

}
Attached Images
File Type: jpg Gas-T.JPG (118.4 KB, 2 views)
File Type: jpg Solid_T.JPG (123.5 KB, 0 views)
File Type: jpg Gas_denisity.JPG (112.9 KB, 0 views)
ustbdynamic is offline   Reply With Quote

Old   October 28, 2021, 02:37
Default
  #2
Member
 
xingangzheng
Join Date: Jul 2009
Posts: 37
Rep Power: 16
ustbdynamic is on a distinguished road
The problem has been solved.
The reason maybe from switching between different versions. The original cas and data is established by Version 2020. When it is reopened by version 15, there is some unpredictable chaos. Be carefully open the files (generated from high version) with a lower version.

But it must note that there is still some tiny differences between the UDM and it's twin value, when rebuild by Fluent 15. The differences may have minor impact on the calculation.
ustbdynamic 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
Segmentation violation louiza FLUENT 16 June 27, 2017 15:41
Numerical errors in nested domain with pre-calculated boundary values Arnoldinho OpenFOAM Running, Solving & CFD 3 April 4, 2012 10:31
UDS stored to UDM do not show the same values swati_mohanty FLUENT 0 December 3, 2010 03:46
how to access stored values og gradients of scalars in star ccm imamazaidi STAR-CCM+ 0 January 7, 2010 16:33
Retrieving the values stored in UDM Sri FLUENT 2 March 1, 2007 16:48


All times are GMT -4. The time now is 23:08.