|
[Sponsors] |
Possible to Access Cmu for the k-e realizable model in UDF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2021, 02:18 |
Possible to Access Cmu for the k-e realizable model in UDF
|
#1 |
New Member
Brad
Join Date: Feb 2021
Posts: 3
Rep Power: 5 |
Hi all;
I was wondering if it was possible to access the varaible Cmu for the k-e realizable model in a UDF. I have read that M_keCmu should be accessable to all UDF, but when compiling I get this error: error C2065: 'M_keCmu': undeclared identifier Is there a header file that I am missing? I intend to modify the turbulent viscosity, need access to the Cmu varaible. I look forward to your responses. Regards |
|
March 18, 2021, 00:43 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
don't have experience with modifying turbulence model variables, but
M_keCmu is defined in turb_ke.h file infolder: \ANSYS Inc\vxxx\fluent\fluentxx.x.x\src\turbulence as far as I know, you don;t need anything else but default #include "udf.h" in the very begging of code, not sure, why it doesn't work
__________________
best regards ****************************** press LIKE if this message was helpful |
|
March 18, 2021, 01:52 |
|
#3 |
New Member
Brad
Join Date: Feb 2021
Posts: 3
Rep Power: 5 |
Thank you
AlexanderZ I figured out the issue, for fluent v19.5 (and I assume for later versions as well) M_keCmu is replaced with GVAR_TURB(coeff, ke_Cmu). |
|
Tags |
cmu, k-e realizable, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for improved coal devolatilization model in fluent(devolatilization ) | magic0801 | Fluent UDF and Scheme Programming | 3 | May 23, 2023 06:18 |
UDF Cmu change | selçuk ataş | FLUENT | 2 | July 19, 2017 13:24 |
How to use the degassing UDF for VOF model in Fluent? | qingyang | Fluent UDF and Scheme Programming | 0 | July 11, 2016 13:42 |
UDF for linear PTT model implementation | dpitz | Fluent UDF and Scheme Programming | 1 | February 4, 2011 11:08 |
UDF Data Access Macro | Woo Meng Wai | FLUENT | 0 | November 6, 2007 21:23 |