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

temperature and pressure dependent specific heat?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2012, 06:51
Default temperature and pressure dependent specific heat?
  #1
New Member
 
Join Date: Apr 2012
Posts: 1
Rep Power: 0
xechvol is on a distinguished road
How to add pressure dependence in DEFINE_SPECIFIC_HEAT?
I'm doing with plasma, Cp varies with T and P drastically.....
Thank you for any suggestion.
xechvol is offline   Reply With Quote

Old   April 5, 2012, 07:08
Default
  #2
Member
 
misagh
Join Date: Apr 2012
Posts: 64
Rep Power: 14
misagh is on a distinguished road
hi.im not sure.if it was dependent to only T it was easy.but now with T and P dependence i think UDF will work.
misagh is offline   Reply With Quote

Old   April 18, 2012, 13:16
Unhappy specific heat func. of temperature
  #3
New Member
 
OscarD
Join Date: Sep 2011
Posts: 4
Rep Power: 15
OscarD is on a distinguished road
I'm working with plasma modeling and require thermodynamic properties of argon as a function of temperature (at least, but it should also be pressure dependant).
I did a simple UDF for the specific heat, but it keeps giving me the same error once I try to initializate the calculation: "Warning: Incorrect Specific Heat value"

the UDF is:

DEFINE_SPECIFIC_HEAT(SpecHeat_Ar,T,Tref,h,yi)
{
real SpecHeat,a1,b1,c1,a2,b2,c2;
real x = T/1000.; /*input temp in kK*/
a1 =8.064;b1 =13.92;c1 =2.721;a2 =2.907;b2 =28.19;c2 =19.67;

SpecHeat = a1*exp(-pow(((x-b1)/c1),2.)) + a2*exp(-pow(((x-b2)/c2),2.));
SpecHeat=SpecHeat/1000.; /* the specific heat material property value is in [J/kg-K]*/

return SpecHeat;
}

I used similar eqs for thermal conductivity and viscosity. Does anybody what could be wrong?.

Thanks
OscarD is offline   Reply With Quote

Old   December 16, 2012, 03:10
Default
  #4
Senior Member
 
SSL
Join Date: Oct 2012
Posts: 226
Rep Power: 15
msaeedsadeghi is on a distinguished road
I have the same problem when injected particles get vaporized, the warning "incorrect specific heat value" occures.
Any solution?
msaeedsadeghi is offline   Reply With Quote

Old   December 18, 2012, 10:46
Default
  #5
Member
 
Join Date: Dec 2012
Posts: 92
Rep Power: 14
beer is on a distinguished road
Hi
I made a Service Request and Fluent answered that it is NOT possible to write an UDF with pressure-dependend Specific Heat right now. I hope they will change this in the future. I tried it on my own, DEFINE_PRPERTY works fine but DEFINE_SPECIFIC_HEAT is crap.
Use the USER FORTRAN in CFX
beer 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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 01:58
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56


All times are GMT -4. The time now is 14:33.