Post reply

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: infocfd
« on: September 24, 2020, 05:16:28 PM »

Thank you!
Posted by: william
« on: September 24, 2020, 04:50:32 PM »

Hi,
You can access the interphase mass transfer rate using the following macro:

C_STORAGE_R_XV(cell,mixture_thread,SV_MASS_TRANSFER,k-1)

k in the above macro is the mass transfer mechanism number, which can be found from phase interaction panel in fluent. The number in the mass transfer mechanism before the 'From Phase', 'To Phase' option is the mass transfer mechanism number.

And if you are looking for a UDF, the following code illustrates the example:

The UDF is used to store the cavitation mass transfer rates in a UDM location.

#include "udf.h"
#define k 1
DEFINE_ADJUST(mass_transfer_access,d)
{
cell_t c;
Thread *t;
thread_loop_c(t,d)
begin_c_loop(c,t)
C_UDMI(c,t,0) = C_STORAGE_R_XV(c,t,SV_MASS_TRANSFER,k-1);
end_c_loop(c,t)
}

Posted by: infocfd
« on: September 24, 2020, 04:46:00 PM »

I need to access the inter-phase mass transfer rate using a UDF in Fluent for further processing. Is there any macro or other method in fluent to access that?

Thank you in advance.