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

3 functions for specific heat capacity in solid material

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2016, 19:46
Default 3 functions for specific heat capacity in solid material
  #1
New Member
 
Join Date: Oct 2016
Posts: 12
Rep Power: 10
Pyotr is on a distinguished road
Hi everyone,


I need to insert 3 functions for Specific Heat Capacity related to 3 different temperature ranges in a solid material.


Here are the functions:


5.81E+2[J kg^-1 K^-1], for Temperature < 533.3[K]




-2.96E+3[J kg^-1 K^-1]+1.50E+1[J kg^-1 K^-2]*Temperature-2.33E-2[J kg^-1 K^-3]*Temperature^2+,1.64E-5[J kg^-1 K^-4]*Temperature^3-4.40E-9[J kg^-1 K^-5]*Temperature^4, for 533.3[K] <=Temperature < 1088.9[K]




4.14E+2[J kg^-1 K^-1]+8.63E-1[J kg^-1 K^-2]*Temperature-6.14E-4[J kg^-1 K^-3]*Temperature^2+2.09E-7[J kg^-1 K^-4]*Temperature^3-2.70E-11[J kg^-1 K^-5]*Temperature^4, for 1088.9[K] <= Temperature < 2200[K]


Is it possible? If so, how?


Thanks!
Pyotr is offline   Reply With Quote

Old   November 3, 2016, 03:03
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Have you tried nested if statements?

if(T< 533[K],first expression,if(T<1088[K], second expression, if(T<2200[k], third expression,#)))
where # is the value for Cp above 2200 [K]
Lance is offline   Reply With Quote

Old   November 3, 2016, 03:04
Default
  #3
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 12
urosgrivc is on a distinguished road
Yes, this can be simply done by expressions.

I would first make an (if) sentence that would chose in what sector the temperature is either(S1,S2,S3)
like this:

sector selector=...if(T<533[K],S1,if(T<1088[K],S2,S3)) [J kg^-1 K^-1]

than write three expresions for sectors:

S1=....your equation dependant on (T)
S2=....-ll-
S3=....-ll-

Than you set the, here called sector selector expression as a material property for heat capacity.

hehe it seems that lance and I were both tiping the same thing at the same time
urosgrivc is offline   Reply With Quote

Old   November 3, 2016, 21:45
Default
  #4
New Member
 
Join Date: Oct 2016
Posts: 12
Rep Power: 10
Pyotr is on a distinguished road
Lance and urosgrivc, thank you very much!
Pyotr is offline   Reply With Quote

Old   November 9, 2016, 17:53
Default
  #5
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
First of all, you will most likely need to include more significant digits when using higher polynomial expressions like that.

Second, another way to do this would be just using a user interpolation function, like a table of temperatures and values for specific heat.
evcelica is offline   Reply With Quote

Old   November 14, 2016, 06:23
Default
  #6
New Member
 
Join Date: Oct 2016
Posts: 12
Rep Power: 10
Pyotr is on a distinguished road
Thank you, evcelica
Pyotr 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
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
error message cuteapathy CFX 14 March 20, 2012 07:45
No results for solid domain Gary Holland CFX 10 March 13, 2009 04:30
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 7, 2008 00:17


All times are GMT -4. The time now is 13:16.