|
[Sponsors] |
Implementing a UDS for anisotropic diffusivity in FLUENT |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 25, 2019, 12:15 |
Implementing a UDS for anisotropic diffusivity in FLUENT
|
#1 |
New Member
Jasper Meeusen
Join Date: Oct 2018
Posts: 2
Rep Power: 0 |
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 07:28. |
|
Tags |
anisotropic diffusivity, udf define property, uds diffusivity, uds gradient of scalar |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDS and fluent internal species transport model | jinsong | FLUENT | 0 | May 3, 2018 12:37 |
[HELP]How to import an-Isotropic Mass Diffusivity in ANSYS Fluent? | swapnil313 | ANSYS | 0 | April 13, 2018 17:46 |
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 |