CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF for creating adjacent threads

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2020, 12:11
Default UDF for creating adjacent threads
  #1
New Member
 
Rodrigo Villarreal
Join Date: Nov 2016
Posts: 29
Rep Power: 10
rodrigovime is on a distinguished road
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
Attached Images
File Type: png Presentación1.png (23.9 KB, 7 views)
rodrigovime is offline   Reply With Quote

Old   November 3, 2020, 23:37
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
if geometry is simple, you may check coordinates of cell
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
fluent - udf, udf and programming, udf macro usage


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:42.