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

multiphase cell and face temperature

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2020, 10:50
Default multiphase cell and face temperature
  #1
New Member
 
SAJA AL-RIFAI
Join Date: Feb 2020
Posts: 11
Rep Power: 2
sajaalrifai is on a distinguished road
hello,
I wrote a UDF to calculate face and cell temperature and use it to adjust some of the values using the Adjust function. In my case I have mixture of gases including the water vapor (phase 1) and water liquid (phase 2). My UDF should loop over the phase 1 to calculate condensation of water vapor on a solid wall using a specific functions. however, the problem is the cell temperature and face temperature is very high and I have very low condensation, when I go to Ansys results and calculate the surface temperature (average, maximum, and minimum) on the same wall, I got a very satisfied results and within the range of what I need to condensate the water vapor compared to the one calculated by the UDF.
is the UDF calculate the temperature of the water vapor at that wall and its shadow?
part of my UDF code (this part inside the adjust function):
:
:

....

mp_thread_loop_f(tf, mixture_domain, pt)

if (DOMAIN_ID(tf) == 2) /*ID for mixture of gas phase 1*/

{

begin_f_loop(f,tf)
{
tc = THREAD_T0(tf);

c = F_C0(f,tf);

pt = THREAD_SUB_THREADS(tc);
ti = pt[0];

cell_temp = C_T(c,ti); /*very high compared to the wall temperature wall */
wall_temp = F_T(f,tf); /*same very high*/

}
.....
:
:
sajaalrifai is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 1 May 19, 2017 10:13
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


All times are GMT -4. The time now is 05:10.