|May 10, 2013, 10:31||
Dilatation disspation correction to to k-epsilon
Join Date: Oct 2012
Posts: 16Rep Power: 6
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).
|Thread||Thread Starter||Forum||Replies||Last Post|
|SimpleFoam k and epsilon bounded||nedved||OpenFOAM Running, Solving & CFD||15||December 2, 2016 03:40|
|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|