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

[REQUEST HELP] Fluent 15.0 using NIST real gas model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2015, 11:00
Default [REQUEST HELP] Fluent 15.0 using NIST real gas model
  #1
New Member
 
Xavier
Join Date: Mar 2015
Posts: 4
Rep Power: 11
Reivax is on a distinguished road
Hi,
I'm encountering a problem in my simulation while using the NIST real gas model in Fluent 15.0. I'm trying to simulate a flow in a cooling channel using the following model :

  • COOLANT
    liquid hydrogen from the NIST database
    velocity: 40 m/s
    Pressure: 26 MPa
    Temperature: 52.4K
  • TEMPERATURE OF THE WALLS
    Inner Wall: 270K (constant)
    Outer Wall: 700K (constant)
    Side Wall: I use an udf to make a linear variation of the temperature from one edge to the other
    Code:
    #include "udf.h"
    
    DEFINE_PROFILE (gradient_temp1,t,i)
    {
    	real x[ND_ND];
    	real y;
    	face_t f;
    
    	begin_f_loop (f,t)
    		{
    			F_CENTROID(x,f,t);
    			y = x[0];
    			F_PROFILE(f,t,i) = -156193.2437*y - 7572.6189;
    		}
    	end_f_loop (f,t)
    }
    
    DEFINE_PROFILE (gradient_temp2,t,i)
    {
    	real x[ND_ND];
    	real u;
    	face_t f;
    
    	begin_f_loop (f,t)
    		{
    			F_CENTROID(x,f,t);
    			u = sqrt(x[0]*x[0]+x[1]*x[1]);
    			F_PROFILE(f,t,i) = 156193.2437*u - 7572.6189;
    		}
    	end_f_loop (f,t)
    }
    
    DEFINE_PROFILE (gradient_temp3,t,i)
    {
    	real x[ND_ND];
    	real v;
    	face_t f;
    
    	begin_f_loop (f,t)
    		{
    			F_CENTROID(x,f,t);
    			v = x[0];
    			F_PROFILE(f,t,i) = 156193.2437341082*v - 7572.6189;
    		}
    	end_f_loop (f,t)
    }

My problem is that when I try to run the calculation it crashes after a few iterations, returning theses messages in the console :


I've run another simulation without any problem using the NIST database but with a constant temperature of 500K for every wall. But this one keep crashing, does anyone has a clue on what might be the problem here ?
If you need more information to solve my problem, please ask.
Reivax 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
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 22:56
Peng Robinson Real Gas Model cfd seeker CFX 1 September 30, 2013 18:20
Weighted Sum of Gray Gas Model (WSGGM) in FLUENT anthony05 Fluent UDF and Scheme Programming 0 July 15, 2013 00:07
Question about Real gas model for refrigerant in Fluent ddqp FLUENT 0 March 21, 2011 21:38


All times are GMT -4. The time now is 01:20.