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

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 31, 2019, 07:29
Default 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!
jappie132 is offline   Reply With Quote

Reply

Tags
anistropic, udf, uds


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 diffusivity for Joule Heating problem redwanamit034 Fluent UDF and Scheme Programming 3 December 26, 2022 04:38
UDS and fluent internal species transport model jinsong FLUENT 0 May 3, 2018 12:37
Diffusivity UDF in Fluent max.kozak Fluent UDF and Scheme Programming 0 April 4, 2018 20:16
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56
Compiling and linking UDS in FLUENT 4.5 Raja Banerjee FLUENT 1 August 3, 2000 01:07


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