
[Sponsors] 
Porous domain energy calculation and specific heat capacity temperature dependent 

LinkBack  Thread Tools  Display Modes 
November 28, 2017, 12:27 
Porous domain energy calculation and specific heat capacity temperature dependent

#1 
Member
VB
Join Date: Jul 2016
Posts: 35
Rep Power: 4 
Hello people,
I have a simple model where porous domain is inbetween two fluid domains. Hot fluid is given as Input. I am using Specific heat capacities for fluid and solid material in porous domain to be temperature dependent. Also the density of fluid is temperature dependent. Energy calculation formula used 'Integral over (mass_flow*C_p*DeltaT )dt. Is there a way to calculate C_p for each cell?(in ansys cfx pre or post). The opearating temperature range is about 800°C, so I do not want to take single average C_p value as it varies quite significantly between the temp range and compromises the Energy calculation. In function Calculator I tried Function:volumeInt , Location: porous, Variable:Specific Heat Capacity at Constant Pressure. What volumeInt(SHC)@Domain returns actually? Ultimately I need to calculate Energy in porous region/solid, where it is calculated using C_p that is temperature dependent. Any suggestion? 

November 28, 2017, 16:29 

#2 
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,890
Rep Power: 114 
In the material model make Cp/specific heat a function of temperature. It is simple as that. But be aware that if you are specifying density as well you need to make it thermodynamically consistent across the temperature range.


November 28, 2017, 16:45 

#3  
Member
VB
Join Date: Jul 2016
Posts: 35
Rep Power: 4 
Quote:
I have completed my simulation run using C_p of Porous domain as temperature dependent(C_p is temperature dependent for both solid and fluid materials in porous). I need the formula 'Integral over (mass_flow*C_p*DeltaT )dt for Energy calculation in porous domain where C_p is not constant. To put in other way, Is there a way to access C_p during each iteration/each node so that energy of total porous domain is calculated at each time step or at the end of simulation, either one is fine? 

November 28, 2017, 16:54 

#4 
Senior Member
Join Date: Jun 2009
Posts: 800
Rep Power: 17 
Not clear what you are trying to compute?
When working with varying specific heat capacities, you are better off using energy quantities directly than simplified formulas unless you want to keep the thermodynamics consistency yourself. For example, the integral over volume of static enthalpy, i.e. volumeInt ( density * static enthalpy)@Volume of Interest 

November 28, 2017, 17:06 

#5  
Member
VB
Join Date: Jul 2016
Posts: 35
Rep Power: 4 
Quote:


November 28, 2017, 17:12 

#6  
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 765
Rep Power: 14 
Quote:
Ways to get around this include: Use the Boussinesq approximation for buoyant flow, Use the ideal gas model, Use a real gas model Use an RGP table. You can get some weird stuff happening with the energy equations if you specify both density and Specific heat and functions of temperature. 

November 28, 2017, 17:25 

#7  
Member
VB
Join Date: Jul 2016
Posts: 35
Rep Power: 4 
Quote:


November 29, 2017, 04:29 
VolumeInt , Energy

#8  
Member
VB
Join Date: Jul 2016
Posts: 35
Rep Power: 4 
Quote:


November 29, 2017, 10:15 

#9 
Senior Member
Join Date: Jun 2009
Posts: 800
Rep Power: 17 
What is the reference temperature of the solid material definition?
Static Enthalpy = Integral from Tref to T of (Cp dT). It is only Static Enthalpy = Cp * (T  T_ref) uniform Cp Simplicity is plagued by the assumptions along the way. Assumptions are usually forgotten or implied and violated. 

November 29, 2017, 13:24 

#10 
Member
VB
Join Date: Jul 2016
Posts: 35
Rep Power: 4 
I formula volumeInt(density*Static Enthalpy)@domain worked. I am able to arrive the Energy in Joules. I have some other problem will post as new thread.


Tags 
energy function, integral computing, porous domain, specific heats, temperature dependent 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
JANAF Coefficient of Air for Specific Heat Calculation. rhoCentralFoam  cyril2304  OpenFOAM Running, Solving & CFD  1  October 8, 2017 07:44 
Calculation of the Governing Equations  Mihail  CFX  7  September 7, 2014 06:27 
poor calculation with temparturedependant specific heat  ryanmoser  FLUENT  3  January 3, 2013 01:32 
CFX doesn't continue calculation...  mactech001  CFX  6  November 15, 2009 21:25 
air bubble is disappear increasing time using vof  xujjun  CFX  9  June 9, 2009 07:59 