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

how to simulate a "continuous" boundary in 2D fluent using UDF?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2016, 07:08
Default how to simulate a "continuous" boundary in 2D fluent using UDF?
  #1
Member
 
Peter Aestas
Join Date: Dec 2013
Posts: 64
Rep Power: 13
aestas is on a distinguished road
Hi everybody,

recently i have been working on a problem. The model is in the picture below.
???.jpg
i am trying to simulate a "continuous" heating in 2D. The heat source periodically moves from the left side to right side, and most important of all, the wall of the left side and the right side should be continuous(which is like periodically heating on a ring-shaped zone.)

The method i have tried is:
To simulate a "continuous" boundary, i try to set the face temperature of the left side and the right side to be the same by using DEFINE_ADJUST and DEFINE_PROFILE.
1. first i used DEFINE_ADJUST to get the temperature on both sides, and store them to to arrays, l_temp[],and r_temp
2. i compare the temperature of the corresponding positions on both size and choose the higher one, and store them to another arrays. T_profile
3. Using DEFINE_PROFILE Macro,set T_profile to be the boundary conditions on both sides. (set the wall boundary condition to be temperature)

i also tried heat flux as the wall boundary condition
(set flux=( l_temp-r_temp)/h), h is the mesh width for each cell.


The result:
By the boundary condition setting above, the right and left side were still not so "continues", especially when the heat source moved to the boundary(the temperature of cells near the left and right side are quite smaller with other part of the model).

Do you have any better ideas to achieve this?
aestas is offline   Reply With Quote

Reply


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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Fluent udf F_PROFILE setting different boundary conditions for different faces syble Fluent UDF and Scheme Programming 0 March 31, 2016 00:35
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00


All times are GMT -4. The time now is 21:30.