|
[Sponsors] |
values stored in UDM are different from their original values |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 27, 2021, 23:22 |
values stored in UDM are different from their original values
|
#1 |
Member
xingangzheng
Join Date: Jul 2009
Posts: 37
Rep Power: 16 |
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; } |
|
|
|
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 |