|
[Sponsors] |
December 12, 2020, 13:54 |
DEFINE_DIFFUSIVITY can not read UDMI?
|
#1 |
Member
|
Hi I have this short Code but it seems like I can not access the C_UDMI. Error: Not known Symbol "C_UDMI"
I have activated 3 CUDMs and I also compile the udf. Code:
DEFINE_DIFFUSIVITY(mydiff, c, t, i) { if (C_DUMI(c, t, 2) == 1.0) { return 1.0e-10; } else { return 2.95255e-05; } |
|
December 12, 2020, 15:25 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Read more carefully...
The error probably does not say UDMI, but DUMI. |
|
December 12, 2020, 15:27 |
|
#3 |
Member
|
It does say C_UDMI with the C_ in the error message.
|
|
December 12, 2020, 21:11 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
But your code does not use UDMI at all...
|
|
December 14, 2020, 01:58 |
|
#5 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
there should be no problem with code
Code:
#include "udf.h" DEFINE_DIFFUSIVITY(mydiff, c, t, i) { if (C_UDMI(c, t, 2) == 1.0) { return 1.0e-10; } else { return 2.95255e-05; } }
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FLUENT porous zone inputs | eishinsnsayshin | FLUENT | 19 | April 17, 2020 05:40 |
Modelling Combustion in Porous Zone | tanjinjack | FLUENT | 2 | September 26, 2016 05:10 |
how to define a porous media? | hoya yaho | FLUENT | 0 | June 23, 2015 09:08 |
local thermal non equilibrium model in porous media | adi.ptb | Fluent UDF and Scheme Programming | 0 | November 1, 2014 16:00 |
how to use UDF or method to define Boundary condition for Porous media in NLTE | hitchenxue | FLUENT | 0 | April 19, 2014 03:40 |