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

Implementing a UDS for anisotropic diffusivity in FLUENT

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2019, 11:15
Question Implementing a UDS for anisotropic diffusivity in FLUENT
  #1
New Member
 
Jasper Meeusen
Join Date: Oct 2018
Posts: 2
Rep Power: 0
jappie132 is on a distinguished road
I am trying to implement the following UDF in my model in FLUENT. ( I have very limited knowledge of UDF coding).
------------------------------------

#include "udf.h"
DEFINE_ANISOTROPIC_DIFFUSIVITY (gamma_DalyHarlow, c, t, i, dmatrix)
{
real Cth = 0.3;
real k = C_K(c,t); real eps = C_D(c,t);
real LAMBDA= C_K_L(c,t);
real CP = C_CP(c,t);
real RHO = C_R(c,t);

dmatrix[0][0] = LAMBDA/CP+RHO*Cth*k/eps*C_RUU(c,t);
dmatrix[1][1] = LAMBDA/CP+RHO*Cth*k/eps*C_RVV(c,t);
dmatrix[0][1] = RHO*Cth*k/eps*C_RUV(c,t);
dmatrix[1][0] = dmatrix[0][1];
}
------------------------------------

After implementation, according to the ANSYS UDF manual for the ANISOTROPIC_DIFFUSIVITY macro, ( interpreting this UDF - introducing a UDS - load UDS as new additional material property) an error appears.

Using ANSYS FLUENT 18.2, the error is as follows:

"node 0 process 24008: Received Signal SIGSEGV -

MPI application rank 0 exited before MPI_Finalize() with status 2 "

I tried running the model in serial mode instead of parallel, however, the error remained.

Does anybody have a suggestion? Thanks a million!

Last edited by jappie132; January 31, 2019 at 06:28.
jappie132 is offline   Reply With Quote

Reply

Tags
anisotropic diffusivity, udf define property, uds diffusivity, uds gradient of scalar


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
UDS and fluent internal species transport model jinsong FLUENT 0 May 3, 2018 11:37
[HELP]How to import an-Isotropic Mass Diffusivity in ANSYS Fluent? swapnil313 ANSYS 0 April 13, 2018 16:46
Diffusivity UDF in Fluent max.kozak Fluent UDF and Scheme Programming 0 April 4, 2018 19:16
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 22:56
Compiling and linking UDS in FLUENT 4.5 Raja Banerjee FLUENT 1 August 3, 2000 00:07


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