|
[Sponsors] |
how to simulate a "continuous" boundary in 2D fluent using UDF? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 28, 2016, 07:08 |
how to simulate a "continuous" boundary in 2D fluent using UDF?
|
#1 |
Member
Peter Aestas
Join Date: Dec 2013
Posts: 64
Rep Power: 12 |
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? |
|
|
|
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 |