CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

How does StarCD calculate the Temperature?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 24, 2007, 07:44
Default How does StarCD calculate the Temperature?
  #1
Pete
Guest
 
Posts: n/a
Hello

Can anyone tell me how (formula!) the temperature rise during an adiabatic compression is calculated in StarCD 3.26 and which parameters are important! If i calculate the temperature rise by the follwing formula: dT=T*(dV/dT)*(1/cp)*dp

the results differ from the Temperature in the simulation!

Appreciate your Help!

Pete
  Reply With Quote

Old   October 24, 2007, 11:28
Default Re: How does StarCD calculate the Temperature?
  #2
Pauli
Guest
 
Posts: n/a
What is the error magnitude? Here are some ideas for small errors.

1) Are your walls adiabatic? The equation assumes they are.

2) Are you using variable gas properties? If so Cp will be different.

  Reply With Quote

Old   October 25, 2007, 03:34
Default Re: How does StarCD calculate the Temperature?
  #3
Pete
Guest
 
Posts: n/a
The compressed fluid is an oil with a cp=1860 (20C) The calculated Temperature Rise by the formula and described in some papers are: for a pressure rise of 4000 bar ==> dT=+50C

In the simulation: dp=4000bar ==> dT=+100C

The walls are defined adiabatic and use variable cp-properties as well as constant!

So i need to verify the dT=100C by some calculation!

Appreciate your help!

Thx Pete
  Reply With Quote

Old   October 25, 2007, 20:33
Default Re: How does StarCD calculate the Temperature?
  #4
Pauli
Guest
 
Posts: n/a
So your working fluid is a liguid & not a gas?

If so I'm not sure what equation you use or if StarCD will handle it correctly.

  Reply With Quote

Old   October 26, 2007, 02:43
Default Re: How does StarCD calculate the Temperature?
  #5
Pete
Guest
 
Posts: n/a
yes its a liquid...

  Reply With Quote

Old   October 26, 2007, 03:14
Default Re: How does StarCD calculate the Temperature?
  #6
Richard
Guest
 
Posts: n/a
If your working fluid is a liquid, does that mean you are using the constant density option? If so, STAR-CD is solving the energy equation rather than the enthalpy equation, and the specific heat which you need to input is cv, not cp. The error might then be that you are using a certain value as cp in your hand calculations and cv in STAR-CD.
  Reply With Quote

Old   October 29, 2007, 06:24
Default Re: How does StarCD calculate the Temperature?
  #7
Pete
Guest
 
Posts: n/a
No im using a user coding that defines the working fluid as a compressible medium by:

Density=Density(0)*(Kappa*dp)

Kappa=compressibility (e.c. for water: 5 E-10)

Can you tell me which formula StarCD uses in this case to calculate the temperature?
  Reply With Quote

Old   October 29, 2007, 08:24
Default Re: How does StarCD calculate the Temperature?
  #8
Richard
Guest
 
Posts: n/a
With densit, it is solving for enthalpy, so your specific heat is cp.
  Reply With Quote

Old   October 29, 2007, 09:46
Default Re: How does StarCD calculate the Temperature?
  #9
Pete
Guest
 
Posts: n/a
Yes, I calculated the Temperature rise with cp by:

dT=T*(dV/dT)*(1/cp)*dp

but which other effects are considered by StarCD, that would explain the higher Temperature in the calculation (Dissipation?,...)?

  Reply With Quote

Old   October 30, 2007, 06:59
Default Re: How does StarCD calculate the Temperature?
  #10
Richard
Guest
 
Posts: n/a
If you switch on the conservation checks in the info file, you can see the value of the terms in the enthalpy equation, so you should be able to work out where the difference comes from.
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please, who calculate the Bulk temperature emad FLUENT 0 December 17, 2008 13:40
how to calculate the temperature gradient of wall houbaolin FLUENT 0 July 28, 2008 02:51
Nu & Bulk temperature calculate Emad FLUENT 2 March 13, 2008 15:13
Bulk Temperature calculate Emad FLUENT 0 March 7, 2008 01:15
Calculate incoming temperature to a wall Javier Pérez FLUENT 0 April 25, 2006 08:30


All times are GMT -4. The time now is 04:54.