|
[Sponsors] |
Implementing a UDS for anisotropic diffusivity in FLUENT |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 31, 2019, 07:29 |
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! |
|
Tags |
anistropic, udf, uds |
|
|
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 |