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

Temperature dependent on one phase problem.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2016, 13:38
Default Temperature dependent on one phase problem.
  #1
New Member
 
Apiano Morais
Join Date: Apr 2016
Posts: 10
Rep Power: 9
Apiano is on a distinguished road
Hi guys...

I am trying to fix the temperature of one phase of the mixture with this compiled UDF. However there is a segmentation fault when I use C_VOF that I really do not understand. My case has a solid domain and a fluid domain. Can anyone give me some light? Thanks.


#include "udf.h"

DEFINE_PROFILE(fixed_temp,t,i)
{
cell_t c;
real temp;
begin_c_loop(c,t)
{
temp = 300.*C_VOF(c,t);
C_T(c,t) = temp;
}
end_c_loop(c,t)
}
Apiano 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
Fixed temperature for one phase in VOF Apiano Fluent UDF and Scheme Programming 2 April 26, 2016 09:14
Problem with Turbulent Heat Flux Temperature boundary condition Manuel CFD OpenFOAM Running, Solving & CFD 11 March 17, 2016 15:12
the problem that gradually change of temperature contour in coal gasification bluenail FLUENT 0 November 10, 2014 02:41
Indoor Air Temperature distribution - convergence problem Shogan FLUENT 4 May 8, 2014 02:07
Eliminating exchange energy between phase in Granular Temperature diff eqn. cfdbusiness FLUENT 0 February 2, 2010 22:30


All times are GMT -4. The time now is 00:38.