
[Sponsors] 
September 20, 2019, 06:06 
Setting real gas properties

#1 
Member
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 5 
Dear all,
I am stuck to a problem from last 4 months and my results follow the trends in paper but with 6070% error. I am doing methane steam reforming (MSR) using CEL expressions. Inlet conditions use bot velocity and pressure but we can use one at a time. To counter this I was using CEL expression to put pressure in partial form. MSR mixture has methane, CO,CO2,H2,H2O and N2. Arr*((max(102 [kPa],pabs*my.CH4.molf))^0.47)*((max (102 [kPa],pabs*my.H2O.molf))^0.01). But post result pressure contour were like E1 Pa max value though pabs is 1 bar. The paper clearly states that it is ideal mixture. But yesterday, when i chose non ideal/real gas the option of mixture pressure appears. However, by random values of dP/dV and dP/dT (maxwell's partial equations) I cannot start simulation. I would appreciate: 1. A good link to study this maxwell's partial equations 2. What will be the guess value to start the simulation. 

September 20, 2019, 07:55 

#2 
Senior Member
Join Date: Jun 2009
Posts: 1,560
Rep Power: 28 
May I ask what you meant by
"However, by random values of dP/dV and dP/dT (maxwell's partial equations) I cannot start simulation." Random values? It would be great if you take a look in a thermodynamics textbook about Maxwell relationships, and understand the intricate connection between all the properties. It is definitely not random; therefore, those values must be specific to the material and equation of state you are working with. Anything else will be thermodynamically inconsistent. 

September 20, 2019, 08:03 

#3  
Member
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 5 
Quote:
I am going through a lecture now. I can post its youtube link if its not against forum rules. thank you 

September 20, 2019, 11:30 

#4 
Senior Member
Join Date: Jun 2009
Posts: 1,560
Rep Power: 28 
"I am going through a lecture now."
Please do. Set yourself an example, by writing the ideal gas equation and the corresponding relationships, i.e. write the derivatives being asked for in the software. Evaluate them and get a feeling for the order of magnitudes implied by that equation of state. For the particular material used, try to visualize the thermodynamic surface and see what those slopes mean and how they vary for that specific material. It matters on which part of the thermodynamic space (P,v,T) you are in. Handling real gas equations requires quite a bit of expertise and thermodynamics knowledge, and mixtures of real gases are another level above that. If you are not satisfied/convinced by the solution using ideal gas, or ideal mixture, you must know in advance what your goal is when jumping to real gases. 

September 24, 2019, 09:30 

#5  
Member
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 5 
Quote:
Additional question: How can we select compressible/incomprehensible option in CFX? My density varies in domain but where Temperature varies (793632K). So is my flow compressible? Regards Last edited by Goenitz; September 24, 2019 at 09:41. Reason: additional question 

September 24, 2019, 13:06 

#6 
Senior Member
Join Date: Jun 2009
Posts: 1,560
Rep Power: 28 
You said
"As earlier I mentioned I wanted to add both speed and P as inlet condition but cannot, " Unless your flow is supersonic at the inlet, you cannot nor do want to set both variables. The setup becomes illposed. The material selection determines if the model is compressible or incompressible. It is not an explicit user option, and it should not be. Say you select a variable density material, and able to force the equations into incompressible, the solution will be WRONG if it converges (unlikely) 

Tags 
cel, maxwell equations, non ideal mixture 
Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
need therm.dat file for ECFM3Z Combustion model  ankitraut27  CONVERGE  8  July 2, 2019 12:34 
heterogenous Model of a fixed bed Reactor  Jul_Z  FLUENT  2  November 2, 2016 08:28 
Problems in air flow udf  divergence  PJT  Fluent UDF and Scheme Programming  0  May 28, 2013 10:01 
reference pressure and relative pressure in CFX and real gas setting  nuimlabib  Main CFD Forum  0  October 12, 2010 20:55 
defining a term for a domain using DEFINE_ADJUST  MASOUD  Fluent UDF and Scheme Programming  1  September 24, 2010 05:08 