CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Dilatation disspation correction to to k-epsilon

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 10, 2013, 10:31
Default Dilatation disspation correction to to k-epsilon
  #1
New Member
 
Tatu Pinomaa
Join Date: Oct 2012
Location: Finland
Posts: 16
Rep Power: 4
tatu is on a distinguished road
Hello!

I'm using OF 2.1.1 and I'm trying to include a compressibility correction (dilatation dissipation) term to the k equation of the compressible RNG k-epsilon model. For this term I need the local speed of sound of the gas. Therefore, I need the pressure, temperature, and heat capacity of the (multispecies) gas I'm studying. What would be the easiest way to access these properties in the compressible RNG k-epsilon code?

So the speed of sound would be something like this:
volScalarField c = sqrt(thermo.Cp()/(thermo.Cp()-rPsi/T)*rPsi);
where rPsi = 1/psi = p/rho.
(rho is already available in the code).

Tatu
tatu is offline   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
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 13 November 4, 2013 15:13
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
Calculation of k and epsilon freezes Nigirim OpenFOAM Running, Solving & CFD 1 November 14, 2012 08:52
epsilon and K blowing up. sivakumar OpenFOAM Running, Solving & CFD 1 October 25, 2012 04:50
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 21:21


All times are GMT -4. The time now is 05:09.