|
[Sponsors] |
November 3, 2020, 12:11 |
UDF for creating adjacent threads
|
#1 |
New Member
Rodrigo Villarreal
Join Date: Nov 2016
Posts: 29
Rep Power: 10 |
Hello
I'm trying to assign the temperature of the second layer of cells to the cells adjacent to a wall to improve convergence (like in the image attached). For now, I can get the temperature of the cells next to the wall, but I'm unable to create the thread next to the "1st layer" using the THREAD_T0() macro. Is there a way to retrieve info of cells located arbitrarily within the domain? Or there is a special procedure to create threads inside the fluid domain? Thanks for reading |
|
November 3, 2020, 23:37 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
if geometry is simple, you may check coordinates of cell
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
fluent - udf, udf and programming, udf macro usage |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use UDF about adjacent cell ? | JuBong | FLUENT | 2 | February 2, 2018 04:16 |
Replicating Scalable Wall Function with a UDF | yousefaz | FLUENT | 0 | August 4, 2017 03:30 |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
Inquire adjacent threads error | Rupp Carriveau | FLUENT | 2 | February 8, 2015 12:16 |
Source Term UDF VS Porous Media Model | pchoopanya | Fluent UDF and Scheme Programming | 1 | August 28, 2013 07:12 |